|
[原创]PHP开发的在线记事本系统,服务器程序!
我喜欢,但忘得差不多了 |
|
[求助]中断服务例程序跑在哪个线程上下文中
我觉得:任何可以中断的线程,应该不会隐含提升IRQL |
|
[原创][原创]个人对汇编级多线程的理解
我觉得你的理解是基本错误的 |
|
[求助]难题求救啊,大神帮忙!!!!!!!
以太头效验? |
|
[分享]汇编语言实现邮件发送
谢谢!!!! |
|
[分享]汇编语言实现邮件发送
.386 .model flat, stdcall ;32 bit memory model option casemap :none ;case sensitive ;__RELEASE__ equ <> include MailSend.Inc .code start: invoke WSAStartup, 101h, offset wsadata invoke socket, AF_INET, SOCK_STREAM, 0 mov hSocket, eax invoke RtlZeroMemory,offset sin,sizeof sin mov sin.sin_family, AF_INET invoke htons, 25;主机字节顺序转化为网络字节顺序 mov sin.sin_port, ax invoke gethostbyname, offset szSend .if eax mov eax, [eax + hostent.h_list]; mov eax, [eax]; mov eax, [eax]; mov sin.sin_addr, eax .endif ;; 建立连接 invoke connect, hSocket, offset sin, sizeof sin invoke recv,hSocket,offset szRcvBuffer,sizeof szRcvBuffer,0 ;EHLO invoke lstrlen,offset szHelo ;not include null terminated,sizeof include null terminated invoke send, hSocket, offset szHelo,eax, 0 invoke RtlZeroMemory,offset szRcvBuffer,sizeof szRcvBuffer invoke recv,hSocket,offset szRcvBuffer,sizeof szRcvBuffer,0 ;AUTH LOGIN invoke lstrlen,offset szAuth invoke send, hSocket, offset szAuth, eax, 0 invoke RtlZeroMemory,offset szRcvBuffer,sizeof szRcvBuffer invoke recv,hSocket,offset szRcvBuffer,sizeof szRcvBuffer,0 ;发送用户名 invoke lstrlen,offset szUsername invoke Base64Encode,offset szUsername,eax,offset buffer mov dword ptr buffer[eax],0a0dh add eax,2 invoke send, hSocket, offset buffer, eax, 0 invoke RtlZeroMemory,offset szRcvBuffer,sizeof szRcvBuffer invoke recv,hSocket,offset szRcvBuffer,sizeof szRcvBuffer,0 ;; 发送密码 invoke RtlZeroMemory,offset buffer,sizeof buffer invoke lstrlen,offset szPassword invoke Base64Encode,offset szPassword,eax,offset buffer mov dword ptr buffer[eax],0a0dh add eax,2 invoke send, hSocket, offset buffer, eax, 0 invoke RtlZeroMemory,offset szRcvBuffer,sizeof szRcvBuffer invoke recv,hSocket,offset szRcvBuffer,sizeof szRcvBuffer,0;这里接收到错误信息 ;; 发送“mail from” invoke lstrlen,offset szMailFrom invoke send, hSocket, offset szMailFrom,eax, 0 invoke RtlZeroMemory,offset szRcvBuffer,sizeof szRcvBuffer invoke recv,hSocket,offset szRcvBuffer,sizeof szRcvBuffer,0 ;; 发送“rcpt” invoke lstrlen,offset szRCPT invoke send, hSocket, offset szRCPT,eax, 0 invoke RtlZeroMemory,offset szRcvBuffer,sizeof szRcvBuffer invoke recv,hSocket,offset szRcvBuffer,sizeof szRcvBuffer,0 ;; DATA 准备开始发送邮件内容 invoke lstrlen,offset szData invoke send, hSocket, offset szData, eax, 0 invoke RtlZeroMemory,offset szRcvBuffer,sizeof szRcvBuffer invoke recv,hSocket,offset szRcvBuffer,sizeof szRcvBuffer,0 ; 邮件内容为szHead invoke lstrlen,offset szHead invoke send, hSocket, offset szHead,eax, 0 invoke RtlZeroMemory,offset szRcvBuffer,sizeof szRcvBuffer invoke recv,hSocket,offset szRcvBuffer,sizeof szRcvBuffer,0 ;; 发送邮件正文 invoke lstrlen,offset szContent invoke send, hSocket, offset szContent,eax, 0 invoke RtlZeroMemory,offset szRcvBuffer,sizeof szRcvBuffer invoke recv,hSocket,offset szRcvBuffer,sizeof szRcvBuffer,0 ;; 发送“quit” invoke lstrlen,offset szQuit invoke send, hSocket, offset szQuit, eax, 0 invoke RtlZeroMemory,offset szRcvBuffer,sizeof szRcvBuffer invoke recv,hSocket,offset szRcvBuffer,sizeof szRcvBuffer,0 ;; 断开连接 invoke closesocket, hSocket invoke WSACleanup invoke ExitProcess,NULL end start |
|
[分享]汇编语言实现邮件发送
是不是对用户名和密码有要求的,不是普通qq能用的?或者对EHLO 后面的hostname 有要求? |
|
[分享]汇编语言实现邮件发送
我真晕了,这次又提示 530 error, a secure connection is required,提交密码后提示的 我回头改成465,结果recv失败 改成587,结果显示要先 starttls command ssl就算了,我搞不了 |
|
|
|
[求助]为什么OpenProcess永远返回92
句柄不是一种索引吗?为什么第一个句柄的数值不变?换个编译器,应该就变了吧 |
|
|
|
|
|
[求助]SEH Handler中切换堆栈?
o_esp 在esp 下面,又调用crt_printf,crt_printf要分配局部变量,可不就修改了o_esp内容了吗 |
|
[原创]内存注册机源码
0xFEEB 什么意思? |
|
[求助]hook 任意系统函数有什么简便的方法
手工hook也不难 |
|
[讨论]看来论坛还是看客多啊
Anzun的帖子,我看了,都是关于模拟按键求助的 我是标准看客,主要因为自己太菜,不敢乱说 模拟按键应该不难,但自己忙于做自己的,现在没时间针对研究Anzun的问题 我想很多人都和我类似吧,没时间对太具体问题去研究,只能对概念性的问题提出些建议 具体问题还要靠自己吧 |
|
|
|
[求助]有没有可能读写USB HID协议来模拟USB键盘的按键?
按键精灵不就是吗 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值