Learning Basics: Over The Wire (Bandit -> Level 1 → Level 17)

Requirements:

Bandit:

vrs
Level0
Bandit Shell
Level 0 → Level 1
Level 1 → Level 2
Level 2 →Level 3
Level 3 → Level 4

find . |xargs file {} \; |grep “ASCII text”

Level 4 → Level 5
  1. human-readable
  2. 1033 bytes in size
  3. not executable
Level 5 → Level 6
  1. owned by user bandit7
  2. owned by group bandit6
  3. 33 bytes in size
Level 6 → Level 7

find / -user bandit7 -group bandit6 -size 33c 2>/dev/null

Level 6 → Level 7
Level 7 → Level 8
Level 7 → Level 8
Level 8 → Level 9

cat data.txt | strings | grep ^=

Level 9→ Level 10

cat data.txt | base64 _ _decode

Level 10→ Level 11

cat data.txt | tr ‘[A-Za-z]’ ‘[N-ZA-Mn-za-m]’

Level 11→ Level 12
Level 12→ Level 13
Level 12→ Level 13
Level 12→ Level 13
Level 12→ Level 13

Command: ssh -i sshkey.private bandit14@localhost

Level 13→ Level 14
Level 13→ Level 14
Level 14→ Level 15
Level 14→ Level 15
Level 15 → Level 16
Level 15 → Level 16
Level 16 → Level 17
Level 16 → Level 17
Level 16 → Level 17

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store

apex

I try to analyze ransomware attacks | Static Code Analysis | Privacy & Security Updates | Pen Testing | Bug Bounty