Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

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

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

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
Panoptic — Panoptic 是一款开源渗透测试工具,可通过路径遍历漏洞自动化搜索和获取常见日志与配置文件的内容。 | Kitploit
工具/GitHubGitHub/lightos/panoptic
侦察漏洞扫描器Web应用程序漏洞利用信息收集渗透测试
GitHublightos/panoptic

Panoptic

Panoptic 是一款开源渗透测试工具,可通过路径遍历漏洞自动化搜索和获取常见日志与配置文件的内容。

查看仓库
325744311天前Kitploit 审核通过
分享

Panoptic

Panoptic Logo

License: MIT Python Versions Ruff mypy GitHub last commit CodeRabbit Pull Request Reviews

Panoptic 是一款开源渗透测试工具,可通过路径遍历漏洞自动搜索和获取常见的日志文件与配置文件。

Panoptic Demo

功能特性

  • 异步并发扫描,可配置工作线程池 (--concurrency)
  • 通过基于参数、基于路径、POST、cookie、header 和 JSON 请求体注入,自动发现常见的日志文件与配置文件
  • FUZZ 标记用于任意注入点——可在任意 --header 或 --data 值中 放置 FUZZ
  • 针对会解码文件路径的端点提供 Base64 编码 (--base64)
  • 自动操作系统检测,并可选择限制后续扫描
  • 启发式响应比较,忽略动态令牌(CSRF 令牌、nonce、时间戳)和反射载荷,并通过状态码 和字符串过滤来减少误报
  • 动态大小写注入——解析 /etc/passwd 以获取主目录 文件,解析 mysql-bin.index 以获取 binlog 文件
  • 多种输出格式:文本(rich)、JSON、CSV (--output-format)
  • 支持长时间扫描的恢复/检查点功能 (--resume-file)
  • TOML 配置文件用于持久化设置(--config)
  • 多种遍历绕过技术:前缀、后缀、 倍增、斜杠替换、双重编码
  • 支持 HTTP/HTTPS 和 SOCKS5 代理并带验证
  • 支持随机或自定义 User-Agent、cookie 和 header
  • 在横幅、日志和机器可读输出中隐藏凭据 (包括数字和布尔类型的 JSON 请求体值)
  • 敏感产物加固,在 POSIX 上使用仅所有者可访问的 0600 权限, 并在操作系统支持时提供最终组件符号链接保护
  • 通过远程 URL 验证进行自更新(--update)

环境要求

  • Python 3.11+(uv 可为你下载,见下文)
  • Git

安装

使用 pipx 安装 Panoptic。它会将 panoptic 命令放入你的 PATH,并使 Panoptic 的依赖与系统 Python 相互隔离。

在 Kali、Debian 或 Ubuntu 上:

sudo apt install pipx git
pipx ensurepath
pipx install git+https://github.com/lightos/Panoptic.git

在 macOS 上,使用 Homebrew:

brew install pipx git
pipx ensurepath
pipx install git+https://github.com/lightos/Panoptic.git

在 Windows 上,需先安装 Python 和 Git:

py -m pip install --user pipx
py -m pipx ensurepath
py -m pipx install git+https://github.com/lightos/Panoptic.git

然后打开一个新终端并检查其是否正常工作:

panoptic --version

使用 pipx upgrade panoptic 进行更新。不要运行 pip install panoptic:该 PyPI 名称属于一个无关的项目。

使用 uv

如果你的系统 Python 版本低于 3.11(例如在 Ubuntu 22.04 上),请改用 uv。它会自行下载合适的 Python 版本:

curl -LsSf https://astral.sh/uv/install.sh | sh
source "$HOME/.local/bin/env"
uv tool install git+https://github.com/lightos/Panoptic.git

然后打开一个新终端并运行 panoptic --version。使用 uv tool upgrade panoptic 进行更新。

从 git 检出运行

要从克隆的仓库运行 Panoptic(例如为了对其进行开发),请将其安装到 检出目录内的虚拟环境中。在 Debian 和 Ubuntu 上,这需要先执行 sudo apt install python3-venv。

git clone https://github.com/lightos/Panoptic.git
cd Panoptic
python3 -m venv .venv
.venv/bin/python -m pip install -e ".[dev]"
.venv/bin/panoptic --version

以 .venv/bin/panoptic 运行它,或在每个新终端中运行 source .venv/bin/activate,以便直接使用 panoptic 和 python panoptic.py。在 Windows 上,请改用 .venv\Scripts\python 和 .venv\Scripts\panoptic。可编辑安装使 Panoptic 与检出目录保持连接,因此 panoptic --update 可以就地更新它。

用法

panoptic --url "http://target/include.php?file=test.txt"

示例

基于参数的基本 LFI

panoptic --url "http://target/include.php?file=test.txt"
panoptic --url "http://target/include.php?file=test.txt&id=1" \
  --param file

POST 数据注入

panoptic --url "http://target/include.php" \
  --data "file=test.txt&id=1" --param file

基于路径的 LFI

文件路径会替换 URL 路径的最后一段。诸如 ../ 之类的遍历序列会按原样发送。Panoptic 不会将其规范化去除,尽管目标服务器可能会这样做。

panoptic --url "http://target/view.php/test.txt" --path-based
panoptic --url "http://target/files/view/test.txt" --path-based \
  --prefix "../" --multiplier 6

Base64 编码参数

panoptic --url "http://target/load.php?file=dGVzdC50eHQ=" \
  --base64 --auto

Cookie 注入(FUZZ 标记)

panoptic --url "http://target/page.php" \
  --header "Cookie: lang=FUZZ" --auto

JSON 请求体注入(FUZZ 标记)

panoptic --url "http://target/api/load" \
  --data '{"file":"FUZZ"}' --auto

自定义标头注入(FUZZ 标记)

panoptic --url "http://target/page.php" \
  --header "X-Template: FUZZ" --auto

扩展参数

panoptic --url "http://target/view.php?file=test&type=txt" \
  --param file --ext-param type

使用前缀绕过过滤器

panoptic --url "http://target/filtered.php?file=test.txt" \
  --prefix "....//....//....//....//"

编码遍历(WAF / 单次解码绕过)

前缀按原样发送,因此编码后的遍历序列会原封不动地到达目标。例如,在 ..%252f 中,点是字面量,只有斜杠被双重编码:第一次解码将 %252f 变为 %2f,因此只解码一次的过滤器看不到 ../,而应用程序的第二次解码会将其变为 /:

panoptic --url "http://target/files/view/test.txt" --path-based \
  --prefix "..%252f" --multiplier 6

像 %2e%2e%2f 这样的单次编码前缀在解码一次后会变成 ../。它只对检查原始未解码请求的过滤器有效:

panoptic --url "http://target/include.php?file=test.txt" \
  --prefix "%2e%2e%2f" --multiplier 6

过滤后的扫描

panoptic --url "http://target/include.php?file=test.txt" \
  --os "*NIX" --type conf
panoptic --url "http://target/include.php?file=test.txt" \
  --software PostgreSQL

支持断点续传的 JSON 输出

panoptic --url "http://target/include.php?file=test.txt" \
  --output-format json --output-file results.json \
  --resume-file scan.checkpoint

保存检索到的文件

panoptic --url "http://target/include.php?file=test.txt" \
  --write-files --output-dir loot

每个找到的文件都会保存在 --output-dir 下(默认为 ./output),并尽可能剥离外围页面模板。文件名会经过清理,并保留在输出目录内。

忽略 SSL 错误的代理

panoptic --url "https://target/include.php?file=test.txt" \
  --proxy "socks5://127.0.0.1:9050" --invalid-ssl

列出可用过滤器

panoptic --list software
panoptic --list category
panoptic --list os

全面扫描

panoptic --url "http://target/include.php?file=test.txt" \
  --auto --all-versions --concurrency 8

FUZZ 标记

在 --header 或 --data 值中的任意位置放置 FUZZ 以标记注入点。扫描期间,Panoptic 会将 FUZZ 替换为每个文件路径。这样便可测试 --param 无法触及的注入点:

注入类型示例
Cookie 值--header "Cookie: theme=FUZZ"
自定义请求头--header "X-Include: FUZZ"
JSON 请求体--data '{"template":"FUZZ"}'
嵌套值--header "Cookie: sid=abc; lang=FUZZ"

当存在 FUZZ 时,无需使用 --param。

配置

Panoptic 支持使用 TOML 配置文件来保存持久化设置:

panoptic --url "http://target/include.php?file=test.txt" \
  --config ~/.config/panoptic/config.toml

默认配置文件位置:~/.config/panoptic/config.toml(存在时会自动加载,即使未指定 --config)。

[defaults]
# Any long option name (with dashes as underscores) is accepted here,
# including the target and output destinations.
url = "http://target/include.php?file=test.txt"
concurrency = 8
verbose = true
automatic = true
all_versions = true
output_format = "json"
output_file = "results.json"
log_file = "scan.log"
resume_file = "scan.checkpoint"

[proxy]
url = "socks5://127.0.0.1:9050"

[headers]
user_agent = "Mozilla/5.0"
cookie = "sid=foobar; auth=1"
values = ["X-Forwarded-For: 127.0.0.1"]

优先级:CLI 参数 > 配置文件 > 内置默认值。

配置支持的目标与输出选项

[defaults] 表接受任意扫描选项,而不仅仅是性能调优。具体来说,你可以持久化设置:

  • url — 默认目标(每次运行时用 --url 覆盖)
  • output_format、output_file — 机器可读结果的输出位置
  • log_file — 将控制台输出镜像到文件
  • resume_file — 可恢复扫描的检查点位置

Panoptic 写入的敏感产物——日志文件、结果/列表输出文件,以及任何通过 --write-files 保存的文件——在 POSIX 上被强制设置为仅所有者可访问的 0600 权限。暴露 O_NOFOLLOW 的平台还会在最终路径组件处原子性地拒绝已存在的符号链接。在没有 O_NOFOLLOW 的平台上,Panoptic 会执行尽力而为的预打开符号链接/联接检查,但该检查无法消除竞态条件。Windows 模式位不会配置 NTFS ACL,因此当产物可能包含敏感数据时,请使用适当受限的目录。

在命令行上覆盖配置布尔值

下载工具

最受欢迎

查看全部 →

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

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    546
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    477
  • 3

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    377
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    324
  • 5

    estorides

    grisuno/estorides

    并行聚合 99+ 个免费 OSINT 来源,将实体解析为知识图谱,并借助 LLM 辅助分析导出 STIX 2.1、MISP 或 GraphML。

    269
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    252

探索所有工具

浏览我们的工具集合

查看所有工具 →