OverTheWire.org
Hacker Community
Contribute to OverTheWire ?
Click here!
News (2012-01-07):
Best wishes for 2012 ! We released the HES2010 wargame ! Read more...
Discuss this level on the forum

Level 1

Level1 is a trivial stack buffer overflow. Note that you'll probably find it easier to use the compiled version than compiling it from source.

Binary information
Stack smashing protection (SSP):Disabled
Postition Independent Executable (PIE):Disabled
Address space layout randomisation (ASLR):Enabled - No PIE
Non-executable pages:None / disabled

Location:

/levels/level1

Code listing (level1.c)
1 /* gcc -fno-pie -fno-stack-protector */
2 
3 int main(int argc, char **argv)
4 {
5 	char buffer[64];
6 	gets(buffer);
7 }