|
[求助]VirtualAllocEx返回0x1E7(试图访问无效的地址)
我是用VB写的,VirtualAllocEx记事本成功,VirtualAllocEx“遨游”浏览器以及ReadOne Player的伺服器都失败,改用VC却全部成功,哪位大侠帮忙看看我的代码 BTW:我的OS是WinXP SP2 '声明: Public Const PROCESS_ALL_ACCESS& = &H1F0FFF Public Const MEM_COMMIT = &H1000 Public Const PAGE_READWRITE = &H4 Public Declare Function VirtualAllocEx Lib "kernel32" (ByVal hProcess As Long, lpAddress As Any, ByVal dwSize As Long, ByVal flAllocationType As Long, ByVal flProtect As Long) As Long Public Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long Public Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long ********************************************************************************** '代码: Private Sub Command1_Click() Dim PID As Long, hProcess As Long, hBlock As Long PID =1234 '在Windows任务管理器里查看再填入 hProcess = OpenProcess(PROCESS_ALL_ACCESS, False, PID) If hProcess = 0 Then MsgBox "没有权限打开进程!", vbInformation Exit Sub End If hBlock = VirtualAllocEx(hProcess, 0&, 1024, MEM_COMMIT, PAGE_READWRITE) If hBlock = 0 Then MsgBox "无法分配内存空间!", vbInformation Exit Sub End If CloseHandle hProcess End Sub |
|
[求助]VirtualAllocEx返回0x1E7(试图访问无效的地址)
我用的是PROCESS_ALL_ACCESS |
|
经加密的网络传输消息如何解密??
在OD命令行插件下输入bpx send或bpx recv就下断了!!~~ 断下后在堆栈中能看到函数的参数,包括指向封包的指针~~ 然后按F8,直到retn返回,就知道是什么地方调用的~~,也可以直接看堆栈里OD的提示~~一直往上找,找到生成封包的地方再分析(可能是n层的CALL) |
|
|
|
[已解决]能否用OpenProcess打开系统进程
谢谢^_^!!! 问题已解决。花了我一个多小时~~~ 另,我上面提的用CreateRemoteThread原来也需要OpenProcess()返回的HANDLE 小菜有时会有些荒谬~~^_^希望大家别介意~~~~ 愿与各位共同进步~~~ |
|
[求助]怎样在程序中自动生成exe文件?
先写出你要生成的程序,在要写入信息的地方留出足够位置(用常量)。 用W32DASM或UEdit等找到你所设常量的地址。 把被生成的程序以资源的方式嵌入程序。生成时从资源读取,在把要写入的信息按你找到的地址写入。。。 我笨,就会这方法,哪位大侠有更好的方法请指点。。。 |
|
[求助]关于修改API入口代码的问题
原来是我听说错了,谢各位! |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值