Skip to content
A tool to find the memory address of an environment variable in a binary
C
Branch: master
Clone or download
historypeats
historypeats Update README.md
Latest commit 84651ad Jun 23, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Jun 23, 2015
getenvaddr.c Initial Commit May 21, 2015

README.md

getenvaddr

A tool to find the memory address of an environment variable in a binary. This can be useful for exploit development when storing your payload in an environment variable.

Note: This is taken from the book Hacking: The Art of Exploitation.

Usage

hp@machine$ ./getenvaddr SHELL somebinaryfile
SHELL will be at 0xffffd730
You can’t perform that action at this time.