Extract Files Embedded Within Go Binaries ( Go Embeds.)
Read this post for more information.
- Python 3.10
Binary Format | ELF |
Endianess | LE, BE |
- Extracting files from the gorgon stresser: https://rt-solar.ru/solar-4rays/blog/4690/
- Please obtain the address of the embed structure by using a appropriate debugger first! (read this for more information)
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