
Herramienta de explotación automatizada para CVE-2018-9206 (jQuery File Upload) con escaneo de objetivos únicos/múltiples, soporte de proxy Tor, y registro de salida para pruebas de penetración y uso educativo.

JQShell
Una versión armada de CVE-2018-9206.
Descargo de responsabilidad
Usar esto contra servidores que no controlas es ilegal en la mayoría de los países. El autor no se hace responsable de las acciones de quienes usen este software con fines ilegales. Este software está destinado únicamente para uso educativo. Ningún servidor fue vulnerado ilegalmente durante la creación de este software.
Características
Objetivo único Múltiples objetivos Tor
Requisitos previos
Por favor, instala estos paquetes necesarios.
Python3
pip3 install requests pysocks subprocess stem
Puerto de control de Tor
Para usar Tor en este script, debes editar tu archivo torrc y habilitar el puerto de control de Tor en el 9051.
Normalmente este archivo está en: /etc/tor/torrc
abre este archivo y cambia esta línea:
#ControlPort 9051
a
ControlPort 9051
restart tor service
Uso
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
Ejemplos
Ejecutando contra un solo objetivo.
python3 jqshell.py -t http://localhost/folderwerejqueryis -s /var/www/html/shell.php
Ejecutando contra un solo objetivo, guardando la salida.
python3 jqshell.py -t https://localhost/folderwerejqueryis -s /var/www/html/shell.php -o pwned.txt
Ejecutando una lista, guardando la salida.
python3 jqshell.py -l /opt/jquery/test.txt -s /var/www/html/shell.php -o pwned.txt
Autor