Jun 29, 2020 TryHackMe

Anonymouos

front

https://tryhackme.com/room/anonymous

Open Ports:

  • 21: FTP
  • 22: SSH
  • 139: NETBIOS-SSN
  • 445: MICROSOFT-DS

ports

Gaining Access:

  1. In port 21[FTP] Anonymous login is allowed
    i. Go to scripts
    ii. Modify clean.sh to get revershell
    iii. Wait for a min
    U will now have the reverse shell in you netcat

User Flag:

90d6f992585815ff991e68748c414740

Priviledge Escaltion:

find / -perm -u=s 2>/dev/null
  • found env vuln found via GTFObins
  • ./env/bin/bash -p

Root Flag:

root