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

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

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

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

工具目录

分类

查看所有分类
Loading categories
Cisco-Smart-Exploit — Cisco SmartInstall 漏洞利用 [CVE-2018-0171] | Kitploit
工具/GitHubGitHub/alrikrr/cisco-smart-exploit
密码破解侦察漏洞分析漏洞利用配置审计网络安全
GitHubalrikrr/cisco-smart-exploit

Cisco-Smart-Exploit

Cisco SmartInstall 漏洞利用 [CVE-2018-0171]

查看仓库
18733年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Cisco-Smart-Exploit

Cisco SmartInstall 漏洞利用 CVE-2018-0171

灵感来自 C. Papathanasiou 的 PoC

此 Python 3 脚本使用 Cisco 设备上运行 SmartInstall 的 4786 端口来利用 CVE-2018-0171。借助此漏洞利用,攻击者可以制作有效载荷,将其发送到 Cisco 设备,然后提取 running-config 文件的内容。

Cisco Smart Exploit 脚本可以:

  • 提取 running-config 文件
  • 解析 并 解密 类型 7 加密哈希
  • 解析 明文密码
  • 解析 所有的 Community String

脚本使用场景

依赖要求

以下是使用该脚本所需的依赖列表:

  • tftpy==0.8.2
  • c7decrypt 用于解密类型 7 密码
    • gem install c7decrypt

使用方法

root@kitploit:~
 __     __   __   __      __              __  ___     ___      __        __    ___
/  ` | /__` /  ` /  \    /__`  |\/|  /\  |__)  |     |__  \_/ |__) |    /  \ |  |
\__, | .__/ \__, \__/    .__/  |  | /~~\ |  \  |     |___ / \ |    |___ \__/ |  |
by @AlrikRr

usage: cisco-se.py [-h] (-i IP | -f FILE | -c CONFIG)

optional arguments:
  -h, --help  show this help message and exit
  -i IP       Single IP Address
  -f FILE     File that contains IP list
  -c CONFIG   running-config File standalone

示例:

root@kitploit:~
python3 cisco-se.py -i 192.168.10.1

python3 cisco-se.py -f ip_list.txt

python3 cisco-se.py -c running-config.txt

Nmap 输出 IP 列表

对于 -f FILE 选项,以下是使用 nmap 的示例:

root@kitploit:~
nmap -p 4786 10.20.30.0/24 --open -Pn -oG - | awk '/Up$/{print $2}' > ip_list.txt

待办事项

  • 处理某些 IP 在 client.download() 期间出现的超时错误
下载工具