易语言六种反调试方法源码
系统结构:提示信息框,第一法_内存分配反调试,第二法_子窗口反调试,第三法_时间差反调试,第四法_启动信息反调试,第五法_时间间隔反调试,第六法_检测调试器反调试,子窗口监控子程序,GetCurrentProcess,GetProcessWorkingSetSize,GetDesktopWindow,EnumChildWindows,GetWindowText,GetWindowTextLength,GetLocalTime,GetProcessTimes,FileTimeToSystemTime,GetStartupInfo,GetTickCount,IsDebuggerPresent,
======窗口程序集
| |
| |------ 提示信息框
| |
| |------ _按钮1_被单击
| |
| |------ _按钮2_被单击
| |
| |------ _按钮3_被单击
| |
| |------ _按钮4_被单击
| |
| |------ _按钮5_被单击
| |
| |------ _按钮6_被单击
| |
| |------ 第一法_内存分配反调试
| |
| |------ 第二法_子窗口反调试
| |
| |------ 第三法_时间差反调试
| |
| |------ 第四法_启动信息反调试
| |
| |------ 第五法_时间间隔反调试
| |
| |------ 第六法_检测调试器反调试
| |
| |------ 子窗口监控子程序
| |
| |
======调用的Dll
| |
| |---[dll]------ GetCurrentProcess
| |
| |---[dll]------ GetProcessWorkingSetSize
| |
| |---[dll]------ GetDesktopWindow
| |
| |---[dll]------ EnumChildWindows
| |
| |---[dll]------ GetWindowText
| |
| |---[dll]------ GetWindowTextLength
| |
| |---[dll]------ GetLocalTime
| |
| |---[dll]------ GetProcessTimes
| |
| |---[dll]------ FileTimeToSystemTime
| |
| |---[dll]------ GetStartupInfo
| |
| |---[dll]------ GetTickCount
| |
| |---[dll]------ IsDebuggerPresent
调用的DLL命令:
.DLL命令 GetCurrentProcess, 整数型, "Kernel32", "GetCurrentProcess"
.DLL命令 GetProcessWorkingSetSize, 整数型, "Kernel32", "GetProcessWorkingSetSize"
.参数 hProcess, 整数型
.参数 lpMinimumWorkingSetSize, 整数型, 传址
.参数 lpMaximumWorkingSetSize, 整数型, 传址
.DLL命令 GetDesktopWindow, 整数型, "user32", "GetDesktopWindow"
.DLL命令 EnumChildWindows, 整数型, "user32", "EnumChildWindows"
.参数 hWndParent, 整数型
.参数 lpEnumFunc, 整数型
.参数 lParam, 整数型
.DLL命令 GetWindowText, 整数型, "user32", "GetWindowTextA"
.参数 hwnd, 整数型
.参数 lpString, 文本型
.参数 cch, 整数型
.DLL命令 GetWindowTextLength, 整数型, "user32", "GetWindowTextLengthA"
.参数 hwnd, 整数型
.DLL命令 GetLocalTime, , "kernel32", "GetLocalTime"
.参数 ntt, SystemTime
.DLL命令 GetProcessTimes, , "kernel32", "GetProcessTimes"
.参数 hProcess, 整数型
.参数 lpCreationTime, FILETIME
.参数 lpExitTime, FILETIME
.参数 lpKernelTime, FILETIME
.参数 lpUserTime, FILETIME
.DLL命令 FileTimeToSystemTime, , "kernel32", "FileTimeToSystemTime"
.参数 lpFileTime, FILETIME
.参数 lpSystemTime, SystemTime
.DLL命令 GetStartupInfo, , "kernel32", "GetStartupInfoA"
.参数 lpStartupInfo, STARTUPINFO, 传址
.DLL命令 GetTickCount, 整数型, "kernel32", "GetTickCount"
.DLL命令 IsDebuggerPresent, 逻辑型, "kernel32", "IsDebuggerPresent"
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。