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

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

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

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

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/mxrch/snmp-shell
漏洞利用网络安全渗透测试命令与控制红队远程访问工具
GitHubmxrch/snmp-shell

snmp-shell

基于Net-SNMP扩展功能的Shell模拟

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

SNMP Shell

基于 Net-SNMP 扩展功能的 Shell 模拟

预览如下:

截图

描述

如果目标具有Net-SNMP实例并启用了**"extend"功能,并且你拥有具备写入权限的SNMP community string**,你可以使用此工具自动化通过SNMP RCE发送命令的过程。

该工具会自动将你置于相应路径,以模拟真实的shell。
你还可以使用几乎所有能想到的命令,但那些需要完全交互式shell的命令(如MySQL、Vim、Nano等)除外。
不兼容Windows,抱歉。

安装(Linux)

root@kitploit:~
sudo apt install snmp snmp-mibs-downloader rlwrap -y
git clone https://github.com/mxrch/snmp-shell
cd snmp-shell
sudo python3 -m pip install -r requirements.txt

用法

root@kitploit:~
$ rlwrap python shell.py <IP> -c <community string>

帮助

如果需要发送较长的字符串(如SSH公钥),请使用legacy.py版本。
可发送的字符数有限(SNMP限制)。
提示:使用ed25519 SSH公钥,比RSA公钥更短。

root@kitploit:~
Usage: shell.py [OPTIONS] IP

  Simulates a terminal over Net-SNMP "extend" functionality. Be sure your
  SNMP Community String has write access.

Options:
  -c, --communitystring TEXT  Community string for SNMP
  -v, --version TEXT          SNMP version (1/2c/3)
  -ss, --snmpset TEXT         Path for the snmpset binary
  -sw, --snmpwalk TEXT        Path for the snmpwalk binary
  -h, --help                  Show this message and exit.

参考资料

https://mogwailabs.de/blog/2019/10/abusing-linux-snmp-for-rce/

下载工具