وجدت هذة القصه على احد المواقع و اشتغلت معي تمام
من خلاله يمكن ان تعرف كلمات السر المشفره من نوع السابع (فنيير يعني ) والمخزنه على الروتر
طبعا هي مجرد لمحه لذيذه و لكنها ليست عمليه لان في برامج زي getpass حتعمل لي ده
وفي نفس الوقت هذة اللمحه او trick تحتاج دخول على الروتر لتفيذها
بس لا مانع انه نتعرف على القصه انا لونت لكم الاومر حتى يكون الفهم اسهل :
We'll turn on type-7 encryption for local passwords and generate a test username
R1(config)#service password-encryption
R1(config)#username test password t35ta55w0rd
Next we'll inspect the generated username with the show running command
R1(config)#do show run | include username
username test password 7 08351F1B1D431516475E1B54382F
Now we'll create a key chain and enter the type-7 encrypted password as the key string …
R1(config)#key chain decrypt
R1(config-keychain)#key 1
R1(config-keychain-key)#key-string 7 08351F1B1D431516475E1B54382F
… and the show command does the decryption for us.
R1(config-keychain-key)#do show key chain decrypt
Key-chain decrypt:
key 1 -- text "t35ta55w0rd"
accept lifetime (always valid) - (always valid) [valid now]
send lifetime (always valid) - (always valid) [valid now]
المفضلات