messede-degod / Gembe

Tool to extract Go Embeds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gembe

Extract Files Embedded Within Go Binaries ( Go Embeds.)

Requirements

  • Python 3.10

Support

Binary Format ELF
Endianess LE, BE

Usage

  • 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

About

Tool to extract Go Embeds


Languages

Language:Python 100.0%