Skip to content

Instantly share code, notes, and snippets.

@voncay
Created December 3, 2016 16:56
Show Gist options
  • Save voncay/28b0332befa76cb4fa956ed6999d9f31 to your computer and use it in GitHub Desktop.
Save voncay/28b0332befa76cb4fa956ed6999d9f31 to your computer and use it in GitHub Desktop.
/* shellcodeaddress.c */
#include <unistd.h>
#include <stdio.h>
int main(void)
{
printf("EGG address: 0x%x\n", getenv("EGG"));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment