|
[求助]CreateThread函数(在线等)
Originally posted by haizzz 貌似现在没有一个程序员不认识csdn |
|
[救助]关于WriteFile写文件问题........
谢谢拉 我编译了一下,这样才对 lpBuffer db "床前明月光,",0dh,0ah,"疑是地上霜.",0dh,0ah,"举头望明月,",0dh,0ah,"低头思故乡.",0 |
|
|
|
|
|
请教一个进程保护技术
Originally posted by haizzz 我也要一份. 发到 chenmingzhong87@163.com 谢谢 |
|
[求助]编写简单内存补丁程序中WriteProcessMemory出错
调式了,但是我看不出错误拉.. |
|
|
|
|
|
[求助]请教这个是怎么转换
很简单呀.....把你要转换的十进制的数字或字母保存到一个文本文件,然后用UE打开十六进制编辑,就可以了 |
|
[求助]关于用VB调CreateProcess 打开程序得问题
如果问题是出现在CreateProcess的话,我用win32汇编写个单独调用CreateProcess的代码例子.不过看了一下代码,你程序的流程是--选择可执行文件--创建进程--读写内存.在CreateProcess创建进程后,还要找你所打开文件的PID,接着OpenProcess用足够的权限打开,最后才WriteProcessMemory 或者你也可以这样做:在打开你选择的可执行文件后,获取快照,开始Process32First---Process32Next枚举进程,调用lstrcmp对照一下你所打开的程序进程,找到PID后,就可以WriteProcessMemory读写内存了 这里有一篇关于进程读写的帖子,希望对你有帮助 http://bbs.pediy.com/showthread.php?s=&threadid=34395 下面是用CreateProcess执行一个文件代码: .386 .model flat,stdcall option casemap:none include windows.inc include kernel32.inc include user32.inc includelib kernel32.lib includelib user32.lib .data szCmdLine db 'ping www.163.com',0 .data? stStartUp STARTUPINFO <?> stProcInfo PROCESS_INFORMATION <?> .code start: invoke GetStartupInfo,addr stStartUp nvoke CreateProcess,NULL,addr szCmdLine,NULL,NULL,NULL,\ NORMAL_PRIORITY_CLASS,NULL,NULL,addr stStartUp,addr stProcInfo invoke ExitProcess,NULL end start |
|
一段简单的加密算法反汇编后写成C++ 解密算法研究半天没写出来,大家进来讨论讨论
Originally posted by chinatme FindWindow---GetWindowThreadProcessId---OpenProcess 这时候eax保存着指定窗口的句柄 |
|
程序目的是取得文件的建立时间并以...(请高手帮忙)
第一,你.if eax == INVALID_HANDLE_VALUE 后 接着应该是 .elseif 而不是 .else 第二,GetFileTime是有返回值的,.if eax != NULL 不为空的时候才执行... |
|
程序目的是取得文件的建立时间并以...(请高手帮忙)
你说的我只听懂一点点,我只写了取得文件创建的时间的代码: .386 .model flat,stdcall option casemap:none include windows.inc include gdi32.inc includelib gdi32.lib include user32.inc includelib user32.lib include kernel32.inc includelib kernel32.lib .data? szBuffer db 256 dup(?) lpCreationTime FILETIME <?> .const szFileName db 'c:\123.txt',0 szCaption db 'AutoBack',0 szText db '读取文件失败!',0 szDataF db '文件创建的时间是:%d年%d月%d日',0 .code _WinMain proc local @hFile:DWORD local @stUTC:SYSTEMTIME invoke CreateFile,addr szFileName,\ GENERIC_READ,FILE_SHARE_READ,0,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,0 .if eax == INVALID_HANDLE_VALUE invoke MessageBox,NULL,offset szText,offset szCaption,MB_OK invoke ExitProcess,NULL .elseif mov @hFile,eax invoke GetFileTime,@hFile,addr lpCreationTime,NULL,NULL invoke FileTimeToSystemTime,addr lpCreationTime,addr @stUTC .if eax != NULL ;返回值不为空 movzx eax,@stUTC.wYear ;把时间扩展到32位,并保存 movzx edx,@stUTC.wMonth movzx ecx,@stUTC.wDay invoke wsprintf,addr szBuffer,addr szDataF,eax,edx,ecx invoke MessageBox,NULL,addr szBuffer,offset szCaption,MB_OK invoke ExitProcess,NULL .endif .endif _WinMain endp start: call _WinMain end start |
|
[求助]汇编读文件
在这个过程可能要出现错误,最好搞个 SEH |
|
[求助]汇编读文件
读取文件,貌似几个API就可以完成,例如要读取PE文件, CreateFile---CreateFileMapping---MapViewOfFile---这样把句柄保存,你就可以读了 个人意见 |
|
[求助]关于C和C++
都一样,VB,VC++,Win32汇编 它们的后台都是microsoft |
|
vb可不可以????中?
建立内存共享映射,然后读取内存,貌似VB可以 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值