43fdw 发表于 2014-12-1 09:28:51

Cisco交换机密码破解

重启交换机,摁MODE键

switch:flash_init

switch:dir flash:

switch:rename flash:config.text flash:config.old

switch:boot

Would you like to enter the initial configuration dialog? : n
Switch>en

Switch>enable
Switch#dir

Directory of flash:/

    2-rwx      1915   Mar 1 1993 00:07:55 +00:00private-config.text
    3-rwx         804   Mar 1 1993 01:55:43 +00:00vlan.dat
    4-rwx      2344   Mar 1 1993 00:07:55 +00:00config.old
    5-rwx      3096   Mar 1 1993 00:07:55 +00:00multiple-fs
    6drwx         192   Mar 1 1993 00:07:12 +00:00c2960-lanbasek9-mz.122-44.SE6

Switch#rename flash:config.old flash:config.text
Destination filename ?

Switch#copy flash:config.text system:running-config
Destination filename ?

sw1#sh run

sw1(config)#no enable secret

sw1(config)#no enable password

sw1#write
Building configuration...
   
sw1#reload

Loading "flash:c2960-lanbasek9-mz.122-44.SE6/c2960-lanbasek9-mz.122-44.SE6.bin@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
ion saved to NVRAM
sw1>
页: [1]
查看完整版本: Cisco交换机密码破解