shell32 = LoadLibraryA (“shell32.dll”)
getpatha = GetProcAddress (shell32, “SHGetFolderPathA”)
getpathw = GetProcAddress (shell32, “SHGetFolderPathW”)
oldpatha = VirtualAlloc (0, 4096, 4096, 64)
oldpathw = oldpatha + 10
RtlMoveMemory (oldpatha, getpatha, 5)
RtlMoveMemory (oldpathw, getpathw, 5)
写到内存 (jmpcode (oldpatha + 5, getpatha + 5), oldpatha + 5, )
写到内存 (jmpcode (oldpathw + 5, getpathw + 5), oldpathw + 5, )
WriteProcessMemory (-1, getpatha, jmpcode (getpatha, 到整数 (&mygetpatha)), 5, 0)
WriteProcessMemory (-1, getpathw, jmpcode (getpathw, 到整数 (&mygetpathw)), 5, 0)
.如果真 (是否为调试版 ())
信息框 (“调试版不能进行此操作!请编译后再试”, 0, )
返回 ()
.如果真结束
运行 (取执行文件名 () + “ -small”, 假, )
删除临时文件 (#接口常量.IE临时文件)
上一篇 创建免费WIFI无线热点工具
下一篇 端口转发系统c#和易语言双版