티스토리 뷰

Wargame/OverTheWire

[Bandit] Level 9

do9dark 2016. 2. 2. 22:00

Level Goal

다음 레벨로 넘어가는데 필요한 패스워드는 data.txt 파일에 사람이 읽을 수 있으면서, ‘=’ 문자로 시작하는 형태로 저장되어 있다.


strings 명령어를 이용해서 사람이 읽을 수 있는 문자열들을 추출한 다음, grep 명령어를 이용하여 '='가 포함되어 있는 형태를 찾으면 패스워드를 확인할 수 있다.

$ ls 

$ strings data.txt | grep '=' 


bandit10:truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk

'Wargame > OverTheWire' 카테고리의 다른 글

[Bandit] Level 14  (0) 2016.02.02
[Bandit] Level 13  (0) 2016.02.02
[Bandit] Level 12  (0) 2016.02.02
[Bandit] Level 11  (0) 2016.02.02
[Bandit] Level 10  (0) 2016.02.02
[Bandit] Level 8  (0) 2016.02.02
[Bandit] Level 7  (0) 2016.02.02
[Bandit] Level 6  (0) 2016.02.02
[Bandit] Level 5  (0) 2016.02.02
[Bandit] Level 4  (0) 2016.02.02
댓글
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
링크
공지사항
Total
Today
Yesterday