歡迎您光臨本站 註冊首頁

Cisco2960交換機密碼破解方法

←手機掃碼閱讀     火星人 @ 2014-03-09 , reply:0
1.啟用超級終端並出現連接界面 2.拔掉交換機的電源.
3.按下交換機上的Mode按鈕,與此同時,重新插上交換機的電源線.
4.當交換機左邊的sys燈會慢慢的閃動,(細心的話會發現部分燈紅色的閃過),按住mode按鈕直到sys燈不閃動(常亮狀態).否則提前鬆開的按鈕的話會直接進入正常的啟動,必須跳回步驟2重來.
5.可以鬆開Mode按鈕
之後系統將顯示一些指示信息:
The system has been interrupted prior to initializing the flash file system. The following
commands will initialize the flash file system, and finish loading the operating system
software:
flash_init /---初始化flash文件系統---/
load_helper /---載入幫助文件---/
boot /---啟動設備進入正常的模式---/ 步驟:
switch:
Switch:flash_init
Switch:dir flash: /---查看Flash的文件名字可以用來確認文件名為config.text---/
Switch:rename flash:config.text flash:oldconfig.text/---把配置文件重命名,當然你可以不改為oldconfig.text,只要文件名和原來的不相同就可以---/
Switch:boot /---手動啟動交換機---/
由於配置文件改過了,交換機找不到默認的config.text而出現配置的對話嚮導,選擇n然後回車然後我們就會繞過原來的password而進入到:
Switch>
Switch>en /--可以進入特權模式--/
Switch#rename flash:oldconfig.text flash:config.text /---恢復交換機配置文件---/
Switch#copy flash:config.text system:running-config /---保存配置到DRAM里---/
Switch#config t 這時就可以設置新的password為cisco Switch(config)# enable passwordcisco Switch(config)# enable secret CISCO Switch(config)#line con 0 Switch(config)#password cisco Switch#copy run start 或用下面方法暫時清空密碼,待以後再做設置
Switch(config)#no enable password /---幹掉特權模式舊密碼---/


Switch(config)#no enable secret /---幹掉加秘密碼---/
Switch(config)#exit
Switch#copy run start /---把當前配置的文件寫回Flash---/
用這個方法修改密碼不會把原來的配置文件內容清掉.特別是一個現成的大型網路里已經在運行的交換機,這樣比較保險點.


[火星人 ] Cisco2960交換機密碼破解方法已經有489次圍觀

http://coctec.com/docs/security/show-post-58906.html