상세 컨텐츠

본문 제목

Bandit Level 1 -> Level 2

ENG/Bandit

by jaws99 2024. 8. 5. 16:43

본문

반응형

Level Goal

The password for the next level is stored in a file called - located in the home directory

Commands you may need to solve this level

ls , cd , cat , file , du , find

 

Write up

bandit1@bandit:~$ cat -
hi
hi
hello
hello

 

It doesn't work like a level 0 challenge. It only shows what we entered.

So we have to use a different method to read the '-' file.

 

bandit1@bandit:~$ cat ./-
263JGJPfgU6LtdEvgfWU1XP5yac29mFx

 

Using `./` to specify the file in the current directory.

we found the password for the next level!

 

 

Next Level : Level 2 -> 3

반응형

'ENG > Bandit' 카테고리의 다른 글

Bandit Level 4 -> Level 5  (0) 2024.08.12
Bandit Level 3 -> Level 4  (0) 2024.08.10
Bandit Level 2 -> Level 3  (0) 2024.08.07
Bandit Level 0 -> Level 1  (0) 2024.08.04
Bandit Level 0  (0) 2024.08.02

관련글 더보기