|
[求助]谁有Win2000/XP 下直接重启系统的代码呀
去下 KmdKit |
|
[讨论]DDK里 不能用 window.h ??
...........挂勾SSDT需要 windows.h吗? |
|
[求助]接到一个任务,但不知道如何入手
判断是否是内网IP,一般是127,192,10开头的,是,则正常显示,不是,则乱码..... |
|
[求助]谁有Win2000/XP 下直接重启系统的代码呀
.386 .model flat, stdcall option casemap:none include w2k\ntddk.inc include w2k\ntdll.inc includelib ntdll.lib ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> .code DriverEntry proc pDriverObject:PDRIVER_OBJECT, pusRegistryPath:PUNICODE_STRING mov al,feh out 64h,al mov eax, STATUS_DEVICE_CONFIGURATION_ERROR ret DriverEntry endp ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> end DriverEntry |
|
[求助]玩过DDK的朋友请进
去下,EasySys,配合VC6就可以编译了 |
|
|
|
[求助]关于VB,delphi找子窗口模拟按扭问题
up....自己顶一下 |
|
[原创]把我的第一个汇编程序(QQ自动群发器)源码与和我一样初级的编程爱好者共享
Window.rar能放到本地来吗? :) |
|
[求助]修改SSDT获取当前操作的文件名,代码有些问题,调式输出的时候是乱码:
直接打印UNICODE也为乱码 |
|
|
|
|
|
[原创]网络用户登录密码验证过程
没有只懂汇编的程序员.........如果你只懂汇编,只能说明你的功力还不够。。 |
|
[讨论]奇怪,VC2005写出的DLL,Release模式的怎么边类名等字符串都出现在DLL中,这应该是不必要的啊
bug模式编译出来的程序是需要dll文件才能运行.而Release就不需要了....现在我才知道这个..之前害我还要带那么大的dll文件,太压抑了 |
|
[求助]求一个关于复制操作的代码
将D盘所有文件都复制到C:\test\。。XP下测试通过,帖子可以结了 :) ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ; ;code by asm http://www.asm32.cn/ ; ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> .386 .model flat,stdcall option casemap:none ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ; Include 文件定义 ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> include windows.inc include user32.inc includelib user32.lib include kernel32.inc includelib kernel32.lib FUNC MACRO parameters:VARARG invoke parameters EXITM <eax> ENDM literal MACRO quoted_text:VARARG LOCAL local_text .data local_text db quoted_text,0 align 4 .code EXITM <local_text> ENDM CTXT MACRO quoted_text:VARARG EXITM <offset literal(quoted_text)> ENDM str$ MACRO DDvalue LOCAL rvstring .data rvstring db 20 dup (0) align 4 .code invoke dwtoa,DDvalue,ADDR rvstring EXITM <ADDR rvstring> ENDM ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ; 数据段 ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> .data? stMsg MSG <> buff2 db 256 dup(?) buff3 db 256 dup(?) buff4 db 1024 dup(?) .data szVol db 'C',0 szX db '*.*',0 szM db ':\',0 szXie db '\',0 szWindows db 'C:\test\',0 ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ; 代码段 ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> .code ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _FindFile proc _lpszPath local @stFindFile:WIN32_FIND_DATA local @hFindFile local @szPath[MAX_PATH]:byte ;用来存放“路径\” local @szSearch[MAX_PATH]:byte ;用来存放“路径\*.*” local @szFindFile[1025]:byte ;用来存放“路径\找到的文件” local hWnd pushad invoke RtlZeroMemory,addr @szPath,sizeof @szPath invoke RtlZeroMemory,addr @szSearch,sizeof @szSearch invoke lstrcpy,addr @szPath,_lpszPath ;******************************************************************** ; 在路径后面加上\*.* ;******************************************************************** @@: invoke lstrlen,addr @szPath lea ebx,@szPath add ebx,eax xor eax,eax mov al,'\' .if byte ptr [ebx-1] != al mov word ptr [ebx],ax .endif invoke lstrcpy,addr @szSearch,addr @szPath invoke lstrcat,addr @szSearch,CTXT("*.*") ;******************************************************************** ; 寻找文件 ;******************************************************************** invoke FindFirstFile,addr @szSearch,addr @stFindFile .if eax != INVALID_HANDLE_VALUE mov @hFindFile,eax .repeat invoke lstrcpy,addr @szFindFile,addr @szPath invoke lstrcat,addr @szFindFile,addr @stFindFile.cFileName .if @stFindFile.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY ;找到的是目录吗? .if @stFindFile.cFileName != '.' invoke RtlZeroMemory,addr buff2,sizeof buff2;清空内存 pushad invoke lstrlen,addr @szFindFile ;计算目录的长度 sub eax,0 lea esi,@szFindFile ;取目录的字符 lea edi,buff2 add esi,2 ;去掉前2字节字符,然后才开始合并成新路径 mov ecx,eax rep movsb mov byte ptr [edi],0 popad invoke RtlZeroMemory,addr buff3,sizeof buff3 invoke lstrcat,addr buff3,CTXT("C:\test") invoke lstrcat,addr buff3,addr buff2 invoke CreateDirectory,addr buff3,NULL ;创建新目录 invoke _FindFile,addr @szFindFile;递归继续找 .endif .else invoke RtlZeroMemory,addr buff4,sizeof buff4 invoke lstrcat,addr buff4,addr buff3 invoke lstrcat,addr buff4,addr @stFindFile.cFileName ;新目录下的文件全路径 invoke CopyFile,addr @szFindFile,addr buff4,FALSE ;无条件复制。 .endif invoke FindNextFile,@hFindFile,addr @stFindFile .until eax == FALSE invoke FindClose,@hFindFile .endif popad ret _FindFile endp ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start proc push ecx invoke CreateThread,NULL,0,addr _FindFile,CTXT("D:\"),NULL,esp pop ecx invoke CloseHandle,eax .while TRUE invoke GetMessage,addr stMsg,NULL,0,0 invoke DispatchMessage,addr stMsg .endw start endp ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> end start |
|
[转帖]用汇编语言写QQ任我聊
就一个shellexecute调用,没多大实用性 |
|
[求助]为别的程序增加功能
这样也行?那么还要源码来做什么? |
|
[讨论]win32应用程序控制驱动程序,是否都是这样实现?
服务名已经存在,无法创建。。。换个服务名。 |
|
[求助]子程序中ReadProcessMemory返回值问题
.data? szBuff db 1024 dup(?) ;定义一个全局变量,然后把数据copy到这里就行 . . fnReadInteger PROC hProcess:DWORD,lpBaseAddress:WORD,nSize:BYTE local lpBuffer[1024]:byte invoke ReadProcessMemory,hProcess,lpBaseAddress,addr lpBuffer,nSize,NULL invoke RtlMoveMemory,addr szBuff,addr lpBuffer,sizeof lpBuffer ret fnReadInteger ENDP |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值