乔山办公网我们一直在努力
您的位置:乔山办公网 > excel表格制作 > 破解excel密码-新拿到一台交换机,不知道密码怎么办,一分钟了解下

破解excel密码-新拿到一台交换机,不知道密码怎么办,一分钟了解下

作者:乔山办公网日期:

返回目录:excel表格制作

一、目标

1、掌握交换机的密码恢复原理(cisco交换机为例)


2、区分交换机和路由器密码恢复的不同


二、步骤

1、设置交换机加密并保存配置


Switch>en


Switch#conf t


Switch(config)#enable password 123


Switch(config)#line console 0


Switch(config-line)#password 123


Switch(config-line)#login


Switch(config-line)#end


注:进入线路中控制台。设置控制台密码。


2.保存配置


Switch#copy running-config startup-config


Destination filename [startup-config]?


Building configuration...


[OK]


Switch#reload


注:保存配置,重启交换机。这次软重启,也可以拔掉交换机电源,然后再接上电源。


当交换机重起时,按住交换机前面板的Mode键不放,显示以下的信息。


3.修改启动文件名


Base ethernet MAC Address: 00:0c:30:51:56:00


Xmodem file system is ava


The system has been interrupted prior to initializing the


flash filesystem. The following commands will initialize


the flash filesystem, and finish loading the operating


system software:




flash_init


load_helper


boot


switch: flash_init-------------------初始化flash。


Initializing Flash...


省略…


Parameter Block Filesystem (pb:) installed, fsid: 4


switch: load_helper


4.查看配置文件


switch: dir flash:-------------显示flash中的文件。


Directory of flash:/


2 -rwx 1193 config.text


3 –rwx 2958970 c2950-i6q4l2-mz.121-14.EA1a.bin


4 drwx 2304 html


79 -rwx 5 private-config.text


2482688 bytes avai (5258752 bytes used)


注:config.text是交换机的启动配置文件,和路由器的startup-config类似。


5.修改配置文件名


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


注:将启动配置文件改名,这样交换机启动时就读不到config.text了,从而没有了密码。


6.重启交换机


switch: boot--------------引导系统,这时不再按住Mode键了。


Loading "flash:/c2950-i6q4l2-mz.121-14.EA1a.bin"...######################################################


7.修改密码


Switch>en


Switch#show flash


Directory of flash:/


2 -rwx 1193 Mar 01 1993 00:01:20 config.old


注:启动文件名被修改所以不会被加载。


3 –rwx 2958970 Mar 01 1993 00:04:42 c2950-i6q4l2-mz.121-14.EA1a.bin


4 drwx 2304 Mar 01 1993 00:05:47 html


79 -rwx 5 Mar 01 1993 00:01:20 private-config.text


Switch#rename flash:config.old flash:config.text


注:将启动的文件名改回到正常的文件名。


Switch#copy flash:config.text running-config


Destination filename [running-config]?


1193 bytes copied in 1.312 secs (909 bytes/sec)


注:将配置文件加载到RAM中。


Switch#conf t


Switch(config)#no enable password-----------删除密码。


Switch(config)#line con 0


Switch(config-line)#no password-------------删除控制台的密码。


Switch(config-line)#no login----------------不要求密码验证。


Switch(config-line)#end


8.保存配置文件


Switch#copy running-config startup-config


Destination filename [startup-config]?


Building configuration...


[OK]


注:将密码删除后的配置文件保存。


Switch#exit


注:退出用户模式,进行验证是否还要求密码验证。或将交换机重新启动检查是否要求密码验证。


Switch con0 is now availe


Press RETURN to get started.


Switch>en


Switch#


注:很明显没要求密码验证。密码已被删除。




本文标签:破解excel密码(29)

相关阅读

关键词不能为空

ppt怎么做_excel表格制作_office365_word文档_365办公网