VERIFYING CONNECTION WITH THE BOX BY PINGING TO SEE IF WE HAVE A CONNECTION
WE SEE THAT A COUPLE OF PROTOCOLS ARE OPEN FTP,SMB,SSH
WE USED SMBCLIENT TO VIEW THE FILESHARES ON PORT 139. WHENVER 139/445 IS OPEN WE GOING TO SMBCLIENT
ATTEMPT TO GET INTO EACH FILESHARE AND DIDN’T MAKE ANY HEADWAY UNTIL WE TRIED TMP SHARE
DOESN’T LOOK LIKE ANYTHING USEFUL IS HERE SO ITS A DEAD END
FROM HERE WE GOOLGE THE VERSION THE PROTOL IS RUNNING AND SEE IF THERE IS AN EXPLOIT FOR IT
WE FOUND A MATCH FOR THE VERSION FROM THE NMAP SCAN
COPY THIS MODULE AND PUT IT IN METASPLOIT
WE CAN CONFIRM THE EXPLOIT WORKED WE HAVE A SHELL
Once in this shell here are a few commands you can run to navigate: