It appears you have not yet registered with our community. To register please click here...


Go Back   CiscoHQ | Forum > Cisco > Cisco Tips and FAQ's

Cisco Tips and FAQ's Shortcuts, time saver's, lifesaver's, tips and tricks with Cisco

Reply
 
Thread Tools Display Modes
Old 12-31-2007, 12:24 AM   #1
CiscoHQ
Administrator
 
CiscoHQ's Avatar
 
Join Date: Jan 2006
Location: The Internet
Posts: 630
CiscoHQ is on a distinguished road
Default Cisco IOS type 7 password decryption - router password cracking

You will need access to a router

Turn on type-7 encryption for local passwords and create a test username

Code:
Router1(config)#service password-encryption
Router1(config)#username testuser password !@&*^&*^$#
Next show the created username with the show running config command

Code:
Router1(config)#do show run | include username
username testuser password 7 <encrypted string>
Next create a key chain and enter the type-7 encrypted password as the key string

Code:
Router1(config)#key chain decrypt
Router1(config-keychain)#key 1
Router1(config-keychain-key)#key-string 7 <encrypted string>
Now the show command does the decryption

Code:
Router1(config-keychain-key)#do show key chain decrypt
Key-chain decrypt:
    key 1 -- text "testuser:decyptedpassword"
        accept lifetime (always valid) - (always valid) [valid now]
        send lifetime (always valid) - (always valid) [valid now]
CiscoHQ is offline   Reply With Quote
  #1.5
 

Old 05-14-2008, 12:20 AM   #2
cf- kevin
Junior Member
 
Join Date: May 2008
Posts: 17
cf- kevin is on a distinguished road
Default

wow, never seen that before
__________________
Webmaster: www.cisco-forums.com
cf- kevin is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:26 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
CiscoHQ | 2006 - CiscoHQ is not affliated with Cisco Systems