All writeups

Challenge

OverTheWire: Bandit

Each level unlocks the SSH password for the next. Solved in order, documented as I went.

  1. 01Level 1Reading a dashed file
  2. 02Level 2Spaces in filenames
  3. 03Level 3Hidden files with ls -la
  4. 04Level 4Finding human-readable files
  5. 05Level 5Find file by size
  6. 06Level 6Find file by user and group
  7. 07Level 7Searching with grep
  8. 08Level 8Unique lines with sort and uniq
  9. 09Level 9Extracting strings from binary files
  10. 10Level 10Base64 decoding
  11. 11Level 11ROT13 with the tr command
  12. 12Level 12Hexdumps and decompression
  13. 13Level 13SSH login with a private key
  14. 14Level 14Netcat basics
  15. 15Level 15OpenSSL and encrypted connections
  16. 16Level 16Port scanning with Nmap
  17. 17Level 17Comparing files with diff
  18. 18Level 18SSH remote command execution
  19. 19Level 19SUID binary and Linux permissions
  20. 20Level 20Netcat listeners and SUID binary
  21. 21Level 21Cron jobs
  22. 22Level 22Cron jobs and bash scripting
  23. 23Level 23Cron jobs and bash scripting (continued)
  24. 24Level 24Brute forcing with bash and netcat
  25. 25Level 25 & 26Escaping restricted environments with more and vim
  26. 27Level 27Git - cloning a repository
  27. 28Level 28Git - log and checkout
  28. 29Level 29Git - branching
  29. 30Level 30Git - tags
  30. 31Level 31Git - push, commit, and .gitignore
  31. 32Level 32Environment variables and shell escape
  32. 33Level 33All levels complete!