日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

VMProtect SDK+ASProtect SDK保护

發布時間:2025/3/21 编程问答 47 豆豆
生活随笔 收集整理的這篇文章主要介紹了 VMProtect SDK+ASProtect SDK保护 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
程序具體保護實例
VMProtect?SDK+ASProtect?SDK保護
工具:
VMProtect?1.12
ASProtect?1.33[Cr]
相關工具可以到www.pediy.com下載到

具體保護例子:
簡單的字符串判斷例子, 附件下載
內部使用
VMProtect?SDK將驗證代碼保護起來
外部使用ASProtect保護
具體實例看代碼

關于使用VMProtect的保護代碼的一點說明
想簡單的確定自身保護位置可以使用兩種方法
以Delphi為例子
1.
在工程編譯選項中:
Project->Options->Linker
選項卡中的Map?File選項中~將單選框選擇Detailed
然后在VMProtect添加保護代碼中會看到函數地址
2.就是直接使用SDK代碼
asm??????????????????????????????//使用VMProtect的SDK
??db?$EB,$10,'VMProtect?begin',0
end;

asm
??db?$EB,$0E,'VMProtect?end',0
end;
//---the?end---
VMProtect使用說明[俄文版]
http://www.polytech.ural.ru/vmprotect.htm

附件中有全部代碼和SDK:
代碼:
program?Test; {$APPTYPE?CONSOLE} usesWindows;function?AGenKey:string;??????//數組動態生成免得別別人從內存中看出來 constAint?:?array[0..9]?of?Char?=?('0',?'1',?'2',?'3',?'4',?'5',?'6',?'7',?'8',?'9');Achr??:?array[0..25]?of?Char?=?('A',?'B',?'C',?'D',?'E',?'F',?'G',?'H',?'I',?'J','K',?'L',?'M',?'N',?'O',?'P',?'Q',?'R',?'S',?'T','U',?'V',?'W',?'X',?'Y',?'Z'); begin{key=H8E8A4R8T}asm??????????????????????????????//使用VMProtect的SDKdb?$EB,$10,'VMProtect?begin',0end;Result?:=?Concat(Achr[7],Aint[8],Achr[4],Aint[8],Achr[0],Aint[4],Achr[17],Aint[8],Achr[19]);asmdb?$EB,$0E,'VMProtect?end',0end; end;varStrSN:String; beginWriteln('//');Writeln('//????VMProtect?SDK+ASProtect?SDK?Example');Writeln('//????Coded?By:Anskya');Writeln('//????Email:Anskya@Gmail.com');Writeln('//????Web:Www.Anskya.Net');Writeln('//');Writeln('');Writeln('');Write('輸入注冊碼:');Readln(StrSN);{$I?reg_crypt_begin.inc}?????????//使用ASProtect的SDKasm??????????????????????????????//使用VMProtect的SDKdb?$EB,$10,'VMProtect?begin',0end;if?StrSN=AGenKey?thenbeginWriteln('恭喜注冊成功');end?elsebeginWriteln('^_^注冊失敗!');end;asmdb?$EB,$0E,'VMProtect?end',0end;{$I?reg_crypt_end.inc}Readln; end.

總結

以上是生活随笔為你收集整理的VMProtect SDK+ASProtect SDK保护的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。