-
[Linux 공부] Bandit wargames 13~15 단계 ssh key 사용 및 네트워크 통신Development/Linux 2025. 5. 18. 23:46728x90반응형
OverTheWire: Level Goal
We're hackers, and we are good-looking. We are the 1%. <!-- Please read and accept the Rules! --> Level Goal The 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 n
overthewire.org
13 ~ 14 단계는 ssh key를 사용해서 ssh 접속을 하는 문제입니다.
1. SSH 접속
13 ~ 14 단계 접속 비밀번호는 FO5dwFsc0cbaIiH0h8J2eUks2vdTDwAn 입니다.
ssh bandit13@bandit.labs.overthewire.org -p 22202. SSH Key 사용하여 접속
ssh -i sshkey.private bandit14@bandit.labs.overthewire.org -p 2220
OverTheWire: Level Goal
We're hackers, and we are good-looking. We are the 1%. <!-- Please read and accept the Rules! --> Level Goal The password for the next level can be retrieved by submitting the password of the current level to port 30000 on localhost. Commands you may need
overthewire.org
14 ~ 15 단계는 nc(netcat) 네트워크 유틸리티를 사용해서 데이터 전송을 하는 문제입니다.
nc는 기본적으로 TCP 통신을 하게됩니다.
1. 비밀번호 확인
cat /etc/bandit_pass/bandit14 결과 MU4VWeTyJk8ROof1qqmcBPaLh7lDCPvS1. 데이터 전송
nc localhost 30000 # 요청 MU4VWeTyJk8ROof1qqmcBPaLh7lDCPvS # 응답 Correct! 8xCjnmgoKbGLhHFAZlGE5Tmu4M2tKJQo728x90반응형'Development > Linux' 카테고리의 다른 글
[Linux 공부] Bandit wargames 16~18 단계 nmap & ssl 통신 & diff (0) 2025.05.19 [Linux 공부] Bandit wargames 15~16 단계 ssl 통신 (0) 2025.05.18 [Linux 공부] Bandit wargames 12~13 단계 헥스덤프 복원 및 압축 해제 (0) 2025.05.18 [Linux 공부] Bandit wargames 11~12 단계 tr 회전 글자 (0) 2025.05.18 [Linux 공부] Bandit wargames 10~11 단계 base64 디코딩 (0) 2025.05.18