Skip to content

PowerShell script to decrypt Cisco Password 7 "crypt" passwords from Cisco routers and switches

License

Notifications You must be signed in to change notification settings

HumanEquivalentUnit/Unprotect-CiscoPassword7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Unprotect-CiscoPassword7

PowerShell script which decrypts Cisco password 7 encrypted passwords from switch and router configs.

Example

PS C:\> Import-Module c:\downloads\Unprotect-CiscoPassword7.ps1
PS C:\> Unprotect-CiscoPassword7 '046E1803362E595C260E0B240619050A2D'

UseYourOwnString

Example

You have some Cisco configs saved as .txt files on your local disk, and want to get all the passwords from all the files:

PS C:\> Import-Module c:\downloads\Unprotect-CiscoPassword7.ps1

PS C:\> Get-ChildItem -Path "C:\CiscoConfigs\" -Recurse  |
    Select-String -Pattern 'password 7'    |
    ForEach-Object { 
        Unprotect-CiscoPassword7 $_.Line
    }

About

PowerShell script to decrypt Cisco Password 7 "crypt" passwords from Cisco routers and switches

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published