bandit

Bandit CTF – Level 13

Level 12 -> 13 bandit12@bandit:~$ ls bandit12@bandit:~$ mkdir /tmp/pepetbandit12@bandit:~$ cp data.txt /tmp/pepetbandit12@bandit:~$ cd /tmp/pepetbandit12@bandit:/tmp/pepet$ ls bandit12@bandit:/tmp/pepet$ file data.txt bandit12@bandit:/tmp/pepet$ xxd -r data.txt > data_xxd_1bandit12@bandit:/tmp/pepet$ file data_xxd_1 bandit12@bandit:/tmp/pepet$ ls bandit12@bandit:/tmp/pepet$ zcat data_xxd_1 > data_zcat_1bandit12@bandit:/tmp/pepet$ file data_zcat_1 bandit12@bandit:/tmp/pepet$ bzip2 -d data_zcat_1 bandit12@bandit:/tmp/pepet$ file data_zcat_1.out bandit12@bandit:/tmp/pepet$ zcat data_zcat_1.out > data_zcat_2bandit12@bandit:/tmp/pepet$ ls bandit12@bandit:/tmp/pepet$ file data_zcat_2 bandit12@bandit:/tmp/pepet$ tar xvf data_zcat_2 bandit12@bandit:/tmp/pepet$ file data5.bin bandit12@bandit:/tmp/pepet$ tar xvf data5.bin bandit12@bandit:/tmp/pepet$ file data6.bin bandit12@bandit:/tmp/pepet$ ls bandit12@bandit:/tmp/pepet$ bzip2 data6.bin.bz2

Bandit CTF – Level 12

Level 11–>12 bandit11@bandit:~$ ls -la bandit11@bandit:~$ cat data.txt | tr ‘A-Za-z’ ‘N-ZA-Mn-za-m’ password = 5Te8XXXXXXXXXXXXXXXXXXXXXXXXXXXX

Bandit CTF – Level 11

level 10–>11 bandit10@bandit:~$ ls -la bandit10@bandit:~$ cat data.txt | base64 -d The password is IFukXXXXXXXXXXXXXXXXXXXXXXXXXXXX Password = IFukXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Bandit CTF – Level 10

level 9–>10 bandit9@bandit:~$ ls -la bandit9@bandit:~$ strings data.txt | grep «^=» password = truKXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Bandit CTF – Level 9

level 8–>9 bandit8@bandit:~$ ls -la bandit8@bandit:~$ cat data.txt | sort | uniq -u password = UsvVXXXXXXXXXXXXXXXXXXXXXXXXXX

Bandit CTF – Level 8

level 7–>8 bandit7@bandit:~$ ls -la bandit7@bandit:~$ cat data.txt | grep -s millionth password = cvX2XXXXXXXXXXXXXXXXXXXXXXXXXXXX

Bandit CTF – Level 7

level 6–>7 bandit6@bandit:~$ ls -la bandit6@bandit:~$ find / -user bandit7 -group bandit6 -size 33c 2>/dev/null bandit6@bandit:~$ cat /var/lib/dpkg/info/bandit7.password password = HKBPXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Bandit CTF – Level 6

Level 5 –> 6 bandit5@bandit:~$ ls -la bandit5@bandit:~$ cd inhere/bandit5@bandit:~/inhere$ ls -la bandit5@bandit:~/inhere$ find . -type f -readable ! -executable -size 1033c bandit5@bandit:~/inhere$ cat ./maybehere07/.file2 password = DXjZXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Bandit CTF – Level 5

level 4 –> 5 bandit4@bandit:~$ ls -la bandit4@bandit:~$ cd inhere/bandit4@bandit:~/inhere$ ls -la bandit4@bandit:~/inhere$ cat ./-file07 password = koReXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Bandit CTF – Level 4

level 3 –> 4 bandit3@bandit:~$ ls -la bandit3@bandit:~$ cd inherebandit3@bandit:~/inhere$ ls -la bandit3@bandit:~/inhere$ cat .hidden password = pIwrXXXXXXXXXXXXXXXXXXXXXXXXXXXX