[해킹] Bandit Level 22 ~ 26 단계 - 정리
·
ETC/Hacking
* 미션 풀이 [Level 21 -> Level 22] 1. bandit21에 로그인 2. /etc/cron.d/의 구성을 보고 어떤 명령이 실행되고 있는지 확인하라고 했으므로, cd /etc/cron.d/를 입력한 후 ls 명령어를 통해 확인한다. 3. bandit22와 관련된 파일이 있으므로 cat cronjob_bandit22를 한다. 4. cat /usr/bin/cronjob_bandit22.sh를 입력한다. bandit22의 내용을 tmp파일 안에 넣어놓은 것을 알 수 있다. 5. cat /tmp/t7O6lds9S0RqQh9aMcz6ShpAoZKF7fgv를 입력한다. 따라서, bandit22의 비번은 Yk7owGAcWjwMVRwrTesJEwB7WVOiILLI 이다. [Level 22 -> Lev..
[해킹] Bandit Level 15 ~ 21 단계 - 정리
·
ETC/Hacking
보호되어 있는 글입니다.
[해킹] Bandit Level 8 ~ 14 단계 - 정리
·
ETC/Hacking
* 미션 풀이 [Level 7 -> Level 8] 1. ls -a 입력하여 data.txt 확인. 2. cat data.txt로 내용 출력. 이때, 내용이 너무 많아서 확인하기가 어려움. 3. grep 명령어를 사용. grep millionth data.txt 입력 4. 비번은 millionth라는 단어 옆에 있다고 했으므로 cvX2JJa4CFALtqS87jk27qwqGhBM9plV 가 비번이다. bandit8의 비번은 cvX2JJa4CFALtqS87jk27qwqGhBM9plV 이다. [Level 8 -> Level 9] 1. ls -a 입력으로 data.txt 확인. 2. data.txt 파일에 있고 한번만 작성된 문장이라고 했으므로 uniq 옵션 중 -u를 사용한다. 즉, sort data.txt ..
[해킹] Bandit Level 0 ~ 7 단계 - 정리
·
ETC/Hacking
https://overthewire.org/wargames/bandit/ OverTheWire: Bandit We're hackers, and we are good-looking. We are the 1%. Bandit The Bandit wargame is aimed at absolute beginners. It will teach the basics needed to be able to play other wargames. If you notice something essential is missing or have ideas for new levels, p overthewire.org * 미션 풀이 [Level 0] 1. 자신의 운영체제에 맞는 PuTTY를 다운로드 한다. 2. PuTTY를 실행하고..