Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • V vondehi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • PoroCYon
  • vondehi
  • Merge requests
  • !2

ESP offset should be 0x08 to get the environment variables

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged PoroCYon requested to merge master into master Apr 04, 2019
  • Overview 1
  • Commits 1
  • Changes 1
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...

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master