본문 바로가기

wargame/bandit

Level 15 → Level 16

Level Goal

The password for the next level can be retrieved by submitting the password of the current level to port 30001 on localhost using SSL encryption.
Helpful note: Getting “HEARTBEATING” and “Read R BLOCK”? Use -ign_eof and read the “CONNECTED COMMANDS” section in the manpage. Next to ‘R’ and ‘Q’, the ‘B’ command also works in this version of that command…
비밀번호는 현재 단계의 비밀번호를 SSL 암호화을 사용하여 localhost의 port 30001에 제출하면 검색할 수 있다
도움이 될 NOTE: "HEARTBEATING"과 "Read R BLOCK"을 얻었는가? -ign_eof를 사용하고 manpage의 "CONNECTED COMMANDS" 부분을 읽어라 'R'과 'Q' 옆에 있는 'B' 명령어는 이 버전의 명령에서도 작동한다
참고

Code

bandit15@bandit:/etc/bandit_pass$ man openssl
bandit15@bandit:/etc/bandit_pass$ man s_client
bandit15@bandit:~$ openssl s_client -connect localhost:30001
#정보 출력
#banditLevel 14 → Level 15 비밀번호 입력
#비밀번호 출력

ssl 암호화 방식은 네트워크에서 통신 보안을 제공하기 위해 디자인된 암호 프로토콜이며 openssl은 tls와 ssl의 오픈 소스 구현판이다. manual에 따르면 s_client는 openssl의 standard-command 이고 일반적인 ssl/tls 클라이언트를 구현한다고 되어 있어서 이걸 사용하자고 하였고 manual에서 connect 옵션으로 원하는 호스트와 포트를 지정할 수 있었다 처음에는 비밀번호를 어떻게 입력을 해야하나 manual을 보면서 헤맸어서 구글링 하였다
+) 참고1   참고2

#openssl

'wargame > bandit' 카테고리의 다른 글

Level 17 → Level 18  (0) 2019.02.24
Level 16 → Level 17  (0) 2019.02.24
Level 14 → Level 15  (0) 2019.02.20
Level 13 → Level 14  (0) 2019.02.20
Level 12 → Level 13  (0) 2019.02.20