Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

Latest commit

 

History

History
21 lines (15 loc) · 828 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 828 Bytes

Level00

For introductory information on this operating system and binary securities, check here.

Using gdb, we can dig through the binary to understand what's going on (full analysis here). As we can clearly see, after our input is taken, a comparison with 5276 is evaluated. All we have to do to spawn a shell is then to input this number.

  $> ./level00
  ***********************************
  *            -Level00 -           *
  ***********************************
  Password:5276

  Authenticated!
  $ cat /home/users/level01/.pass
  uSq2ehEGT6c9S24zbshexZQBXUGrncxn5sD5QfGL

So next user credentials pair is level01:uSq2ehEGT6c9S24zbshexZQBXUGrncxn5sD5QfGL.

Check here for reproduction source-code of this binary.