Bandit OverTheWire Wargame

This contains notes and passwords for the Bandit wargame on OverTheWire.

Level 0

ssh bandit0@bandit.labs.overthewire.org -p 2220

Level 0 to Level 1

Password

ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If

Level 1

Open a dashed file.

cat ./-

Level 1 to Level 2

Password

263JGJPfgU6LtdEvgfWU1XP5yac29mFx

Level 2

Open file with spaces.

Level 2 to Level 3

Password

MNk8KNH3Usiio41PRUEoDFPqfxLPlSmx

Level 3

Open a hidden file

Level 3 to Level 4

Password

2WmrDFRmJIq3IPxneAaMGhap0pFhF3NJ

Level 4

Open a human readable file from set of files

for f in *; do printf "{$f}: " && cat ./$f && printf "\n"; done

Level 4 to Level 5

Password

4oQYVPkxZOOEOO5pTW81FB8j8lxXGUQw

Level 5

for f in */*; do
    if [[ -f "$f" && ! -x "$f" && $(stat -c%s "$f") -eq 1033 ]]; then
        printf "{%s}'" "$f"
        cat "$f"
        printf "\n"
    fi
done

Level 5 to Level 6

Password

HWasnPhtq9AVKe0dmk45nxy20cvUa6EG