OverTheWire.org
Hacker Community
Want to help out OverTheWire ?
Volunteer ? Donate ?
Click here!
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 }