FTP
Last updated
Last updated
The FTP Server allowed for anonymous access.
These are the files that were in the particular share.
Everything except the MSSQL_BAK.rar is garbage.
In order to extract files from the .rar file this is the command I used:
The rar file was unfortunately password protected but this is nothing we can't handler because we got JohnTheRipper.
rar2john allows us to attack this password prompt and be able to crack the password.
Let me retrace some steps.
After extracting we see that there is a password for the user sa. The password is EjectFrailtyThorn425.
Using sqsh and following my friends guide on how to get rce with sqsh
The syntax is as follows
We can get a revere shell if we do something like this:
or