Skip to content

Commit 8664974

Browse files
committed
upto level10
Signed-off-by: ayushka11 <[email protected]>
1 parent 1f3fe7f commit 8664974

File tree

5 files changed

+40
-0
lines changed

5 files changed

+40
-0
lines changed

level10.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## **level10**
2+
3+
`base64` command is used to encode strings into base64, to decode use the -d flag.
4+
5+
`cat data.txt | base64 -d`
6+
7+
save the psswd and exit.
8+

level6.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## **level6**
2+
3+
`find` command with group and user flag for conditions.
4+
5+
`find / -type f -size 33c -group bandit6 -user bandit7`
6+
7+
we'll get the file, `cat` it to get the psswd, save it and exit.
8+

level7.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## **level7**
2+
3+
`grep` is used to find something in a file.
4+
5+
use `cat data.txt | grep millionth` to get the psswd.
6+
7+
save it and exit.
8+

level8.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## **level8**
2+
3+
using sort and uniq commands to find a line which is not repeated, ie unique.
4+
5+
`cat data.txt| sort | uniq -u` to print the line which is unique and has count 1.
6+
7+
save the psswd and exit.

level9.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## **level9**
2+
3+
we need to use `strings` command.
4+
5+
it is similar to `cat` but only prints out ascii characters.
6+
7+
`strings data.txt | grep ==` , 'grep ==' because the password is next to multiple '='s.
8+
9+
save the psswd and exit.

0 commit comments

Comments
 (0)