Over The Wire Notes Flashcards

1
Q

Level 0

A

ssh bandit0@bandit.labs.overthewire.org -p 2220

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

0 to 1

A

ls to list files
Display contents of file readme wit Cat command.

Shift+ CTRL V & C to copy & paste in linux command prompt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

1 to 2

A

‘cat -‘ will not work
cat ./ -
./ means in current directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

2 to 3

A

cat spaces/in/this/file/name

cat will think there is 4 different files without this expression.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

3 to 4

A

cd command to go into inhere
ls -a (shows files that are hidden)
hidden files have ‘.’ in the beginning of them.
cat .hidden reveals contents.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

5 to 6

A

cd inhere/
ls
file ./-file*
(* is wild card, any file with dash)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

6 to 7

A

ls
cd inhere/
find ./ -size 1033c
cat maybehere07/.file2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

8 to 9

A

ls
find / -size 33c -user bandit7 -group bandit6
(start it at the begging of the file system)
cat /var/lib… and so forth

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

10 to 11

A

ls
cat data.txt
cat data.txt | grep -i millionth

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

8 to 9

A

sort data.txt | uniq -u

uniq -u only line in the file that is not repeated, or Unique

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

9 to 10

A

ls
cat data.txt
strings data.txt | grep ‘=’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly