企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
--- 工具名称: copy-router-config 所属分类: Information Gathering 标签: [copy-router-config,snmp,kali linux,vulnanalysis,information gathering,networking] 创建时间: 2016-10-19 22:00:00 --- 0x00 copy-router-config介绍 ------------- 从运行SNMP的思科设备复制配置文件 工具来源:braa README [copy-router-config主页][1] | [Kali copy-router-config Repo仓库][2] - 作者:muts - 证书:GPLv2 0x01 copy-router-config功能 --------------- copy-router-config.pl - 通过SNMP协议复制Cisco配置 ```shell root@kali:~# copy-router-config.pl ###################################################### # Copy Cisco Router config - Using SNMP # Hacked up by muts - muts@offensive-security.com ####################################################### 用法 : ./copy-copy-config.pl <路由IP> <tftp服务器IP> <社区字符串> 确保TFTP服务器已设置,最好从/tmp运行! ``` 注:社区字符串(community string)是一个用在基于简单网络管理协议(SNMP)的管理系统的概念,是一个起着密码作用的文本串,其被用来鉴别在管理站点和一个包含SNMP信息的代理的路由器之间的信息发送。并将被发送到在管理器和代理之间的每个数据包。 0x02 merge-router-config功能 -------------------------- merge-router-config.pl - 通过SNMP协议合并Cisco配置 ```shell root@kali:~# merge-router-config.pl ###################################################### # Merge Cisco Router config - Using SNMP # Hacked up by muts - muts@offensive-security.com ####################################################### 用法 : ./merge-copy-config.pl <路由IP> <tftp服务器IP> <社区字符串> 确保TFTP服务器已设置,最好从/tmp运行! ``` 0x03 copy-router-config用法示例 ----------------- 将配置从路由器(192.168.1.1)复制到TFTP服务器(192.168.1.15),使用社区字符串(private)进行认证: ```shell root@kali:~# copy-router-config.pl 192.168.1.1 192.168.1.15 private ``` 0x04 merge-router-config用法示例 ----------------- 将配置从路由器(192.168.1.1)合并到TFTP服务器(192.168.1.15),使用社区字符串(private): ```shell root@kali:~# merge-router-config.pl 192.168.1.1 192.168.1.15 private ``` [1]: http://www.offensive-security.com/ [2]: http://git.kali.org/gitweb/?p=packages/copy-router-config.git;a=summary