[Bandit-OverTheWire] Level 14 -> Level 15
두비니
·2020. 9. 22. 08:10
Bandit Level 13 → Level 14Level GoalThe password for the next level is stored in /etc/bandit_pass/bandit14 and can only be read by user bandit14. For this level, you don’t get the next password, but you get a private SSH key that can be used to log into the next level. Note: localhost is a hostname that refers to the machine you are working on Commands you may need to solve this levelssh, telnet, nc, openssl, s_client, nmap Helpful Reading Material |
접속
접속 : ssh bandit13@bandit.labs.overthewire.org -p2220
pw : 8ZjyCRiBWFYkneahHwxCv3wb2a1ORpYL
비밀번호가 아닌 다음 레벨로 갈 수 있는 비밀 ssh key를 가지고 있고, 이를 이용해서 level14에 접속하라고 하네요.
로컬 terminal이 아닌 level13에서 바로 level14로 가도록 하겠습니다.
bandit13@bandit:~$ ssh -i ./sshkey.private bandit14@localhost
Could not create directory '/home/bandit13/.ssh'.
The authenticity of host 'localhost (127.0.0.1)' can't be established.
ECDSA key fingerprint is SHA256:98UL0ZWr85496EtCRkKlo20X3OPnyPSB5tB5RPbhczc.
Are you sure you want to continue connecting (yes/no)?
이러고 yes쳐주면 접속이 됩니다.
bandit14@bandit:~$ cat /etc/bandit_pass/bandit14
4wcYUJFw0k0XLShlDzztnTBHiqxU3b3e
문제에서 알려준 위치를 읽어주면
끝!
'War Games > Bandit - OverTheWire' 카테고리의 다른 글
[Bandit-OverTheWire] Level 16 -> Level 17 (2) | 2020.09.22 |
---|---|
[Bandit-OverTheWire] Level 15 -> Level 16 (0) | 2020.09.22 |
[Bandit-OverTheWire] Level 13 -> Level 14 (6) | 2020.09.21 |
[Bandit-OverTheWire] Level 12 -> Level 13 (0) | 2020.09.21 |
[Bandit-OverTheWire] Level 11 -> Level 12 (0) | 2020.09.21 |