Extract Files Embedded Within Go Binaries ( Go Embeds.)
- Python 3.10
Binary Format | ELF |
Endianess | LE, BE |
- Please obtain the address of the embed structure by using a appropriate debugger first!
usage: gembe.py [-h] [--extract | --no-extract] [--output o] bin_name struct_addr
Extract Embedded Files From Go Binaries.
positional arguments:
bin_name Name of the binary to inspect
struct_addr Address of the embed struct
options:
-h, --help show this help message and exit
--extract, --no-extract
Whether to extract the contents (default: False)
--output o Where to store the extracted contents