CyberSecurity/OverTheWire

[OverTheWire Wargames Bandit] Level 9 -> Level 10

보안하는컴과생 2021. 9. 17. 20:40

Goal: data.txt파일에서 =가 앞에오는 사람이 읽을 수 있는 텍스트에서 비밀번호 획득하기

data.txt파일은 바이너리 파일이다.

 

바이너리 파일을 읽을 때, strings 명령어를 사용하면 사람이 읽을 수 있는 데이터만 볼 수 있다.

그 중 =가 있는 라인을 찾기 위해 grep 명령어를 함께 사용한다.

Username: bandit10

Password: truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk