|
[求助]Windows 的“当按 CTRL 键时显示指针的位置”功能
SetCursor和ShowCursor配合不行么? 先制作好带圈圈的Cursor,然后LoadCursor,接着SetCursor,最后ShowCursor。 |
|
[求助]Windows 的“当按 CTRL 键时显示指针的位置”功能
在你的工程里直接用SetCursor不行么? |
|
[有奖活动]“美丽的代码”征集大赛
曲高和寡,蹦出个大神抛个砖来引玉吧,也让咱学习学习。 |
|
[求助]如何copy一个rect到本窗口?
谢谢,如果目标窗口有滚动条导致部分不可见如何处理呢? |
|
|
|
[求助]如何在对话框里显示一张bmp图片?
新手,测试通过,代码片段: local @stPs:PAINTSTRUCT local @stRect:RECT local @hDc LOCAL hImage LOCAL hMem mov eax,uMsg ;********************************************************************289 125 .if eax == WM_PAINT invoke BeginPaint,hWnd,addr @stPs mov @hDc,eax invoke GetClientRect,hWnd,addr @stRect invoke CreateCompatibleDC,NULL mov hMem,eax invoke LoadImage,NULL,offset szFileName,IMAGE_BITMAP,471,331,LR_LOADFROMFILE mov hImage,eax invoke SelectObject,hMem,hImage invoke DeleteObject,hImage invoke StretchBlt,@hDc,0,0,@stRect.right,@stRect.bottom,hMem,0,0,471,331,SRCCOPY invoke DrawText,@hDc,addr szText,-1,\ addr @stRect,\ DT_SINGLELINE or DT_CENTER or DT_VCENTER invoke EndPaint,hWnd,addr @stPs |
|
[求助]关于激活灰色按钮问题
试试ChildWindowFromPointEx或ChildWindowFromPoint吧。 记得我以前有次碰到类似的情况是用的EnumChildWindows。 希望能对你有点帮助。 |
|
[求助]如何在ASM中实现磁性窗口?
另外,exe转vbs是怎么做的呀? exe2vbs.vbs(支持一个参数,参数为完整文件路径) : '*********************************************************************************** '恢复exe文件的代码 '*********************************************************************************** sCode = "sFile = InputBox(""输入要生成的文件名,包括扩展名:"")" + vbCrLf + _ " if Len(Trim(sFile)) = 0 Then Wscript.Quit" + vbCrLf + _ "Set oStream = Createobject(""Adodb.Stream"")" + vbCrLf + _ "Set oXML = Createobject(""Microsoft.XMLDOM"")" + vbCrLf + _ "Set oElement = oXML.CreateElement(""oTmpElement"")" + vbCrLf + _ " oElement.DataType = ""bin.hex""" + vbCrLf + _ " oElement.NodeTypedValue = str" + vbCrLf + _ "With oStream" + vbCrLf + _ " .Type = 1" + vbCrLf + _ " .Mode = 3" + vbCrLf + _ " .Open" + vbCrLf + _ " .Write oElement.NodeTypedValue" + vbCrLf + _ " .SaveToFile sFile" + vbCrLf + _ "End With" + vbCrLf + _ " oStream.Close" + vbCrLf + _ "Set oStream = Nothing" + vbCrLf + _ "Set oXML = Nothing" + vbCrLf + _ "Set oElement = Nothing" '*********************************************************************************** '开始 '*********************************************************************************** sFile = GetFile() Set oStream = CreateObject("Adodb.Stream") Set oFso = CreateObject("Scripting.FileSystemObject") Set oFile = oFso.OpenTextFile(sFile & ".vbs",2,True) oFile.WriteLine "str= _" With oStream .Type = 1 .Open .LoadFromFile sFile End With Do Until oStream.EOS '生成的vbs文件每一行的长度由oStream.Read()中的参数来控制 oFile.WriteLine Space(4) + "+" + Chr(34) + _ Bin2Str(oStream.Read(20)) + chr(34) + " _" Loop '由于上一行结束有"_",所以要空一行 oFile.WriteLine Space(1) oFile.Write sCode oStream.Close oFile.Close Set oStream = Nothing Set oFile = Nothing Set oFso = Nothing '*********************************************************************************** '2进制转换为16进制字符串 '*********************************************************************************** Function Bin2Str(bin) Dim i,str For i = 1 To Lenb(bin) If Ascb(Midb(bin,i,1)) < 16 Then str = str + "0" str = str & Hex(Ascb(Midb(bin,i,1))) Next Bin2Str = str End Function '*********************************************************************************** '获得要操作的文件 '*********************************************************************************** Function GetFile() On Error Resume Next Dim strFile,objFso,objFile If WScript.Arguments.Count < 1 Then Set objDialog = CreateObject("UserAccounts.CommonDialog") objDialog.Filter = "exe 文件|*.exe|dll 文件|*.dll|ocx 文件|*.ocx|所有 文件|*.*" objDialog.ShowOpen strFile = objDialog.FileName Set objDialog = Nothing Else strFile = WScript.Arguments(0) end if Set objFso = CreateObject("Scripting.FileSystemObject") Set objFile = objFso.GetFile(strFile) If Err Then If Err.Number = 5 Then WScript.Quit WScript.Echo Err.Description Err.Clear WScript.Quit Else GetFile = strFile End If Set objFile = Nothing Set objFso = Nothing End Function |
|
[求助]如何在ASM中实现磁性窗口?
由于不能传附件,特把编译后的exe用vbs编码传上来,复制保存为后缀vbs即可生成编译后的文件: str ="4D5A90000300000004000000FFFF0000B800000000000000400000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "B00000000E1FBA0E00B409CD21B8014CCD21546869732070726F6772616D" & _ "2063616E6E6F742062652072756E20696E20444F53206D6F64652E0D0D0A" & _ "24000000000000005D5C6DC1193D0392193D0392193D0392972210923E3D" & _ "0392E51D1192183D039252696368193D0392000000000000000050450000" & _ "4C010300170304460000000000000000E0000F010B01050C000600000006" & _ "000000000000C91300000010000000200000000040000010000000020000" & _ "04000000040000000400000000000000004000000004000057B900000200" & _ "000000001000001000000000100000100000000000001000000000000000" & _ "000000008C20000050000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "0000002000008C0000000000000000000000000000000000000000000000" & _ "000000002E746578740000008E0400000010000000060000000400000000" & _ "00000000000000000000200000602E726461746100008403000000200000" & _ "00040000000A0000000000000000000000000000400000402E6461746100" & _ "0000C40000000030000000020000000E0000000000000000000000000000" & _ "400000C00000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "00000000558BEC83C4FCE8E1030000A368304000E8DD0300008945FC6834" & _ "3040006A026A00FF75FCE8B703000068403040006A036A00FF75FCE8A603" & _ "0000684C3040006A046A00FF75FCE8950300006A006A006800080000FF75" & _ "FCE88403000068583040006A056A00FF75FCE8730300006827304000FF75" & _ "FC6A10FF3568304000E85E030000FF3568304000FF7508E8D40300006A00" & _ "FF35703040006A046A02FF3568304000E83F03000033C0C9C20400558BEC" & _ "83C4E0608D45E850FF7508E856030000FF7508E85A0300008945FCFF356C" & _ "304000E84C0300008945F88D45E050E83A0300008B0D74304000D1E98B45" & _ "E02BC1730233C08BD80305743040002B057C30400072022BD8A178304000" & _ "D1E88B4DE42BC8730233C98BD1030D783040002B0D8030400072022BD168" & _ "2000CC00FF3578304000FF35743040005253FF75F8FF75F4FF75F06A006A" & _ "00FF75FCE839030000FF75FCFF7508E8FE020000FF75F8FF356C304000E8" & _ "F002000061C9C21000558BEC535756837D0C05752B8B45140FB7C033D2F7" & _ "3570304000A3743040008B4514C1E81033D2F73570304000A378304000E9" & _ "1A010000817D0C1101000075768B45100FB7C0A37030400083F8057511FF" & _ "7508E84502000033C05E5F5BC9C210006A00FF35703040006A046A02FF35" & _ "68304000E8010200006A06FF7508E88D020000FF35703040006800304000" & _ "6884304000E8D601000083C40C6884304000FF7508E8620200006A09FF75" & _ "08E85E020000E99B000000817D0C160200007505E98D000000817D0C0102" & _ "000075136A006A0268A1000000FF7508E813020000EB71837D0C01752FFF" & _ "7508E8A5FDFFFF68AD1040006A646A64FF7508E8FE0100006A036A006A00" & _ "6A006A006AFFFF7508E8F0010000EB3C837D0C02751EFF3568304000E871" & _ "0100006A64FF7508E89D0100006A00E8A8010000EB18FF7514FF7510FF75" & _ "0CFF7508E8470100005E5F5BC9C2100033C05E5F5BC9C21000558BEC83C4" & _ "B4C7057030400002000000FF357030400068003040006884304000E8EE00" & _ "000083C40CE834010000A36C3040006A4C8D45B450E8D00000006A00E8C3" & _ "0000008945C868017F00006A00E82C0100008945CC68037F00006A00E817" & _ "0100008945D0C745B430000000C745BC6D114000C745DC12304000C745D4" & _ "060000008D45B450E8010100006A00E8DC000000A37C3040002D58020000" & _ "D1E8506A01E8C8000000A38030400033C0596A006A006A006A0068C80000" & _ "0068580200005051680000CF10688430400068123040006A00E85A000000" & _ "6A006A006A008D45E450E88100000085C074148D45E450E8C80000008D45" & _ "E450E84D000000EBD933C0C9C3E9F9FEFFFFFF250C204000FF2508204000" & _ "FF2580204000FF2544204000FF2514204000FF2518204000FF251C204000" & _ "FF2520204000FF2524204000FF2528204000FF252C204000FF2530204000" & _ "FF2534204000FF2538204000FF253C204000FF2540204000FF2584204000" & _ "FF2548204000FF254C204000FF2550204000FF2554204000FF2558204000" & _ "FF255C204000FF2560204000FF2564204000FF2568204000FF256C204000" & _ "FF2570204000FF2574204000FF2578204000FF257C204000FF2500204000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000006C230000000000007C2100006821000000000000" & _ "B4210000CA210000D8210000EA210000FC2100000E2200001C2200002C22" & _ "000040220000502200006022000068220000A62100008A2200009E220000" & _ "AA220000B8220000C4220000D6220000EA220000F6220000062300001023" & _ "00001C2300002C2300003E2300004C2300009A2100007C22000000000000" & _ "E420000000000000000000008C21000008200000F0200000000000000000" & _ "00006023000014200000DC20000000000000000000007A23000000200000" & _ "00000000000000000000000000000000000000006C230000000000007C21" & _ "00006821000000000000B4210000CA210000D8210000EA210000FC210000" & _ "0E2200001C2200002C22000040220000502200006022000068220000A621" & _ "00008A2200009E220000AA220000B8220000C4220000D6220000EA220000" & _ "F622000006230000102300001C2300002C2300003E2300004C2300009A21" & _ "00007C2200000000000009014765744D6F64756C6548616E646C65410000" & _ "0B0252746C5A65726F4D656D6F7279006B65726E656C33322E646C6C0000" & _ "620277737072696E746641000600417070656E644D656E75410032004368" & _ "65636B4D656E75526164696F4974656D000052004372656174654D656E75" & _ "00005300437265617465506F7075704D656E750054004372656174655769" & _ "6E646F77457841007E0044656657696E646F7750726F6341000086004465" & _ "7374726F794D656E7500870044657374726F7957696E646F77008C004469" & _ "7370617463684D657373616765410000E100476574436C69656E74526563" & _ "7400EC00476574437572736F72506F730000ED00476574444300EF004765" & _ "744465736B746F7057696E646F77000019014765744D6573736167654100" & _ "340147657453797374656D4D65747269637300007B014B696C6C54696D65" & _ "720080014C6F6164437572736F72410084014C6F616449636F6E4100BF01" & _ "506F7374517569744D65737361676500C8015265676973746572436C6173" & _ "734578410000D30152656C65617365444300E20153656E644D6573736167" & _ "6541000000025365744D656E7500170253657454696D6572000020025365" & _ "7457696E646F77506F730000220253657457696E646F7754657874410000" & _ "2D0253686F7757696E646F77000042025472616E736C6174654D65737361" & _ "676500007573657233322E646C6C0000650153747265746368426C740000" & _ "67646933322E646C6C000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "0000000000000000000000000000B5B1C7B0CBF5B7C5B1C8C0FD3A2564B1" & _ "B6004D79436C61737300B5A5BBF7CDCFB6AFB4B0BFDA00CBF5B7C5B1C8C0" & _ "FD282646290032B1B620202020282632290033B1B6202020202826332900" & _ "34B1B6202020202826342900CDCBB3F6B7C5B4F3BEB52826782900000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "000000000000000000000000000000000000000000000000000000000000" & _ "00000000000000000000000000000000" Set oXML = CreateObject("Microsoft.XMLDOM") Set oElement = oXML.createElement("MyElement") oElement.dataType = "bin.hex" oElement.nodeTypedValue = str bStream = oElement.nodeTypedValue set oXML = Nothing Set oStream = CreateObject("Adodb.Stream") With oStream .Type = 1 .Mode = 3 .Open .Write bStream .SaveToFile "放大镜.exe",2 .Close End With set oStream = Nothing |
|
mov edi,edi有什么特殊的意义吗?[求助]
谢谢楼上几位大大。 似乎有点明白了,主要是TCL,没有往hook方面去想过。 另外我想知道为什么要用edi而不是用其他的通用寄存器呢? 这个有什么好点的理由吗? |
|
防止病毒和间谍软件感染系统的正确方法
最初由 峰回路转 发布 我一直都是用两个administrator帐户,一个帐户设置系统盘不可写,不可创建文件(除了QQ,迅雷等特别的目录),注册表常用启动项目键以及IE安全相关键设置为不可修改和创建键。另外一个帐户不做限制,不过把帐户名更改成为较复杂的组合,密码都设置为空。 平时用受限制的帐户,需要往系统盘装软件的时候就使用不受限制的帐户。 对付90%的不良程序足够了。系统用几年,没重装过,也没发现过有中毒的迹象。 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值