Last active
May 12, 2018 06:23
-
-
Save picatz/b486fcbb748c33b1b7d5c9d243f96fd8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"debug/pe" | |
"fmt" | |
) | |
func main() { | |
f, _ := pe.Open("sample.exe") | |
for _, section := range f.Sections { | |
fmt.Printf("%+v\n", section.SectionHeader.Name) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment