
PoC لـ CVE-2023-36281
PoC لـ CVE-2023-36281
لقد أحلت إلى هذا الـ PoC. لسوء الحظ، لا يعمل لأن فهارس subprocess.Popen تختلف في كل بيئة بايثون. ومع ذلك، يعالج كود الـ PoC الخاص بي هذه المشكلة.
$ pip install -r requirements.txt
$ python get_index_of_subprocess.py
subprcess.Popen index: 309.
Replace target_index in attack_prompt.json with this value.
$ python exploit.py
README.md attack_prompt.json get_index_of_subprocess.py exploit.py requirements.txt