|
[求助]win32汇编的问题
Windows API函数没有GetBitmap这个API函数。VC使用的是经过VC的MFC类型封装后的MFC类函数,不是API函数。 |
|
[求助]求助变量类型
既然那个dll函数返回的是一个字符串类型,那你在BCB中就可以定义一个char *类型的变量保存这个函数的返回值。再用MessageBox调用就行了。 |
|
[求助]帮忙看看这段代码是否有问题
一般来说,既然敢肯定使用这个参数进行获取,就应该肯定这项菜单是存在的,不会出现不存在的可能,当然,如果作者所做的操作他也认为有可能会出现不存项的可能,那作者也应该肯定也会在前面设定条件代码以确定不会出来这个情况。 |
|
OD的一个问题
你要理解什么? 断点, 条目 0 // 提示断点的编号为0 地址=004022E5 // 提示断点的地址是004022E5 模块=S // 提示断点下在所处在的程序段(模块段,如.text段) 激活=始终 // 提示这个断点除了手动禁止或取消外,始终有效。 反汇编=MOV EBP,DWORD PTR DS:[<&KERNEL32.GetTickCount>] // 提示所下的断点前是什么指令。 |
|
一个修改内存的代码用delphi不会写,希望有人指点下
jmp的偏移地址不能直接这样改,必须进行计算才能得到,计算公式是:你的函数地址-要修改的地址-jmp指令长度(短跳是2,长跳是5)=jmp跳转的偏移指令。 |
|
一个修改内存的代码用delphi不会写,希望有人指点下
// 大概就像下面那样格式就行了。 function myadd:Integer; asm mov edx,[ecx+$000888] mov [Memory],edx mov eax,$0053BB1A+6 jmp eax end; |
|
[求助]问个简单的问题, 关于筛选器异常处理的
#include <windows.h> int ExceptionHandle(EXCEPTION_POINTERS *); int (*lpNewHandle)(EXCEPTION_POINTERS *); int ShowMessage(void); int (* lp)(void); void *p; int (*lpBackHandle)(HWND, LPCTSTR, LPCTSTR, UINT); LPTOP_LEVEL_EXCEPTION_FILTER lpOldHandler; int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { int x = 0; int y; lpNewHandle = ExceptionHandle; lpOldHandler =SetUnhandledExceptionFilter((LPTOP_LEVEL_EXCEPTION_FILTER)lpNewHandle); lp = ShowMessage; __asm push eax; __asm mov eax,offset _L1; __asm mov p,eax; __asm pop eax y = 4 / x; __asm _L1: ShowMessage(); SetUnhandledExceptionFilter(lpOldHandler); return 0; } int ExceptionHandle(EXCEPTION_POINTERS *lpExceptionPoint) { char szBuffer[256]; wsprintf(szBuffer, TEXT("异常发生位置: %08X, 异常代码: %08X, 标志: %08X"), lpExceptionPoint->ContextRecord->Eip, lpExceptionPoint->ExceptionRecord->ExceptionCode, lpExceptionPoint->ContextRecord->EFlags); lpExceptionPoint->ContextRecord->Eip = (int)lp; lpExceptionPoint->ContextRecord->Esp -= 4; *(int*)lpExceptionPoint->ContextRecord->Esp = (int)p; MessageBox(NULL, szBuffer, NULL, MB_OK); return EXCEPTION_CONTINUE_EXECUTION; } int ShowMessage() { MessageBox(NULL, TEXT("Welcome Back"), NULL, MB_OK); return 0; } 本代码的着色效果由xTiNt自动完成 下载xTiNt http://211.90.75.84/web/kanaun/download/xTiNt.rar |
|
[求助]请问这部分代码是什么意思啊?
第一个call就是调用GetModuleHandleA函数获取本进程程序的模块地址。第二个和第三个Call就不知道了。 |
|
[求助]请教一个问题
将源代码重新使用“DEBUG”模式编译一下。 |
|
[求助]请问这部分代码是什么意思啊?
像是程序入口初始化代码。 |
|
[求助]win32 asm有关取得数值的方法,有几种?
1、不止MessageBox可以显示,有很多方法都可以显示,只不过用MessageBox是最简单的方法。 2、也不止wsprintf函数可以转换数据格式,只不过也是用wsprintf比较简单省事。 |
|
[公告]欢迎 玩命 加入『安全编程论坛』管理团队
来迟了,恭喜玩命兄弟。 |
|
[求助]获取记事本句柄,有击中嘎方法呢?
Dll注入记事本内部就可以用GetModelHandle获取了。或者使用ToolHelp函数枚举进程也可以得进程模块基地址。 |
|
汇编内部跳转定义的问题,菜鸟求救?
标号用双冒号试试"::",如果这样也不行那我也没办法了。 |
|
|
|
[求助][求助]delphi编译问题
所给的信息不全,不清楚。这个应该有什么错误信息提示吧。如果有,错误信息是什么?如果没有,那你那种错误可能是控件没有装好、或者库文件找不到等等错误。 |
|
[求助]请问:如何将灰色按钮激活,用VB,最好能讲讲原理哦!
我也没有什么学习经验,只是凭着兴趣去学习。遇到不懂的一般我都使用搜索引挚去找答案。 |
|
[求助]DLL里如何创建对话框
在Dll中导出一个函数,例如CreateDlg函数。在CreateDlg函数里加入创造对话框的代码就行了。消息函数代码也可以写在Dll里。 |
|
[求助]请问:如何将灰色按钮激活,用VB,最好能讲讲原理哦!
// 下面的代码应该可以对所有标准控件都能激活了。 Private Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long Private Declare Function IsWindowEnabled Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function ScreenToClient Lib "user32" (ByVal hwnd As Long, lpPoint As POINTAPI) As Long Private Declare Function ChildWindowFromPoint Lib "user32" (ByVal hWndParent As Long, ByVal xpt As Long, ByVal ypt As Long) As Long Private Declare Function WindowFromPoint Lib "user32" (ByVal xPoint As Long, ByVal yPoint As Long) As Long Private Declare Function EnableWindow Lib "user32" (ByVal hwnd As Long, ByVal fEnable As Long) As Long Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long Private Type POINTAPI x As Long y As Long End Type Private Const SWP_NOMOVE = &H2 Private Const SWP_NOSIZE = &H1 Private Const HWND_NOTOPMOST = -2 Private Const HWND_TOPMOST = -1 Private Sub Command1_Click() If Timer1.Enabled = False Then Timer1.Enabled = True SetWindowPos hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE Or SWP_NOSIZE Else Timer1.Enabled = False SetWindowPos hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE Or SWP_NOSIZE End If End Sub Private Sub Form_Load() Timer1.Enabled = False End Sub Private Sub Timer1_Timer() Dim pt As POINTAPI GetCursorPos pt hWindow = WindowFromPoint(pt.x, pt.y) ScreenToClient hWindow, pt Text1.Text = "x:" & pt.x & " - " & "y:" & pt.y hChildWindow = ChildWindowFromPoint(hWindow, pt.x, pt.y) Text2.Text = hChildWindow If IsWindowEnabled(hChildWindow) = 0 Then EnableWindow hChildWindow, True End If End Sub |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值