当前位置:网站首页>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
边栏推荐
- 国内市场上的BI软件,到底有啥区别
- Hiengine: comparable to the local cloud native memory database engine
- Laravel document reading notes -mews/captcha use (verification code function)
- NFT: how to make money with unique assets?
- SAP UI5 视图里的 OverflowToolbar 控件
- 155. Minimum stack
- 滴滴开源DELTA:AI开发者可轻松训练自然语言模型
- Super efficient! The secret of swagger Yapi
- #yyds干货盘点# 解决名企真题:搬圆桌
- 关于 SAP UI5 getSAPLogonLanguage is not a function 的错误消息以及 API 版本的讨论
猜你喜欢
MySQL 巨坑:update 更新慎用影响行数做判断!!!
Concurrent performance test of SAP Spartacus with JMeter
阿里云SLB负载均衡产品基本概念与购买流程
初次使用腾讯云,解决只能使用webshell连接,不能使用ssh连接。
PyCharm安装第三方库图解
Alipay transfer system background or API interface to avoid pitfalls
2021-12-21 transaction record
The Research Report "2022 RPA supplier strength matrix analysis of China's banking industry" was officially launched
函数传递参数小案例
Hundred days to complete the open source task of the domestic database opengauss -- openguass minimalist version 3.0.0 installation tutorial
随机推荐
Introduction to the principle of DNS
946. Verify stack sequence
自然语言处理系列(一)入门概述
奔跑,开路
Compile kernel modules separately
关于 SAP UI5 getSAPLogonLanguage is not a function 的错误消息以及 API 版本的讨论
深度长文探讨Join运算的简化和提速
Rocky基础知识1
我在滴滴做开源
Difference between JUnit theories and parameterized tests
uni-app开发语音识别app,讲究的就是简单快速。
How to protect user privacy without password authentication?
Concurrent performance test of SAP Spartacus with JMeter
SAP SEGW 事物码里的导航属性(Navigation Property) 和 EntitySet 使用方法
Transactions from January 6 to October 2022
数据湖(七):Iceberg概念及回顾什么是数据湖
ABAP editor in SAP segw transaction code
How do e-commerce sellers refund in batches?
函数传递参数小案例
Comprehensive upgrade of Taobao short video photosynthetic platform