Post

Bandit Level 17 → Level 18

문제

https://overthewire.org/wargames/bandit/bandit18.html

목표

다음 레벨의 비밀번호를 찾는다.

홈 디렉토리에는 2개의 파일(Password.new, Password.old)이 있다. 다음 레벨의 패스워드는 Password.new에 있으며 Password.old 사이에 변경된 유일한 행이다.

풀이

diff 명령어로 두 파일의 차이점을 확인한다.

1
2
3
4
5
bandit17@bandit:~$ diff passwords.old passwords.new
42c42
< p6ggwdNHncnmCNxuAt0KtKVq185ZU7AW
---
> hga5tuuCLF6fFzUpnagiMN8ssu9LFrdg


Password : hga5tuuCLF6fFzUpnagiMN8ssu9LFrdg

배운 것

  • diff 명령어로 두 파일의 차이점을 확인할 수 있다.
This post is licensed under CC BY 4.0 by the author.