-
OverTheWire: Level Goal: Bandit Level 17 → Level 18 풀이2021 SCP Mentoring/OverTheWire: Bandit 2021. 5. 23. 19:42
다음 레벨로 가기위한 password는 passwords.old파일과 passwords.new파일 사이에서 변경된 한 라인이라고 한다.
두 파일을 비교하기 위해 diff 명령어를 사용하여 두 파일 간의 차이를 볼 수 있다.
bandit17@bandit:~$ diff passwords.old passwords.new 42c42 < w0Yfolrc5bwjS4qw5mq1nnQi6mF03bii --- > kfBf3eYk5BPBRzwjqutbbfE887SVc5Yd
위와 같이 두 파일의 차이점을 보았다.
password.old에 w0Yfolrc5bwjS4qw5mq1nnQi6mF03bii 라인이 passwords.new로 오면서 kfBf3eYk5BPBRzwjqutbbfE887SVc5Yd로 바뀐걸 알 수 있다.
즉, kfBf3eYk5BPBRzwjqutbbfE887SVc5Yd 이 다음 레벨로 가기위한 password인 것을 알 수 있다.
'2021 SCP Mentoring > OverTheWire: Bandit' 카테고리의 다른 글
OverTheWire: Level Goal: Bandit Level 19 → Level 20 풀이 (0) 2021.05.23 OverTheWire: Level Goal: Bandit Level 18 → Level 19 풀이 (0) 2021.05.23 OverTheWire: Level Goal: Bandit Level 16 → Level 17 풀이 (0) 2021.05.17 OverTheWire: Level Goal: Bandit Level 15 → Level 16 풀이 (0) 2021.05.16 OverTheWire: Level Goal: Bandit Level 14 → Level 15 풀이 (2) 2021.05.16