Skip to content

BreakOnCrash/go-embed-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 11, 2025
1b64ae3 · Apr 11, 2025

History

4 Commits
Apr 10, 2025
Apr 10, 2025
Apr 10, 2025
Apr 10, 2025
Apr 10, 2025
Apr 11, 2025
Apr 11, 2025
Apr 10, 2025
Apr 10, 2025

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