Bandit Level 32 → Level 33
문제
https://overthewire.org/wargames/bandit/bandit33.html
목표
다음 레벨의 패스워드를 찾는다.
풀이
로그인하니 UPPERCASE SHELL
이라는 게 실행되었다.
명령행 인자 $0
을 입력해 bash
를 실행할 수 있다.
1
2
>> $0
$ bash
비밀번호를 확인한다.
1
2
bandit33@bandit:/tmp/new_dir8$ cat /etc/bandit_pass/bandit33
odHo63fHiFqcWWJG9rLiLDtPm45KzUKy
Password : odHo63fHiFqcWWJG9rLiLDtPm45KzUKy
배운 것
- 명령행 인자
$0
This post is licensed under CC BY 4.0 by the author.