Skip to main content

bandit 9

·70 words·1 min· loading
bandit - This article is part of a series.
Part 5: This Article

링크

ssh [email protected] -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
bandit - This article is part of a series.
Part 5: This Article