当前位置:网站首页>How to realize batch sending when fishing
How to realize batch sending when fishing
2022-07-05 13:03:00 【[email protected]】
0x01 trouble
When making phishing emails , Sometimes there are too many people to send , As a result, too much time is spent in the process of sending emails .
0x02 Solutions
1, The first one can be used as follows , Realize batch sending directly in the recipient , But there is a problem , In this case, batch sending is realized , All recipients' email contents are the same , This can not realize the specialization of everyone's email ( Because you need to add tracker, Through this tracker To track the status of the corresponding message of the corresponding recipient ), So this method has problems at present .
msg.SetHeader(“Bcc”, mailto…
2, The second is to send directly in parallel , utilize goruntine, Each recipient corresponds to one goruntine. This kind of problem is that you need to set it yourself smtp The number of connections that the server can accept , Ensure client to smtp There are enough connections to correspond to goruntine The number of , Otherwise the connection will reset , Cause unable to send email
As shown below ,activecall Interpretation of parameters
activeCall is an atomic int32; the low bit is whether Close has been called. the rest of the bits are the number of goroutines in Conn.Write.
by 0 when , It means the connection is normal , by 1 when , It means the connection is closed . If smtp The number of connections is less than goruntine The number of , It will cause the connection to close ,activecall Parameter is 1.


版权声明
本文为[[email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140524137840.html
边栏推荐
- 简单上手的页面请求和解析案例
- Reverse Polish notation
- Halcon 模板匹配实战代码(一)
- NFT: how to make money with unique assets?
- insmod 提示 Invalid module format
- RHCSA1
- How to connect the API interface of Taobao open platform (super detailed)
- Didi open source Delta: AI developers can easily train natural language models
- A small talk caused by the increase of sweeping
- I'm doing open source in Didi
猜你喜欢

MySQL 巨坑:update 更新慎用影响行数做判断!!!

CF:A. The Third Three Number Problem【关于我是位运算垃圾这个事情】
![[cloud native] event publishing and subscription in Nacos -- observer mode](/img/0f/34ab42b7fb0085f58f36eb67b6f107.png)
[cloud native] event publishing and subscription in Nacos -- observer mode

Introduction to sap ui5 dynamicpage control

Put functions in modules

From the perspective of technology and risk control, it is analyzed that wechat Alipay restricts the remote collection of personal collection code

uni-app开发语音识别app,讲究的就是简单快速。

Install rhel8.2 virtual machine

How to connect the API interface of Taobao open platform (super detailed)

SAP SEGW 事物码里的导航属性(Navigation Property) 和 EntitySet 使用方法
随机推荐
【云原生】Nacos中的事件发布与订阅--观察者模式
实战模拟│JWT 登录认证
[Nacos cloud native] the first step of reading the source code is to start Nacos locally
HiEngine:可媲美本地的云原生内存数据库引擎
函数的默认参数&函数参数的多种方法
Transactions from January 14 to 19, 2022
stirring! 2022 open atom global open source summit registration is hot!
I'm doing open source in Didi
SAP SEGW 事物码里的导航属性(Navigation Property) 和 EntitySet 使用方法
Super efficient! The secret of swagger Yapi
Small case of function transfer parameters
Yyds dry goods inventory # solve the real problem of famous enterprises: move the round table
Simple page request and parsing cases
Hundred days to complete the open source task of the domestic database opengauss -- openguass minimalist version 3.0.0 installation tutorial
简单上手的页面请求和解析案例
HiEngine:可媲美本地的云原生内存数据库引擎
Cf:a. the third three number problem
Realize the addition of all numbers between 1 and number
CF:A. The Third Three Number Problem【关于我是位运算垃圾这个事情】
RHCSA1