We log on to the ftp server, find a .secretnote.txt and read its contents. In this case the clue is port knocking and the message ‘Ihavebeenalwayshere!!!
We can install Knock client to apply port knocking
Application of port knocking in ports 1000 2000 3000
And now we have opened http port 80:
We can find information in web and enumerate URLs
After enumerating, we don’t find any new passwords, but the text ‘I only remembet that was in a .txt file’, it makes us think that password could be the text inside .secretnote.txt.
We can try to ssh in with medusa:Ihavebeenalwayshere!!! and get the user flag.
We look for binary vulnerabilities
We can search for information about /usr/sbin/capsh using the searchbins tool.