Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- 객체지향
- bandit level
- overthewire 문제
- 티스토리챌린지
- AWS
- 네트워크이론정리
- bandit 문제풀이
- overthewire bandit level 0
- 해킹
- 데이터와 로직
- 혼자공부하는네트워크
- kbdinteractiveauthentication
- 포인터와 배열
- sk루키즈
- Dreamhack
- sk shieldus rookies 23기
- 함수와 디버깅
- 취약점진단
- overthewire bandit 문제
- 오블완
- overthewire bandit 문제풀이
- 혼공네트
- bandit 비밀번호
- 정보보안
- web hacking
- 네트워크문제
- 네트워크정리
- bandit level 11 -> level 12 문제풀이
- 공부기록
- 보안
Archives
- Today
- Total
아임노드
[OverTheWire Bandit] Bandit Level 14 -> Level 15 문제풀이 (+특정 포트에 연결하기) 본문
[SK shieldus Rookies 23기] 공부 노트/OverTheWire Bandit 문제풀이
[OverTheWire Bandit] Bandit Level 14 -> Level 15 문제풀이 (+특정 포트에 연결하기)
Noody 2024. 12. 8.OverTheWire Bandit
Level 14 -> Level 15
목표 : localhost에 특정 포트번호로 연결하기
- 포트번호 3000인 localhost에 접속하기
풀이 방법
1. bandit14 서버 접속
ssh bandit14@bandit.labs.overthewire.org -p 2220
2. 문제 분석하기
이번에는 따로 문제 내용을 하나하나 분석해보겠다.
1. The password for the next level can be retrieved // 2. by submitting the password of the current level // 3. to
port 30000 on localhost.
//로 끊은 부분을 기준으로 순서대로 확인해보자.
1. 다음 레벨의 패스워드를 되찾을 수 있다.
2. 현재 레벨의 패스워드를 제출함으로써
3. port 번호는 30000인 localhost에
즉, 우리가 14레벨로 접속했던 그 패스워드를 3번에 사용하면 된다는 의미이다.
3. 포트번호 30000인 localhost에 접속하기
nc (netcat) 명령어 : 네트워크 관련 작업을 쉽게 수행할 수 있도록 설계된 유틸리티
nc 명령어의 주요 용도
- 원격 서버에 연결 : 주로 특정 서버와 포트에 연결하여 데이터를 주고받을 때 사용
- 포트 스캐닝 : 네트워크에서 열린 포트를 확인하는 데 유용
- 간단한 서버 설정 : 로컬 시스템에서 간단한 서버 실행
- 파일 전송 : 두 시스템 간 파일을 전송할 때 사용
[nc + localhost + 포트번호]
입력 후 커서가 줄바꿈되며 포트 연결을 위해 깜박거리고
14레벨의 패스워드를 입력하면 Correct! 라는 문구와 함께 다음 레벨 패스워드를 알려준다.