Bandit Level 26 → Level 27
문제 https://overthewire.org/wargames/bandit/bandit27.html 목표 다음 레벨의 패스워드를 찾는다. 풀이 저번 레벨처럼 화면의 크기를 줄여 bandit26으로 로그인한다. _ _ _ _ ___ __ | | | (_) | |__...
문제 https://overthewire.org/wargames/bandit/bandit27.html 목표 다음 레벨의 패스워드를 찾는다. 풀이 저번 레벨처럼 화면의 크기를 줄여 bandit26으로 로그인한다. _ _ _ _ ___ __ | | | (_) | |__...
문제 https://overthewire.org/wargames/bandit/bandit26.html 목표 다음 레벨의 패스워드를 찾는다. bandit26의 쉘은 /bin/bash가 아니다. 풀이 홈 디렉토리를 확인해보니 SSH 키가 있다. bandit25@bandit:~$ ls bandit26.sshkey SSH 키로 bandi...
문제 https://overthewire.org/wargames/bandit/bandit25.html 목표 다음 레벨의 패스워드를 찾는다. Demon은 30002번 포트에서 수신 대기 중이다. bandit24의 비밀번호와 4자리 핀코드를 제출하면 bandit25의 비밀번호를 얻을 수 있다. 풀이 스크립트 작성을 위해 새 디렉토리를 만든다....
문제 https://overthewire.org/wargames/bandit/bandit24.html 목표 다음 레벨의 패스워드를 찾는다. 시간 기반 작업 스케줄러 cron에서 일정한 간격으로 프로그램이 실행된다. /etc/cron.d/ 에서 어떤 명령이 실행되고 있는지 확인해라. 풀이 bandit22@bandit:~$ cd /etc/cr...
문제 https://overthewire.org/wargames/bandit/bandit23.html 목표 다음 레벨의 패스워드를 찾는다. 시간 기반 작업 스케줄러 cron에서 일정한 간격으로 프로그램이 실행된다. /etc/cron.d/ 에서 어떤 명령이 실행되고 있는지 확인해라. 풀이 bandit22@bandit:~$ cd /etc/cr...
문제 https://overthewire.org/wargames/bandit/bandit22.html 목표 다음 레벨의 패스워드를 찾는다. 시간 기반 작업 스케줄러 cron에서 일정한 간격으로 프로그램이 실행된다. /etc/cron.d/ 에서 어떤 명령이 실행되고 있는지 확인해라. 풀이 bandit21@bandit:~$ cd /etc/cr...
문제 https://overthewire.org/wargames/bandit/bandit21.html 목표 다음 레벨의 패스워드를 찾는다. 홈 디렉토리에 위치한 setuid 바이너리는 지정한 로컬호스트의 포트로 연결해주는 파일이다. 연결에서 텍스트 한 줄을 읽고 이를 이전 레벨의 비밀번호와 비교하여 맞다면 다음 레벨의 비밀번호를 전송해준다. ...
문제 https://overthewire.org/wargames/bandit/bandit20.html 목표 /etc/bandit_pass에 위치한 패스워드를 찾는다. 홈 디렉토리에 위치한 setuid 바이너리를 사용해 다음 레벨에 접근할 수 있다. 관련 자료 setuid 풀이 bandit19@bandit:~$ ls bandit20-do ...
문제 https://overthewire.org/wargames/bandit/bandit19.html 목표 readme 파일에 저장되어 있는 다음 레벨의 패스워드를 찾는다. SSH로 로그인하면 로그아웃되도록 .bashrc가 수정되었다. 이번 레벨에서는 PuTTY를 사용하면 로그아웃 되었을 때 프로그램이 종료되므로 리눅스 가상머신을 사용...
문제 https://overthewire.org/wargames/bandit/bandit18.html 목표 다음 레벨의 비밀번호를 찾는다. 홈 디렉토리에는 2개의 파일(Password.new, Password.old)이 있다. 다음 레벨의 패스워드는 Password.new에 있으며 Password.old 사이에 변경된 유일한 행이다. 풀이 ...