思科路由器交换机密码破解教程

1. 路由器密码的恢复.

2600、3600等新系列路由器步骤:

复制代码
1、启动路由器,60秒内按下ctrl+break键2、rommon>confreg 0x21423、rommon>reset4、router#copy startup-config running-config5、router(config)#no enable secrect  //可以删除密码也可以更改,这里为删除6、router(config)#no enable password7、router(config)#config-register 0x21028、router#copy  running-config  startup9、router#reload

2500系列路由器步骤:

复制代码
1、启动路由器,60秒内按下ctrl+break键2、>o/r 0x21423、>i其余步骤跟2600、3600一样

2.交换机密码恢复

以2950为例

重启交换机:按MODE键进入到switch:模式 如下

复制代码
C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)Compiled Mon 22-Jul-02 17:18 by antoninoWS-C2950-24 starting...Base ethernet MAC Address: 00:13:1a:9a:2b:80Xmodem file system is available.

The system has been interrupted prior to initializing theflash filesystem.  The following commands will initializethe flash filesystem, and finish loading the operatingsystem software:

    flash_init    load_helper    boot

switch: flash_initInitializing Flash...flashfs[0]: 4 files, 1 directoriesflashfs[0]: 0 orphaned files, 0 orphaned directoriesflashfs[0]: Total bytes: 7741440flashfs[0]: Bytes used: 3090944flashfs[0]: Bytes available: 4650496flashfs[0]: flashfs fsck took 6 seconds....done initializing flash.Boot Sector Filesystem (bs:) installed, fsid: 3Parameter Block Filesystem (pb:) installed, fsid: 4switch: load_helperswitch: dir

List of filesystems currently registered:

               flash[0]: (read-write)              xmodem[1]: (read-only)                null[2]: (read-write)                  bs[3]: (read-only)

switch: dir flash:Directory of flash:/

2    -rwx  736       <date>               vlan.dat3    -rwx  3086336   <date>               c2950-i6q4l2-mz.121-22.EA2.bin5    -rwx  1558      <date>               config.text//交换机启动时应用的配置6    -rwx  5         <date>               private-config.text

4650496 bytes available (3090944 bytes used)switch: rename flash:config.text flash:config-old.txt //重命名config.text switch: reset   //重起交换机Are you sure you want to reset the system (y/n)?ySystem resetting...

重起交换机后由于交换机不会再应用配置文件,因为刚才已把配置文件的名字更改。交换机会进入到配置的对话模式。如查

复制代码
 --- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: nSwitch#dirDirectory of flash:/
    2  -rwx         736  Mar 01 1993 00:19:14 +00:00  vlan.dat    3  -rwx     3086336  Jan 01 1970 01:12:26 +00:00  c2950-i6q4l2-mz.121-22.EA2.bin    5  -rwx        1558  Mar 01 1993 02:36:44 +00:00  config-old.txt    6  -rwx           5  Mar 01 1993 02:36:44 +00:00  private-config.text
7741440 bytes total (4650496 bytes free)
Switch#copy config-old.txt running-configDestination filename [running-config]?1558 bytes copied in 1.152 secs (1352 bytes/sec)sw#config tEnter configuration commands, one per line.  End with CNTL/Z.sw(config)#line console 0sw(config-line)#no pass cisco //清除console口密码sw(config)#no enable secret  //清除enable密码sw(config)#no enable password //清除enable密码sw#write  //重新保存

以上密码删除成功,很多情况下你可以不删除,就直接更改就OK了。

相关推荐
利刃大大3 分钟前
【网络编程】四、守护进程实现 && 前后台作业 && 会话与进程组
linux·网络·c++·网络编程·守护进程
pp-周子晗(努力赶上课程进度版)1 小时前
【计算机网络-数据链路层】以太网、MAC地址、MTU与ARP协议
服务器·网络·计算机网络
asdfg12589631 小时前
在linux系统中,没有网络如何生成流量以使得wireshark能捕获到流量
linux·网络·wireshark
IP管家1 小时前
多级路由器如何避免IP冲突
网络·网络协议·tcp/ip·游戏·智能路由器·ip
久绊A3 小时前
双ISP(双互联网服务提供商)
网络
SZ1701102313 小时前
介质访问控制(MAC)
网络·macos
Xena_Networks4 小时前
屎上雕花系列-2nd
网络
Dream Algorithm4 小时前
路由器WAN口和LAN口
网络·智能路由器
从零开始学习人工智能4 小时前
探索网络设备安全:Shodan 的原理与合法应用
网络·安全·php
KAXA_4 小时前
AGV通信第3期|AGV集群智能应急响应系统:从故障感知到快速恢复
网络·自动化·硬件工程·工业通信