当前位置:网站首页>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
边栏推荐
- Compile kernel modules separately
- RHCSA4
- RHCAS6
- Free testing of Taobao tmall API order and flag insertion remark interface
- Notes for preparation of information system project manager --- information knowledge
- Actual combat simulation │ JWT login authentication
- 155. 最小栈
- 谈谈我写作生涯的画图技巧
- Rocky基础命令3
- SAP SEGW 事物码里的 ABAP 类型和 EDM 类型映射的一个具体例子
猜你喜欢

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

Transactions from January 6 to October 2022

RHCAS6

DNS的原理介绍

What is the difference between Bi software in the domestic market

RHCSA7

【服务器数据恢复】某品牌服务器存储raid5数据恢复案例

Pinduoduo flag insertion remarks API

SAP SEGW 事物码里的 ABAP 类型和 EDM 类型映射的一个具体例子

Actual combat simulation │ JWT login authentication
随机推荐
Install rhel8.2 virtual machine
Introduction to the principle of DNS
Yyds dry inventory JS intercept file suffix
我在滴滴做开源
将函数放在模块中
Taobao short video, why the worse the effect
Hiengine: comparable to the local cloud native memory database engine
How to protect user privacy without password authentication?
How to connect the API interface of Taobao open platform (super detailed)
MySQL splits strings for conditional queries
事务的基本特性和隔离级别
石臻臻的2021总结和2022展望 | 文末彩蛋
数据湖(七):Iceberg概念及回顾什么是数据湖
155. Minimum stack
Pinduoduo flag insertion remarks API
How do e-commerce sellers refund in batches?
Association modeling method in SAP segw transaction code
SAP SEGW 事物码里的 ABAP Editor
Taobao, pinduoduo, jd.com, Doudian order & Flag insertion remarks API solution
Taobao order interface | order flag remarks, may be the most stable and easy-to-use interface