破解密码原则:只删除密码 ,不破坏配置
#本文中的#号表示注释的意思
#第一步. 连接交换机的console口到终端
#第二步. 按住交换机面板上的mode键的同时 插入电源,直到sys灯不闪,常亮再松开mode键
C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(6)EA2c, RELEASE SOFTWARE (fc1)                                                                            
Compiled Thu 28-Feb-02 14:59 by antonino                                       
WS-C2950C-24 starting...                       
Base ethernet MAC Address: 00:09:e8:b4:45:40                                           
Xmodem file system is available.                               
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  
----------------------------------    
#
#flash_init   :初始化flash文件系统
#load_helper  :加载帮助文件
#boot         :启动设备进入正常的模式
switch: flash_init
#第三步 这里我们选择初始化 flash
Initializing Flash...                    
flashfs[0]: 17 files, 2 directories                                  
flashfs[0]: 0 orphaned files, 0 orphaned directories                                                   
flashfs[0]: Total bytes: 7741440                               
flashfs[0]: Bytes used: 4502528                              
flashfs[0]: Bytes available: 3238912                                   
flashfs[0]: flashfs fsck took 7 seconds.                                       
...done initializing flash.                          
Boot Sector Filesystem (bs:) installed, fsid: 3                                              
Parameter Block Filesystem (pb:) installed, fsid: 4
switch: rename flash:config.text flash:config.old
#第四步 改名含有password的配置文件
switch: boot
#第五步 启动交换机
Loading "flash:c2950-i6q4l2-mz.121-9.EA1.bin"...################################         
Done initializing flashfs.                         
POST: System Boa
##################################################ST: Ethernet Controller                        
nt: 0x80010000 interface(s)
executing...           
              Restricted Rights Legendted non-volatile configuration memory.
Use, duplication, or disclosure by the Government is        
Base ethernet MAC Address: 00:09:E8:B4:45:
subject to restrictions as set forth in subparagraphboard assembly number: 73-5750-10                  
(c) of the Commercial Computer Software - Restricted5-01                                   
Motherboard
Rights clause at FAR sec. 52.227-19 and subparagraph           
Power supply serial n                 
           170 West Tasman Drive type vlan                     
           San Jose, California 95134-1706        
00:00:17: %SYS-5-CONFIG_I: Confi
Cisco Internetwork Operating System Software                                       
00:
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(9)EA1, RELEASE SOFTWARE (     
Cisco Internetwork Operating System Software                            
fc1)   
Copyright (c) 1986-2002 by cisco Systems, Inc., Version 12.1(9)EA1, RELEASE SOFTWARE (     
Compiled Wed 24-Apr-02 06:57 by antonino                                
fc1) 
Image text-base: 0x80010000, data-base: 0x804E8000                                           
Compi
Initializing flashfs... antonino             
flashfs[1]: flashfs fsck took 7 seconds.40                                     
flashfs[1]: Initialization complete.e.                               
I
Done initializing flashfs.             
flashfs[0]:
POST: System Board Test : Passed                         
flash
POST: Ethernet Controller Test : Passedctories                               
ASIC Initialization Passeds[0]: Total bytes: 7741440
POST: FRONT-END LOOPBACK TEST : Passed[0]: Bytes used: 4502528             
cisco WS-C2950C-24 (RC32300) processor (revision E0) with 20815K bytes of memory        
flashfs[0]: flashfs fsck took 6 second                               
.
Base ethernet MAC Address: 00:09:E8:B4:45:40############################################
Motherboard assembly number: 73-5750-10                                      
Power supply part number: 34-0965-01
###################################
Motherboard serial number: FOC062403UM######                               
System serial number: FOC0624X14E
         --- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: n                                  
#第七步 选择n然后回车然后我们就会绕过原来的password
Switch>
Switch>
#八  进入特权模式
Switch>en
#这时开机已经忽略了password
Switch#rename flash:config.old flash:config.text
#第九步 恢复交换机配置文件
Destination filename [config.text]?
Switch#copy flash:config.text system:running
Switch#copy flash:config.text system:running-config
#第十步 copy 配置文件到当前系统中
Destination filename [running-config]?
1542 bytes copied in 1.704 secs (1542 bytes/sec)
Switch#
#########################################################################
Current configuration : 1522 bytes                                 
!

#十一步 修改口令
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#username root password cisco
Switch(config)#enable secret cisco
Switch(config)#line cons 0
Switch(config-line)#pass cisco
Switch(config-line)#login
Switch(config-line)#exit
Switch(config)#
-------------
Switch(config)#exit
Switch#
00:05:47: %SYS-5-CONFIG_I: Configured from console by console
Switch#copy run start
#十二步 保存配置
Destination filename [startup-config]?
Building configuration...
[OK]
Switch#
-=--------
Switch#reload
#重新启动
-----------
Press RETURN to get started!
00:00:14: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
00:00:17: %SYS-5-CONFIG_I: Configured from memory by console
00:00:17: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(9)EA1, RELEASE SOFTWARE (
fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Wed 24-Apr-02 06:57 by antonino
00:00:18: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively do
wn
00:00:19: %LINEPRO
User Access Verification
Password: TO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
Password:
Switch>en
Password:
Switch#

cisco 2950 3550 3750 系列交换机密码破解的更多相关文章

  1. Linux基础系列-系统密码破解

    无引导介质(光盘.iso)救援模式下root密码破解 第一步: GRUB启动画面读秒时按上下方向键,进入GRUB界面 第二步: 使用上下光标键选择要修改的操作系统启动内核(默认选择的即可),按e键进行 ...

  2. Cisco2960 交换机密码破解方法

    1. 启用超级终端并出现连接界面2. 拔掉交换机的电源3. 按下交换机上的 Mode按钮, 与此同时重新插上交换机的电源线4. 当交换机左边的sys 灯会慢慢的闪动, ( 细心的话会发现部分灯红色的闪 ...

  3. Linux之RHEL7root密码破解(三)

    Linux系列root密码破解第三种方式,利用修改boot分区里的开机启动顺序来修改密码,即我们进入BIOS,修改boot启动顺序为CD-ROM: 接下来按F10保存退出 选择Troubleshoot ...

  4. Cisco SG300系列交换机划分VLan与普通路由器连接配置

    思科SG300系列三层交换机是针对中小企业设计的一款产品,Marvell 主控和128M Ram,最大支持52个千兆RJ45端口和2个SFP端口,因公司业务需求,最近也进行了解和配置,具体型号为 SG ...

  5. CISCO-路由器交换机密码恢复

    路由器密码恢复: 准备工作:一台PC跟一台路由器用console线相连 工作原理:如果忘记密码被锁在路由器外,通过修复寄存器值来进行修复 默认的寄存器值为0x2102(关闭的),若要恢复口令需要开启这 ...

  6. Kali Linux Web 渗透测试视频教程— 第十三课-密码破解

    Kali Linux Web 渗透测试— 第十三课-密码破解 文/玄魂 目录 Kali Linux Web 渗透测试— 第十三课-密码破解............................... ...

  7. [转]Linux下的暴力密码破解工具Hydra详解

    摘自:http://linzhibin824.blog.163.com/blog/static/735577102013144223127/ 这款暴力密码破解工具相当强大,支持几乎所有协议的在线密码破 ...

  8. MD5 密码破解 碰撞 网站

    MD5反向查询网站 http://www.cmd5.com/ 文件MD5值查询网站 http://www.atool.org/file_hash.php 个人对密码破解的理解 1.使用MD5对密码加密 ...

  9. 华为QUIDWAY系列交换机的console重置

    作者:邓聪聪 华为QUIDWAY系列交换机的console重置 这里以华为QUIDWAY S3700密码清除为例: 各位看官请自行注意,这是两个不同版本设备的重置方法. 一:方法1 首先在电脑上新建一 ...

随机推荐

  1. Merge into的使用详解-你Merge了没有【转】

    Merge是一个非常有用的功能,类似于Mysql里的insert into on duplicate key. Oracle在9i引入了merge命令, 通过这个merge你能够在一个SQL语句中对一 ...

  2. 【ORACLE】“System.Exception: System.Data.OracleClient 需要 Oracle 客户端软件 version 8.1.7 或更高版本。”解决办法

    我的电脑是win10.64位.问题如题,在网上找了很多办法都没搞好,如下: 1.给oracle目录设置“Authenticated Users”用户的“读取/写入”权限 2.IIS网站物理路径凭据添加 ...

  3. SVD分解技术数学解释

    SVD分解 SVD分解是LSA的数学基础,本文是我的LSA学习笔记的一部分,之所以单独拿出来,是因为SVD可以说是LSA的基础,要理解LSA必须了解SVD,因此将LSA笔记的SVD一节单独作为一篇文章 ...

  4. RPC学习

    之前有一篇文章,说了RPC的内容: http://www.cnblogs.com/charlesblc/p/6214391.html 如果有一种方式能让我们像调用本地服务一样调用远程服务,而让调用者对 ...

  5. bootstrap复习:组件

    一.下拉菜单 1.实例:将下拉菜单触发器和下拉菜单都包裹在 .dropdown 里,或者另一个声明了 position: relative; 的元素.然后加入组成菜单的 HTML 代码.为下拉菜单的父 ...

  6. lua中获取时间

    os.date()    返回  XX/XX/XX XX:XX:XX 月/日/年    时:分:秒 os.time()   返回的是从1970年1月1日到现在的经过的秒数. 例如: print(os. ...

  7. ActiveMQ in Action(3) - Persistence

    关键字: activemq 2.3 Persistence2.3.1 AMQ Message Store    AMQ Message Store是ActiveMQ5.0缺省的持久化存储.Messag ...

  8. PHP7新功能及语法变化总结

    1.标量类型声明有两种模式: 强制 (默认) 和 严格模式. 现在可以使用下列类型参数(无论用强制模式还是严格模式): 字符串(string), 整数 (int), 浮点数 (float), 以及布尔 ...

  9. LeetCode OJ 53. Maximum Subarray

    Find the contiguous subarray within an array (containing at least one number) which has the largest ...

  10. Python 学习笔记7

    今天很残酷,明天很残酷,后天很美好.但绝大多数人会死在明天的路上.只有真正的勇士才能看到后天的太阳! Python学习是枯燥的.但是一定要坚持! 昨天学习了数据结构和模块. 今天学习输入和输出.错误与 ...