cisco catalyst4506E交換機密碼破解教程
用戶實際環(huán)境中的一臺思科4506交換機無法登錄,由于維護(hù)人員也不記得修改后的密碼,只能對系統(tǒng)進(jìn)行破解。接下來是小編為大家收集的cisco catalyst 4506E交換機密碼破解教程,希望能幫到大家。
cisco catalyst 4506E交換機密碼破解教程
環(huán)境:
Cisco Catalyst 4506E交換機,引擎為WS-X45-SUP8-E,系統(tǒng)版本是cat4500es8-UNIVERSAL-M
破解步驟:
重啟交換機,按ctrl+c中止交換機的啟動過程,如下所示:
Verifying FPGA (P) Signature ...................... PASSED
Verifying ROMMON (P) Signature ......... PASSED
************************************************************
* *
* Rom Monitor *
* Copyright (c) 2012-2013 by Cisco Systems, Inc. *
* All rights reserved. *
* *
************************************************************
Rom Monitor (P) Version 15.1(1r)SG1
Compiled Wed 14-Aug-13 17:15 [RLS]
System : WS-X45-SUP8-E Slot [1]
Chassis : WS-C4506*E Mod [3][6]
Revision : CPU 2.1 BOARD 4.0 FPGA 3.15F2.9155
Memory : 4096 MB
Date : Sun Mar 05 21:32:01 2017
Type Control-C to prevent autobooting....
[CTRL-C]
Autoboot cancelled.........!!!
rommon 0 >
通過set命令查看系統(tǒng)當(dāng)前的環(huán)境變量如下所示:
rommon 0 >set
PS1=rommon ! >
Fa1Enable=1
RommonVer=15.1(1r)SG1
ConfigReg=0x2101
BOOT=bootflash:cat4500es8-universal.SPA.03.03.00.XO.151-1.XO.bin,1;
DiagMonitorAction=Normal
RET_2_RTS=14:59:24 GMT Sat Aug 27 2016
RET_2_RCALTS=
BootedFileName=flash1:/USER/cat4500es8-universal.SPA.03.03.00.XO.151-1.XO.bin
ConsecPostPassedCnt=34
注意寄存器值是0x2101
使用confreg命令對系統(tǒng)進(jìn)行配置,如下所示:
rommon 1 >confreg
Configuration Summary :
=> load rom after netboot fails
=> console baud: 9600
=> autoboot from: the first file from internal flash device
do you wish to change the configuration? y/n [n]: y
enable "diagnostic mode"? y/n [n]: n
enable "use net in IP bcast address"? y/n [n]:
disable "load rom after netboot fails"? y/n [n]:
enable "use all zero broadcast"? y/n [n]:
enable "break/abort has effect"? y/n [n]:
enable "ignore system config info"? y/n [n]: y
change console baud rate? y/n [n]:
change the boot characteristics? y/n [n]:
Configuration Summary :
=> load rom after netboot fails
=> ignore system config info
=> console baud: 9600
=> autoboot from: the first file from internal flash device
do you wish to save this configuration? y/n [n]: y
You must reset or power cycle for new configuration to take effect
其它選項可以直接回車,配置完之后提示必須重啟才能生效,不過重啟前可以用set命令再次查看一下環(huán)境變量,如下所示:
rommon 2 >set
PS1=rommon ! >
Fa1Enable=1
RommonVer=15.1(1r)SG1
BOOT=bootflash:cat4500es8-universal.SPA.03.03.00.XO.151-1.XO.bin,1;
DiagMonitorAction=Normal
RET_2_RTS=14:59:24 GMT Sat Aug 27 2016
RET_2_RCALTS=
BootedFileName=flash1:/USER/cat4500es8-universal.SPA.03.03.00.XO.151
-1.XO.bin
ConsecPostPassedCnt=34
ConfigReg=0x2141
此時會發(fā)現(xiàn)前后寄存器的值已經(jīng)發(fā)生了變化,可以通過boot命令重啟系統(tǒng)
重啟后:
Press RETURN to get started!
Switch>
此時可以看到系統(tǒng)繞過了配置文件,后面我們可以通過
switch#copy startup-config running-config
將配置加載到系統(tǒng)中,然后通過命令直接修改密碼即可,當(dāng)然在完成后我們必須修改寄存器值
config-register 0x2101
重新啟動系統(tǒng),會發(fā)現(xiàn)密碼已經(jīng)破解完成。
*************************************************************************
其實sup8引擎的密碼破解與其它系列引擎的密碼破解方法相似,可以參照官方的文檔進(jìn)行查看,但是如果是兩臺系統(tǒng)做的VSS,那么密碼破解過程就會有些不同,不過官方也給出了相應(yīng)的文檔,具體請查閱。
cisco catalyst 4506E交換機密碼破解
看了“cisco catalyst 4506E交換機密碼破解教程”還想看: