|
关于ReadFile阻塞的问题
已经搞定,我是我的代码有问题~~~~~ |
|
关于木马的生成技术
一个被加壳的程序如何加入新的区段? |
|
|
|
关于ReadFile阻塞的问题
描述的不够清楚吗?? 很简单啊~~~ ReadFile读取数据,如果句柄中没有数据的时候,该函数会阻塞在这里~~ 就在他阻塞的时候,我创建一个线程去关闭他正在读取的句柄~~ 在VC中,ReadFile函数会返回失败~~~ 但是在汇编中,ReadFile依然阻塞在那里 |
|
关于木马的生成技术
smc技术应该不行吧~~ 举个例子~~ 386 .model flat, stdcall option casemap:none include \masm32\include\windows.inc include \masm32\include\kernel32.inc include \masm32\include\user32.inc includelib \masm32\lib\kernel32.lib includelib \masm32\lib\user32.lib ShowMessage proto ReplaceMent proto .data szMsg1 db "这是未执行SMC之前的代码!", 0 .code start: invoke MessageBox,0,addr szMsg1,0,0 invoke ExitProcess,0 end start 这个是一个MsgBox框,我想要再写一个程序,去修改MsgBox显示的内容~~ 如果这个程序没有加壳的话,很好做,找到szMsg1的位置就好了,然后修改~ 如果这个程序加壳了话,szMsg1就被封装起来了,无法直接修改~~ 请问应该怎么做? |
|
关于*.h文件转换成*.inc
没有的函数可以手动声明一下就好了~~~ |
|
[讨论]C++8.0发布了?
是VC 2005吗? |
|
MASM32 Version 9 官方最新正式版
最初由 lemony 发布 CreateFile函数中的参数有几个宏的声明是错误的~~ 和SDK中的声明有出入 还没有看9.0中有没有修复过来 反正8.2 SP2是没有修复的 |
|
winsock2编程
.386 .model flat,stdcall option casemap:none include windows.inc include user32.inc include kernel32.inc include ws2_32.inc includelib user32.lib includelib kernel32.lib includelib ws2_32.lib include D:\WinAsm\masm32\macros\macros.asm main proto .code start: invoke main invoke ExitProcess,0 main proc LOCAL @wsaData:WSADATA LOCAL @sockid:SOCKET LOCAL @addr:sockaddr_in LOCAL @Event:HANDLE LOCAL EventWork:WSANETWORKEVENTS LOCAL buf[100]:BYTE invoke WSAStartup,202h,addr @wsaData mov @sockid,FUNC(socket,AF_INET,SOCK_STREAM,0) mov @addr.sin_family,AF_INET mov @addr.sin_addr.S_un.S_addr,FUNC(inet_addr,SADD("127.0.0.1")) invoke htons,90 mov @addr.sin_port,ax invoke bind,@sockid,addr @addr,sizeof @addr invoke WSACreateEvent mov @Event,eax invoke WSAEventSelect,@sockid,@Event,FD_CONNECT or FD_CLOSE invoke connect,@sockid,addr @addr,sizeof @addr ;invoke wsprintf,addr buf,SADD("%d"),FUNC(WSAGetLastError) ;invoke MessageBox,0,addr buf,0,0 .while TRUE invoke WSAWaitForMultipleEvents,1,addr @Event,FALSE,INFINITE,FALSE invoke WSAResetEvent,@Event invoke WSAEnumNetworkEvents,@sockid,@Event,addr EventWork .if EventWork.lNetworkEvents == FD_CONNECT .if EventWork.iErrorCode[FD_CONNECT_BIT] != 0 invoke MessageBox,0,SADD("连接失败"),0,0 .break .endif invoke MessageBox,0,SADD("连接成功"),0,0 .elseif EventWork.lNetworkEvents == FD_CLOSE invoke MessageBox,0,SADD("连接关闭"),0,0 .endif .endw invoke WSACleanup Ret main EndP end start 完整代码~~ 连接成功了,还是会进入invoke MessageBox,0,SADD("连接失败"),0,0 为什么???????????????????? 实在不懂 |
|
|
|
[原创]Four-F高级字符串宏修正版
难道要手动导入该函数? 编辑: 晕,今天的发贴数用完了~~~~ 刚才我用SDK的user32.lib替换了一下masm的lib 编译通过,也可以正常运行~~ 但是两个lib大小差好多哦~~ masm有400多K SDK的只有100多K 不知道会不会出问题 |
|
[原创]Four-F高级字符串宏修正版
我刚才查到了 并且在代码中声明 wsprintfW PROTO C :DWORD,:VARARG 编译可以通过,但是链接会失败 error LNK2001: unresolved external symbol _wsprintfW |
|
|
|
|
|
|
|
关于宏参数
哦,解决了,原来是我自己的问题 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值