Bandit Level 1 | CodeMaxx.github.io

Bandit Level 1

OverTheWire logo

Level Goal:

The password for the next level is stored in a file called - located in the home directory

Commands you may need to solve this level

ls, cd, cat, file, du, find

Helpful Reading Material

Google Search for “dashed filename” Advanced Bash-scripting Guide - Chapter 3 - Special Characters

Write-up

This was a bit tricky. The filename was -. A simple cat - didn’t work. This is becuase cat interprets - as stdin which means that instead of a file you give it an input from the terminal.

Thus I used cat ~/- to read from the file.

Level 2 password: CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9

Follow @CodeMaxx
Bandit Level 0
Akash Trehan

Akash Trehan

Hacker-Developer-Geek

comments powered by Disqus
rss facebook twitter github youtube mail spotify instagram linkedin google pinterest medium -->