
Versión 2.0 — añade barrido de hosts remotos vía HTTP a la v1.0. Cuando se ejecuta sin argumentos muestra un menú interactivo.
Version 2.0 — adds remote host scanning via HTTP to v1.0. When run without arguments, it displays an interactive menu.
Sends an HTTP HEAD request to the host and reads the X-Powered-By: PHP/x.y.z or Server: ... PHP/x.y.z ... headers to detect the version remotely. Automatic HTTP → HTTPS fallback if the first one fails.
python3 php2shell_check_v2.0.py --host ejemplo.com
python3 php2shell_check_v2.0.py --host ejemplo.com --https --port 8443
Scans a list of IPs/hostnames and displays a consolidated report with the vulnerable ones highlighted.
python3 php2shell_check_v2.0.py --hosts 192.168.1.10 192.168.1.11 srv-web-01.local
Reads a list of hosts from a text file (one per line, # for comments).
python3 php2shell_check_v2.0.py --scan hosts.txt
python3 php2shell_check_v2.0.py --scan hosts.txt --https --port 8443
If you run the script without arguments, it opens a menu:
python3 php2shell_check_v2.0.py
MENU PRINCIPAL
========================================
1. Ejecutar en modo local
2. Ejecutar en modo remoto
0. Salir
Pr@fEsOr X
MIT License — see ../LICENSE.