Bait A Phish
Bait A Phish
Security Pulse
tutorial · bandit

Bandit Level 7

Search the whole server with find (owner/group/size), then use grep to reduce noise.
banditfindpermissionsgrep
Narration (cached)
Marks this level complete in your browser.

Goal

Find the password somewhere on the server. The target file is:

Steps

  1. SSH in:
ssh bandit7@bandit.labs.overthewire.org -p 2220
  1. Use find starting at / (this may produce permission errors):
find / -type f -user bandit7 -group bandit6 -size 33c 2>/dev/null
  1. Read the found file:
cat <path-from-find>

That output is the password for Level 8.

Notes

Bandit Level 6Bandit Level 8