最近发现有问题的cisco产品简直比有二次解码的NT还多,改了一个小程序显示cisco IOS type-7 密码的,可以在windows环境下编译 。
Code:
/*
* descambles cisco IOS type-7 passWords
* found somewhere on the internet, slightly modified, anonymous@segfault.net
* modified for Win32 By CoolWolF@gmx.net
*
* gcc -Wall -o ciscocrack ciscocrack.c
* ./ciscocrack 1416130A4C
*
* cl ciscocrack.c
* ciscocrack.exe 1416130A4C
*/
#include
#include
#include
#include
#include//remark this line in unix system
char xlat[] =
{
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
};
int cdecrypt(char *enc_pw, char *dec_pw)
{
unsigned int seed, i, val = 0;
if(strlen(enc_pw) & 1)
return(-1);
seed = (enc_pw[0] - "0") * 10enc_pw[1] - "0";
if (seed > 15!isdigit(enc_pw[0])!isdigit(enc_pw[1]))
return(-1);
for (i = 2 ; i = "A" && enc_pw[i]
推荐阅读
- 什么是id密码
- 怎么找回12306的账号和密码
- 中国建设银行app登录密码是什么
- 为什么4g网络qq显示2g
- 华为mate30 5G版怎么关闭运营商名称显示
- 苹果商店显示无法连接怎么办
- 为什么附近人不显示我
- 宽带连接显示711怎么办
- 新买的行李箱怎么设置密码
- 华为手机密码忘了怎么开锁有指纹
