Les Forums

Les Forums

Les forums sont fermés. Ils restent présent pour consultation et archivage.
Vous pouvez désormais poser vos questions directement dans les commentaires en bas de chaque page du site.
Alors n'hésitez pas à participer

cisco 7 tools

hi,
first thanks for the CLI tools enablesecret and cisco7 so batch work is simple!

but why does the cisco7 tools use only a part of the keychain so longer keys are not exactly decrypted?

sample1: 022A0B490E0B42285C5D1C1448131D07031667382D3C7E342F16
sample2: 153E041E0127662D3820202F5E03190F0E44144B5A4043021513
both the same plaintext: Lorem-ipsum-dolor-sit-ame

The full keychain should be:
0x64,0x73,0x66,0x64,0x3b,0x6b,0x66,0x6f,0x41,0x2c,0x2e,0x69,0x79,0x65,0x77,0x72,0x6b,0x6c,0x64,0x4a,0x4b,0x44,0x48,0x53,0x55,0x42,0x73,0x67,0x76,0x63,0x61,0x36,0x39,0x38,0x33,0x34,0x6e,0x63,0x78,0x76,0x39,0x38,0x37,0x33,0x32,0x35,0x34,0x6b,0x3b,0x66,0x67,0x38,0x37

Best regards
Jerry