[j-nsp] Decode $9$ encrypted Junos secrets

Matt Hite lists at beatmixed.com
Tue Mar 20 12:45:28 EDT 2012


No problem -- glad to share.

It's interesting to note just how many things are stored in $9$
encrypted format: RADIUS secrets, IS-IS authentication keys, BGP MD5
secrets, etc.

-M

On Mon, Mar 19, 2012 at 2:51 PM, David Lockuan <dlockuan at gmail.com> wrote:
> Thanks Matt,
>
> This is a good tool.
>
> Best regards,
>
> ---
> David
>
>
> On Mon, Mar 19, 2012 at 4:23 PM, Matt Hite <lists at beatmixed.com> wrote:
>>
>> Greetings,
>>
>> Threw this together a few days ago to recover $9$ encrypted Junos
>> passwords (RADIUS secrets, BGP MD5's, etc.).
>>
>> It is ported from this Perl library:
>>
>>
>> http://cpansearch.perl.org/src/KBRINT/Crypt-Juniper-0.02/lib/Crypt/Juniper.pm
>>
>> to a Python 2.7 script:
>>
>> https://github.com/mhite/junosdecode
>>
>> Remember to escape your $'s on the CLI when launching the script:
>>
>> $ ./junosdecode.py \$9\$U-iqf36A1cSTzRSreXxDik.Tzn/CuBI
>> junos password decrypter
>> python version by matt hite
>> original perl version by kevin brintnall
>>
>> encrypted version: $9$U-iqf36A1cSTzRSreXxDik.Tzn/CuBI
>> decrypted version: ju&iper123
>>
>> Thanks,
>>
>> -M
>> _______________________________________________
>> juniper-nsp mailing list juniper-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
>


More information about the juniper-nsp mailing list