Bandit 20 -> 21
Login ssh : ssh bandit20@bandit.labs.overthewire -p 2220 password : 0qXahG8ZjOVMN9Ghs7iOWsCfZyXOUbYO Task : to get the next level password you have to connect to localhost on a port (not mentioned) , using the given setuid binary (suconnect). Theory The nc (netcat) command isn’t just for connecting to remote servers, as seen in [[bandit14|level 14]] it can also be used to create a simple TCP server using nc -l <port>. In this level, the provided setuid binary connects to a specified port on localhost and expects to receive a string (the password for bandit20). If the received string is correct, it responds by sending back the password for the next level. ...