Skip to content

Instantly share code, notes, and snippets.

@mdeous
Created November 25, 2012 17:53
Show Gist options
  • Select an option

  • Save mdeous/4144545 to your computer and use it in GitHub Desktop.

Select an option

Save mdeous/4144545 to your computer and use it in GitHub Desktop.
Zenk ASLR ON easy1
#include <stdio.h>
#include <string.h>
void hello(char * src)
{
char buffer[64];
strcpy(buffer, src);
printf("Hello %s !\n", buffer);
}
int main(int argc,char * argv[])
{
if(argc<2)
return -1;
hello(argv[1]);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment