Skip to content

ESP offset should be 0x08 to get the environment variables

PoroCYon requested to merge master into master
cat /usr/bin/env | lzma ... > env_compressed
cat vondehi env_compressed > env_packed
chmod +x env_packed

compare ./env_packed and env and there will be a difference.

of course, adding any arguments breaks it again, but imo for demos it is more important to preserve envs when there are no args...

Merge request reports