🐧 Linux (Bandit)

[OverTheWire][Linux] Bandit Level1 -> Level2

선달 2024. 12. 20. 17:22
반응형

문제

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

Helpful Reading Material

 

풀이

ls를 해보니 - 라는 작대기로 된 파일 하나만 있었다

ls -al 해보면 폴더가 아닌 파일임을 알 수 있다

cat - 는 안통하므로 cat ./- 처럼 풀네임을 이용하면 파일이 열린다

 

더보기

263JGJPfgU6LtdEvgfWU1XP5yac29mFx

반응형