Goal: data.txt파일에서 =가 앞에오는 사람이 읽을 수 있는 텍스트에서 비밀번호 획득하기
data.txt파일은 바이너리 파일이다.
바이너리 파일을 읽을 때, strings 명령어를 사용하면 사람이 읽을 수 있는 데이터만 볼 수 있다.
그 중 =가 있는 라인을 찾기 위해 grep 명령어를 함께 사용한다.
Username: bandit10
Password: truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk
'CyberSecurity > OverTheWire' 카테고리의 다른 글
[OverTheWire Wargames Bandit] Level 11 -> Level 12 (0) | 2021.09.23 |
---|---|
[OverTheWire Wargames Bandit] Level 10 -> Level 11 (0) | 2021.09.23 |
[OverTheWire Wargames Bandit] Level 8 -> Level 9 (0) | 2021.09.17 |
[OverTheWire Wargames Bandit] Level 7 -> Level 8 (0) | 2021.09.17 |
[OverTheWire Wargames Bandit] Level 6 -> Level 7 (0) | 2021.09.17 |