보안공부/OverTheWire

Bandit Level 1 → Level 2

아놀드금자 2020. 4. 30. 02:12
728x90

Bandit Level 1 → Level 2

Level Goal

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

 

 

 

- 라는 이름을 가진 파일이 있다. 저 파일을 열어야 하는데 밑의 힌트를 보니 터미널에 -를 그대로 입력하면 안되나보다.

링크로 들어가서 구글링을 통해 터미널 창에 -를 입력할 때에는 앞에 <를 붙여서 <- 형태로 입력해야 한다는 것을 알았다.

 

[추가참고]  http://tldp.org/LDP/abs/html/special-chars.html

 

 

 

cat <-를 입력한 결과 pw를 얻는데에 성공

참고로 putty에서는 붙여넣기를 하려면 Ctrl+v나 C+S+v가 아닌 마우스 오른쪽 버튼을 눌러야 클립보드의 내용이 붙여넣기 된다.

728x90

'보안공부 > OverTheWire' 카테고리의 다른 글

Bandit Level 4 → Level 5  (0) 2020.04.30
Bandit Level 3 → Level 4  (0) 2020.04.30
Bandit Level 2 → Level 3  (0) 2020.04.30
Bandit Level 0 → Level 1  (0) 2020.04.30
Over The Wire 워게임 시작  (0) 2020.04.29