cheng029 发表于 2012-8-27 09:01:47

Cisco交换机密码破解方法

1.拔掉交换机的电源.
    2.按下交换机上的Mode按钮,与此同时,重新插上交换机的电源线.
   3.当交换机左边的sys灯会慢慢的闪动,(细心的话会发现部分灯红色的闪过),按住mode按钮直到sys灯不闪动(常亮状态).否则提前松开的按钮的话会直接进入正常的启动,必须跳会步骤2.
    4.可以松开Mode按钮
    之后系统将显示一些指示信息:
    The system has been interrupted prior to initializing theflash file system. The following
    commands will initialize the flash file system, and finishloading the operating system
    software:
    flash_init   /---初始化flash文件系统---/
    load_helper/---加载帮助文件---/
    boot         /---启动设备进入正常的模式---/
    步骤:
    switch:
    Switch:flash_init      /这步一定要要,不然发生访问受限错误
    Switch:dir flash:      /---查看Flash的文件名字可以用来确认文件名为config.text---/
    Switch:rename flash:config.textflash:config.text.old/---把配置文件重命名,当然你可以不改为config.text.old,只要文件名和原来的不相同就可以---/
    Switch:boot         /---手动启动交换机---/
   由于配置文件改过了,所以交换机找不到默认的config.text而出现配置的对话向导,选择n然后回车然后我们就会绕过原来的password而进入到:
    Switch>
    Switch>en   /--可以进入特权模式--/
    Switch#rename flash:config.text.oldflash:config.text    /---恢复交换机配置文件---/
    Switch#copy flash:config.textsystem:running-config/---保存配置到DRAM里---/
    Switch#config t
    Switch(config)#no enablepassword             /---干掉特权模式旧密码/
    Switch(config)#no enablesecret               /---干掉加秘密码---/
    Switch(config)#exit
    Switch#copy run start         /---把当前配置的文件写回NVram---/
   用这个方法修改密码不会把原来的配置文件内容清掉。特别是一个现成的大型网络里已经在运行的交换机,这样比较保险点。


zhendeaini123 发表于 2013-3-14 04:50:23

不知该说些什么。。。。。。就是谢谢

megnlingling 发表于 2013-5-16 04:57:22

不在课堂上沉睡,就在酒桌上埋醉。

zjxhx 发表于 2013-5-18 20:35:37

流氓不可怕,就怕流氓有文化。

inushome 发表于 2013-5-21 18:43:40

写的真的很不错

yanqiufang 发表于 2013-5-25 04:39:32

爱——不是想出来的,爱——是做出来的!!

24cun_cn 发表于 2013-5-29 19:38:50

怀揣两块,胸怀500万!
页: [1]
查看完整版本: Cisco交换机密码破解方法