bandit 0
[SSH] Logged in (password)
bandit0@melinda:~$ ls
readme
bandit0@melinda:~$ cat readme
<password>
bandit1
[SSH] Logged in (password)
bandit1@melinda:~$ ls
-
bandit1@melinda:~$ cat ./-
<password>
bandit2
[SSH] Logged in (password)
bandit2@melinda:~$ ls
spaces in this filename
bandit2@melinda:~$ cat "spaces in this filename"
<password>
bandit3
[SSH] Logged in (password)
bandit3@melinda:~$ ls
inhere
bandit3@melinda:~$ cd inhere
bandit3@melinda:~/inhere$ ls
bandit3@melinda:~/inhere$ ls -al
total 12
drwxr-xr-x 2 root root 4096 Jun 6 2013 .
drwxr-xr-x 3 root root 4096 Jun 6 2013 ..
-rw-r----- 1 bandit4 bandit3 33 Jun 6 2013 .hidden
bandit3@melinda:~/inhere$ cat .hidden
<password>
bandit4
[SSH] Logged in (password)
bandit4@melinda:~$ ls
inhere
bandit4@melinda:~$ cd inhere
bandit4@melinda:~/inhere$ ls
-file00 -file01 -file02 -file03 -file04 -file05 -file06 -file07 -file08 -file09
bandit4@melinda:~/inhere$ cat ./-file04
[¢±B°
§&6]U³wRZ!Nohbandit4@melinda:~/inhere$ cat ./-file05
÷)ñ©'߳el?-p#s¥~$+øø©bandit4@melinda:~/inhere$ cat ./-file06
¯<ÛDjüN#C|0|§ Tµ®G±@àábandit4@melinda:~/inhere$ cat ./-file08
ññdCgb.<ê"Q 2Bö÷{é3Sbandit4@melinda:~/inhere$ cat ./-file09
~і õõ|±M^߮-%ƌ
³¿²"^±kUbandit4@melinda:~/inhere$ cat ./-file07
<password>
bandit5
[SSH] Logged in (password)
bandit5@melinda:~$ ls
inhere
bandit5@melinda:~$ cd inhere
bandit5@melinda:~/inhere$ find -size 1033c
./maybehere07/.file2
bandit5@melinda:~/inhere$ cat ./maybehere07/.file2
bandit6
[SSH] Logged in (password)
bandit6@melinda:~$ ls
bandit6@melinda:~$ ls -al
total 20
drwxr-xr-x 2 root root 4096 Jun 6 2013 .
drwxr-xr-x 160 root root 4096 Oct 17 2013 ..
-rw-r--r-- 1 root root 220 Apr 3 2012 .bash_logout
-rw-r--r-- 1 root root 3486 Apr 3 2012 .bashrc
-rw-r--r-- 1 root root 675 Apr 3 2012 .profile
bandit6@melinda:/home$ find -size 33c
./bandit21/.prevpass
./bandit15/.bandit14.password
find: `./bandit5/inhere': Permission denied
[...]
find: `/root': Permission denied
bandit6@melinda:/home$ find / -size 33c -user bandit7 -group bandit6 2>&1 | grep -v 'Permission denied'
/var/lib/dpkg/info/bandit7.password
bandit6@melinda:/home$ cat /var/lib/dpkg/info/bandit7.password
<password>
+)Searched for: (Google) how to use find size group user options, how to ignore permission denied in linux find
bandit7
[SSH] Logged in (password)
bandit7@melinda:~$ ls
data.txt
<Opened the file, almost died>
bandit7@melinda:~$ grep "millionth" data.txt
millionth <password>
+)Searched for: how to grep for a string in file
bandit8
[SSH] Logged in (password)
bandit8@melinda:~$ ls
data.txt
bandit8@melinda:~$ sort data.txt | uniq -u
<password>
+)Searched for: how to exclude duplicate string in file
bandit9
[SSH] Logged in (password)
bandit9@melinda:~$ ls
data.txt
bandit9@melinda:~$ cat data.txt
<look through file, found the password at first glance>
O.o...No this is not the way I wanna...*cough cough*
bandit10
[SSH] Logged in (password)
bandit10@melinda:~$ ls
data.txt
bandit10@melinda:~$ cat data.txt
VGhlIHBhc3N3b3JkIGlzIElGdWt3S0dzRlc4TU9xM0lSRnFyeEUxaHhUTkViVVBSCg==
bandit10@melinda:~$ echo VGhlIHBhc3N3b3JkIGlzIElGdWt3S0dzRlc4TU9xM0lSRnFyeEUxaHhUTkViVVBSCg== | base64 --decode
<password>
+)Searched for: how to decode base64 in bash
bandit11
[SSH] Logged in (password)
bandit11@melinda:~$ ls
data.txt
bandit11@melinda:~$ cat data.txt | tr '[a-m][n-z][A-M][N-Z]' '[n-z][a-m][N-Z][A-M]'
<password>
+)Searched for: reverse rot13 using tr
'STUDY > overthewire' 카테고리의 다른 글
narnia 1 (0) | 2014.05.16 |
---|---|
narnia 0 (0) | 2014.05.16 |