Lessons learned
using openssl for encrypted connections
Logging in
On a kali vm/ linux machine
Type:
ssh bandit15@bandit.labs.overthewire.org -p 2220
BfMYroe26WYalil77FoDi9qh59eK5xNr
Completing The Challenge
The 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…
The Solution:
bandit15@bandit:~$ openssl s_client -crlf -connect localhost:30001 -servername localhost
...
BfMYroe26WYalil77FoDi9qh59eK5xNr
Correct!
cluFn7wTiGryunymYOu4RcffSxQluehd
Thoughts
following the recommendation on the page lead me to feistyduck openssl-cookbook ch-testing-with-openssl, which is a webpage etc. there it showed me how to connect to a server. at that point i wanted to make it more complicated by figuring out what they meant by encryption, before remembering a connection set up using ssl [is already encrypted, so any plaintext sent over that connection should result in data being sent using ssl encryption
Comments
Post a Comment