Bandit Over The Wire Level 4 – 5

The clue is ‘ The password for the next level is stored in the only human-readable file in the inhere directory. ‘ . Use the previous password to login with username ‘bandit4’.

Check the directory inhere, get in and run ‘ls -l’ command to view list of the file in this directory. We can see there are some file here, and the password is inside on one of this files. The clue is human-readable file, this is means the file type we can use is ASCII text file. Use file command to see the type for each of this files, remember with command to handle the dash filename.

We can see, the file with ASCII text type is -file07, use ‘cat’ command to read the password.

Use this password to login SSH for the next level.

Leave a comment

Blog at WordPress.com.

Up ↑

Design a site like this with WordPress.com
Get started