|
内存补丁
检查一下6C379DF0的区段是否可读可写。 |
|
请教一个关于Delphi+KOL的问题
Kol我也没多少使用过,只不过无标题窗口移动我正好会。 |
|
请教一个关于Delphi+KOL的问题
procedure TForm1.KOLForm1MouseDown(Sender: PControl; var Mouse: TMouseEventData); begin ReleaseCapture; SendMessage(form.Handle,WM_NCLBUTTONDOWN,HTCAPTION,0); end; |
|
|
|
谁能看懂这个加密代码!?
用调试器调试程序。 |
|
谁能看懂这个加密代码!?
在不知道算法的前提下,没有谁能看懂你发出来的这些天书文字(如果这样都能看得懂,那别人还要加密干什么)。 |
|
[求助]怎么获取硬盘序列号等机器特征
这样在98系统不行。 |
|
[求助]怎么获取硬盘序列号等机器特征
/* 用GetVolumeInformation获取硬盘序列号 其中dwDiskBuffer是保存输出序列号的缓冲区 */ GetVolumeInformation("C:\\",0,0,dwDiskBuffer,0,0,0,0); |
|
这个汇编过程执行了什么操作
呵呵,也没什么的,只是看多了眼熟而已。 |
|
编写PE分析工具是遇到的问题
如果你要其它地方再次使用hMap句柄,那么释放语句必须放在程序退出时再释放。不能放在LoadFile函数内。 |
|
编写PE分析工具是遇到的问题
BOOL DlgProc (HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam) { int lowID; switch (uMsg){ case WM_INITDIALOG: LoadIcon( hInst , MAKEINTRESOURCE(10)); break; case WM_COMMAND: lowID=LOWORD(wParam); if (lowID==1001) LoadFile("a.exe");/*主要是你这一句出了问题,你在这个函数里取得的hMap在退函数之后已经被你在函数里面释放了,所以你下一句ShowFileHeaderInfo再使用被释放后的hMap自然会出现错误。*/ /* ShowFileHeaderInfo(hWnd);*/ /*将这一句注释掉就没问题了 */ break; case WM_CLOSE: EndDialog(hWnd,FALSE); break; default: return FALSE; } return TRUE; } BOOL LoadFile(LPSTR pszFileName,HWND hWnd) { HANDLE hFile; BOOL bSuccess=FALSE; char buf[20]; hFile=CreateFile(pszFileName,GENERIC_READ,FILE_SHARE_READ|FILE_SHARE_WRITE,NULL,OPEN_EXISTING ,FILE_ATTRIBUTE_ARCHIVE,0); if(hFile!=INVALID_HANDLE_VALUE) { DWORD dwFileSize; HANDLE hMapFile; LPVOID lpMem; stMapFile.hFile=hFile; dwFileSize=GetFileSize(hFile,0); hMapFile=CreateFileMapping(hFile,NULL,PAGE_READONLY,0,0,NULL); if(hMapFile) { stMapFile.hMapping =hMapFile; lpMem=MapViewOfFile(hMapFile,FILE_MAP_READ,0,0,0); if(lpMem) { if(IsPEFile(lpMem)==FALSE) { MessageBox(NULL,"不是PE格式的文件","info",MB_ICONINFORMATION|MB_OK); } else { stMapFile.ImageBase=(LPVOID)lpMem; MessageBox(NULL,"是PE格式的文件","info",MB_ICONINFORMATION|MB_OK); bSuccess=TRUE; ShowFileHeaderInfo(hWnd); } UnmapViewOfFile(lpMem); } CloseHandle(hMapFile); } CloseHandle(hFile); } return bSuccess; } |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值