bandit14

KJH·2022년 11월 28일

bandit

목록 보기
10/29

링크

ssh bandit14@bandit.labs.overthewire.org -p 2220 
#fGrHPx402xGC7U7rXKDaxiWFTOiF0ENq

The password for the next level can be retrieved by submitting the password of the current level to port 30000 on localhost.

현재 레벨의 비밀번호를 localhost의 포트 30000에 제출해라?

풀이

정보

  • nc(netcat) 명령어를 통하여 네트워크에 데이터를 읽고 쓸 수 있다.

    nc localhost 3000 #3000번 포트에 접속
    ls -alths #임의의 명령어
    Wrong! Please enter the correct current password
    
    nc localhost 30000 
    # fGrHPx402xGC7U7rXKDaxiWFTOiF0ENq # 현재비밀번호
    Correct!
    jN2kgmIXJ6fShzhT2avhotn4Zcka6tnt

0개의 댓글