Skip to content

Primer on a process accessing an embedded appended ZIP via libarchive

Notifications You must be signed in to change notification settings

vadimkantorov/zipsfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This example takes advantage that ZIP appended to ELF is both a valid ELF and ZIP. I use libarchive to scan the process file and then use either mmap or fread to open the entries embedded in the ZIP.

make zipsfx
make zipsfx.zip
make zipsfxzip

./zipsfx
./zipsfxzip
./zipsfxzip Makefile

About

Primer on a process accessing an embedded appended ZIP via libarchive

Topics

Resources

Stars

Watchers

Forks