恢复公司的2800路由器密码
[cc lang=”php”]
//启动按ctrl+break
monitor: command “boot” aborted due to user interrupt
rommon 1 > confreg 0x2142
//修改confreg 0x2142
You must reset or power cycle for new config to take effect
rommon 2 > reset
// 重启系统
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled
Upgrade ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
program load complete, entry point: 0x8000f000, size: 0xcb80
program load complete, entry point: 0x8000f000, size: 0x2671aa0
Self decompressing the image : #################################################
################################################################################
################################################################################
################################################################################
################################################################################
########################################################################### [OK]
Smart Init is enabled
smart init is sizing iomem
ID MEMORY_REQ TYPE
0003E7 0X003DA000 C2811 Mainboard
0X00263F50 Onboard VPN
0X000021B8 Onboard USB
0X002C29F0 public buffer pools
0X00211000 public particle pools
TOTAL: 0X00B13AF8
If any of the above Memory Requirements are
“UNKNOWN”, you may be using an unsupported
configuration or there is a software problem and
system operation may be compromised.
Rounded IOMEM up to: 12Mb.
Using 4 percent iomem. [12Mb/256Mb]
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software – Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9_IVS-M), Version 12.4(
9)T, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Fri 16-Jun-06 22:22 by prod_rel_team
Image text-base: 0x400B100C, data-base: 0x437A0000
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
Installed image archive
Cisco 2811 (revision 49.46) with 249856K/12288K bytes of memory.
Processor board ID FHK1105F29B
2 FastEthernet interfaces
1 Virtual Private Network (VPN) Module
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)
— System Configuration Dialog —
Would you like to enter the initial configuration dialog? [yes/no]: no
//是否进入向导模式?否
Press RETURN to get started!
Feb 27 07:23:47.647: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0 State changed
to: Initialized
Feb 27 07:23:47.651: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0 State changed
to: Enabled
Feb 27 07:23:49.199: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0,
changed state to up
Feb 27 07:23:49.199: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to
up
Feb 27 07:23:49.199: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to
up
Feb 27 07:23:49.203: %LINEPROTO-5-UPDOWN: Line protocol on Interface IPv6-mpls,
changed state to up
Feb 27 07:23:50.199: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEtherne
t0/0, changed state to down
Feb 27 07:23:50.199: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEtherne
t0/1, changed state to down
Feb 27 07:23:54.039: %SYS-5-RESTART: System restarted —
Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9_IVS-M), Version 12.4(
9)T, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techs
Router>upport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Fri 16-Jun-06 22:22 by prod_rel_team
Feb 27 07:23:54.043: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing
a cold start
Feb 27 07:23:54.435: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
Feb 27 07:23:54.439: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
Feb 27 07:23:55.515: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state t
o administratively down
Feb 27 07:23:55.515: %LINK-5-CHANGED: Interface FastEthernet0/1, changed state t
o administratively down
Router>en //进入特权模式
Router#copy start
Router#copy startup-config run //将启动配置载入
Destination filename [running-config]?
000026: Feb 27 07:24:45.403: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI
0, changed state to up
2629 bytes copied in 12.060 secs (218 bytes/sec)
yxrout#conf t //配置模式
Enter configuration commands, one per line. End with CNTL/Z.
yxrout(config)#ena sec cisco //修改enable密码
yxrout(config)#config-re
yxrout(config)#config-register 0x2102 //修改启动模式为正常
yxrout(config)#^Z
yxrout#
000027: Feb 27 07:26:01.687: %SYS-5-CONFIG_I: Configured from console by console
copy run start
Destination filename [startup-config]?
Building configuration…
[OK]
yxrout#sh run
Building configuration…
Current configuration : 2633 bytes
!
! Last configuration change at 07:26:01 UTC Mon Feb 27 2012
! NVRAM config last updated at 07:26:15 UTC Mon Feb 27 2012
!
version 12.4
service config
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
service sequence-numbers
!
hostname yxrout
!
boot-start-marker
boot-end-marker
!
logging buffered 4096 debugging
enable secret 5 $1$YZa2$3Tte1usU4LR79ihJ.Myw2.
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
!
aaa session-id common
!
resource policy
!
!
!
ip cef
!
!
ip domain name yxjt.com
ip ssh version 2
!
!
!
voice-card 0
no dspfarm
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
username hyjk privilege 15 secret 5 $1$3xLL$f7KfRQdvXYpTcdn2Zycb6/
username test@cisco.com password 7 020E1D5100545F711A400C0D44
!
!
!
!
!
!
!
interface FastEthernet0/0
description $FW_OUTSIDE$
bandwidth 10000000
ip address 60.6.228.103 255.255.255.128
ip nat outside
ip virtual-reassembly
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
description $FW_INSIDE$
ip address 192.168.1.254 255.255.255.0
ip nat inside
ip virtual-reassembly
rate-limit output access-group 121 2000000 1000000 1000000 conform-action trans
mit exceed-action drop
rate-limit output access-group 122 2000000 1000000 1000000 conform-action trans
mit exceed-action drop
shutdown
duplex auto
speed auto
!
ip local pool l2tp 10.1.1.100 10.1.1.150
ip route 0.0.0.0 0.0.0.0 60.6.228.126
ip route 192.168.0.0 255.255.255.0 192.168.1.8
ip route 192.168.2.0 255.255.255.0 192.168.1.8
!
!
ip http server
no ip http secure-server
ip nat inside source list 1 interface FastEthernet0/0 overload
ip nat inside source static tcp 192.168.1.10 110 interface FastEthernet0/0 110
ip nat inside source static tcp 192.168.1.10 25 interface FastEthernet0/0 25
ip nat inside source static tcp 192.168.1.10 21 interface FastEthernet0/0 21
ip nat inside source static tcp 192.168.1.10 80 60.6.228.103 80 extendable
ip nat inside source static udp 192.168.1.10 80 60.6.228.103 80 extendable
!
access-list 1 remark SDM_ACL Category=2
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 1 permit 192.168.0.0 0.0.0.255
access-list 1 permit 192.168.2.0 0.0.0.255
access-list 120 permit ip 192.168.2.0 0.0.0.255 any
access-list 121 permit ip any 192.168.1.0 0.0.0.255
access-list 122 permit ip any 192.168.0.0 0.0.0.255
priority-list 1 protocol ip high list 120
priority-list 1 queue-limit 40 30 20 10
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
line aux 0
line vty 0 4
password 7 011B1F0E5005031B
!
scheduler allocate 20000 1000
!
end
yxrout# conf t
Enter configuration commands, one per line. End with CNTL/Z.
yxrout(config)#username hyjk privilege 15 secret cisco //修改用户的密码
yxrout(config)#exit
yxrout#co
000028: Feb 27 07:29:20.215: %SYS-5-CONFIG_I: Configured from console by console
py run start
Destination filename [startup-config]?
Building configuration…
[OK]
yxrout#reload //重新启动
Proceed with reload? [confirm]
000029: Feb 27 07:29:44.391: %SYS-5-RELOAD: Reload requested by console. Reload
Reason: Reload Command.
System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.
Initializing memory for ECC
.
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled
Upgrade ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
program load complete, entry point: 0x8000f000, size: 0xcb80
program load complete, entry point: 0x8000f000, size: 0x2671aa0
Self decompressing the image : #################################################
################################################################################
################################################################################
################################################################################
################################################################################
########################################################################### [OK]
Smart Init is enabled
smart init is sizing iomem
ID MEMORY_REQ TYPE
0003E7 0X003DA000 C2811 Mainboard
0X00263F50 Onboard VPN
0X000021B8 Onboard USB
0X002C29F0 public buffer pools
0X00211000 public particle pools
TOTAL: 0X00B13AF8
If any of the above Memory Requirements are
“UNKNOWN”, you may be using an unsupported
configuration or there is a software problem and
system operation may be compromised.
Rounded IOMEM up to: 12Mb.
Using 4 percent iomem. [12Mb/256Mb]
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software – Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9_IVS-M), Version 12.4(
9)T, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Fri 16-Jun-06 22:22 by prod_rel_team
Image text-base: 0x400B100C, data-base: 0x437A0000
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
Installed image archive
Cisco 2811 (revision 49.46) with 249856K/12288K bytes of memory.
Processor board ID FHK1105F29B
2 FastEthernet interfaces
1 Virtual Private Network (VPN) Module
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)
%Error opening tftp://255.255.255.255/network-confg (Timed out)
%Error opening tftp://255.255.255.255/cisconet.cfg (Timed out)
%Error opening tftp://255.255.255.255/yxrout-confg (Timed out)
%Error opening tftp://255.255.255.255/network-confg (Timed out)
%Error opening tftp://255.255.255.255/yxrout.cfg (Timed out)
Press RETURN to get started!
Feb 27 07:31:22.635: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0 State changed
to: Initialized
Feb 27 07:31:22.639: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0 State changed
to: Enabled
Feb 27 07:31:24.187: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0,
changed state to up
Feb 27 07:31:24.187: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to
up
Feb 27 07:31:24.187: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to
up
Feb 27 07:31:24.187: %LINEPROTO-5-UPDOWN: Line protocol on Interface IPv6-mpls,
changed state to up
Feb 27 07:31:25.187: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEtherne
t0/0, changed state to down
Feb 27 07:31:25.187: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEtherne
t0/1, changed state to down
000020: Feb 27 07:31:27.251: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI
0, changed state to up
000021: Feb 27 07:31:38.223: %SYS-5-CONFIG_I: Configured from memory by console
000022: Feb 27 07:31:39.923: %LINK-5-CHANGED: Interface FastEthernet0/0, changed
state to administratively down
000023: Feb 27 07:31:39.991: %LINK-5-CHANGED: Interface FastEthernet0/1, changed
state to administratively down
000024: Feb 27 07:32:19.699: %SYS-4-CONFIG_RESOLVE_FAILURE: System config parse
from (tftp://255.255.255.255/network-confg) failed
000025: Feb 27 07:33:00.699: %SYS-4-CONFIG_RESOLVE_FAILURE: System config parse
from (tftp://255.255.255.255/cisconet.cfg) failed
000026: Feb 27 07:33:41.699: %SYS-4-CONFIG_RESOLVE_FAILURE: System config parse
from (tftp://255.255.255.255/yxrout-confg) failed
000027: Feb 27 07:34:11.699: %SYS-4-CONFIG_RESOLVE_FAILURE: System config parse
000027: Feb 27 07:34:11.699: %SYS-4-CONFIG_RESOLVE_FAILURE: System config parse
000028: Feb 27 07:34:22.699: %SYS-4-CONFIG_RESOLVE_FAILURE: System config parse
from (tftp://255.255.255.255/yxrout.cfg) failed
000029: Feb 27 07:34:22.699: %SYS-5-RESTART: System restarted —
Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9_IVS-M), Version 12.4(
9)T, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Fri 16-Jun-06 22:22 by prod_rel_team
000030: Feb 27 07:34:22.707: %SNMP-5-COLDSTART: SNMP agent on host yxrout is und
ergoing a cold start
000031: Feb 27 07:34:22.919: %SYS-6-BOOTTIME: Time taken to reboot after reload
= 277 seconds
000032: Feb 27 07:34:23.103: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
000033: Feb 27 07:34:23.103: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
User Access Verification
Username: hyjk
Password:
yxrout> //破解成功
[/cc]