Skip to content

BreakOnCrash/go-embed-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-embed-extractor

go-embed-extractor is a lightweight Go tool for extracting files embedded in Go binaries using the embed package. It provides a simple way for developers and reverse engineers to analyze and recover embedded static resources, such as HTML, CSS, images, or other files.

Features

  • Extract embedded files from Go binaries.
  • Supports multiple architecture files (MachO, ELF, PE).
  • Option to save extracted files to a specified directory.

Basic Usage

  1. Use some decompilation tools to obtain the embed.FS structure virtual address.

  1. Extract embedded files from a Go binary:
gee -target -target ./tests/embedemo_macho -vaddr 0x00000001000EAA00

References

About

Extract go-binary embedded files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published