- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
破解zip压缩文件密码(Crack zip compressed file password)
破解zip压缩文件密码(Crack zip compressed file password)
#包括 stdio. h
#包括字符串。”
unsigned char dos_string [ 128 ];
unsigned char delete_file [ 128 ];
#定义DWORD unsigned long
#字定义unsigned int
#定义字节无符号字符
#定义USGC unsigned char
# USGI符号定义
#定义usgl unsigned long
#定义maxdighack 8
#定义good_crc32_residual 0xdebb20e3l
usgl crctable [ 256 ];//全球访问/ /
USGI crc2find;/ / 2 / /找到CRC
字节信号[ ] = { 0x50,0x4b,0x03,0x04 };
字节error_sig [ ] = { e、R,R,O,R,的,!”};
无符号长crc32();
无效generatetable();
unsigned char decrypt_byte();
国际maxdighack = maxdighack;
/无符号字符前导码[ 10 ];
/ / unsigned char后[ 10 ];
国际ffflag = 0;
主要(argc、argv)
int argc;
char argv [ ];
{
无符号字符密码[ 25 ];
无符号字符缓冲区[ 25 ];
unsigned char lookfile [ 25 ];
unsigned char inbuff [ 25 ];
unsigned char zipname [ 25 ];
文件压缩文件;
结束,我,j,跳过,莱恩;
printf(“nzipcrack v0.1b -(C)1991由Mycal Johnson - Mycal @ netacsys .com \n\n”);
如果(argc = = 1)
{
printf(“\n用法:“zipcrack zipfile crackfile”);
printf(“\n zipfile = filename.zip”);
printf(“\n在压缩文件crackfile =文件破解\n\n”);
出口(2);
}
我= strlen(argv [ 1 ]);
如果(8)
{
printf(“\n文件名必须是8个字符以内,不包括.zip扩展\n\n”);
出口(2);
}
strcpy(zipname,argv [ 1 ]);
strcat(zipname,“.zip”);
我= strlen(argv [ 2 ]);
如果(12)
{
printf(“\n文件破解不能超过12个字符包括延伸\n\n”);
出口(2);
}
strcpy(lookfile,argv [ 2 ]);
strupr(lookfile);
strupr(zipname);
/ /
/ /解压字符串进行尝试
/ /
strcpy(dos_string,“解压”);
strcat(dos_string,argv [ 1 ]);
strcat(dos_string,”);
strcat(dos_string,lookfile);
strcat(dos_string,“S”);
strcpy(delete_file,“DEL”);
strcat(delete_file,lookfile);
/ /
/检查目标是否已经存在。
/ /
如果((zipfile = fopen(lookfile,R + B”))!= null)
{
关闭(压缩文件);
printf(“告诫%s已经存在磁盘上,lookfile。”);
printf(“\n删除该文件后再试一次。”);
出口(1);
}
如果((zipfile = fopen(zipname,R + B”))= = null)
{
printf(“fopen失败。无法找到或打开%s \n”,zipname);
出口(2);
}
我= 0;
结束= 0;
/ /
//这里我们搜索文件破解里面的zip文件。首先我们
/查找本地文件SIG,然后我们检查它是否是我们的文件。
/ /
而(!结束)
{
如果(fread(缓冲,sizeof(char),1、压缩文件))
{
如果(缓冲区[ 0 = SIG)
i = i + 1;
其他的
我= 0;
如果(i = 4)
{ 4位数
len = strlen(lookfile);
跳过= 26;
如果(fseek(压缩文件,(长)跳过,seek_cur)!= 0)
{
printf(“fseek失败\n”);
出口(1);
}
如果(fread(inbuff,siz
您可能关注的文档
- 用友常见小问题解决办法(UF common small problem solution).doc
- 用商业意识的源头活水 清洗学历本位之观念淤泥(With the concept of cleaning degree standard business sense of the springhead of silt).doc
- 用太阳能电池供电的锂电池充电管理集成电路的设计(Design of rechargeable battery management integrated circuit for solar cells powered by solar cells).doc
- 用大学的时间去懂得的事情(Something that you know when you are in College).doc
- 用师者王,用友者霸,用徒者亡(With the teacher Wang, who PA UF, with only perish).doc
- 用友erp-u8销售发货(UF ERP-U8 sales, delivery).doc
- 用战术对付战术型零售商(Tactically deal with tactical retailers).doc
- 用户十秒离开你网站的25个原因(The 25 reason you left ten user site).doc
- 用人大师十大忌(The masters ten taboo).doc
- 用旋转式粘度计测定非牛顿流体的粘度(Determination of viscosity of non Newtonian fluids by rotating viscometer).doc
- 破解中小企业培训规划之困境.doc
- 破解红酒密码 学会品红酒只需四步(Crack red wine password society, red wine only four steps).doc
- 破解还原精灵(Crack Restore Wizard).doc
- 破阵子 为陈同甫赋壮词以寄之(For a while, Chen Tongfu was given a strong word to send it).doc
- 破除肾结石饮食三大传说患者不一定要禁菠菜(Break kidney stone, diet three big legends, patients do not have to ban spinach).doc
- 破解白酒行业的六大迷信(Crack the six superstitions in the liquor industry).doc
- 砌筑工技能鉴定国家题库doc(National test database for masonry skills identification doc).doc
- 砼体积抹灰面积计算公式(Calculation formula of concrete volume rendering area).doc
- 研发风险参照(R & D risk reference).doc
- 破解中国食醋业困局--山西老陈醋篇(Crack the predicament of Chinese vinegar industry -- Shanxi old Chen Cupian).doc
文档评论(0)