bandit 9

KJH·2022년 11월 22일

bandit

목록 보기
5/29

링크

ssh bandit9@bandit.labs.overthewire.org -p 2220
#EN632PlfYiZbn3PhVK3XOGSlNInNE00t

The password for the next level is stored in the file data.txt in one of the few human-readable strings, preceded by several ‘=’ characters.

여러'=' 앞에있는 사람이 읽을수 있는 문자가 비밀번호임

  1. strings를 통해, 사람이 읽을 수 있는 문자열만 출력
  2. grep- E 를 통해(regex) =이 여러번 반복되는 문자열 출력
bandit9@bandit:~$ strings data.txt | grep -E ={3}
#========== the
#bu========== password
#4iu========== is ㅋㅋㅋ
#========== G7w8LIi6J3kTb8A7j9LgrywtEUlyyp6s

0개의 댓글