这个代码谁用过,攻击可以发邮件到指定邮箱!
:global mailip:set mailip [:resolve smtp.qq.com]
:global mailuser "qq号"
:global mailpw "qq密码"
#发送地址
:global Tomail "123843352@qq.com"
#561581319@qq.com=发送人地址
/tool e-mail set from=561581319@qq.com server=$mailip password=$mailpw username=$mailuser
/log print file=( . "Log-" . [:pick 7 11] . [:pick 0 3] . [:pick 4 6])
:delay 2
/tool e-mail send file=( . "Log-" . [:pick 7 11] . [:pick 0 3] . [:pick 4 6] . ".txt") to=$Tomail body="$\r\n" subject="攻击警报 $ $ $ Log"
:delay 10
/file rem . "Log-" . [:pick 7 11] . [:pick 0 3] . [:pick 4 6] . ".txt")]
:log info ("攻击警报已发送 " . . " " . )
不知道哪里设置错了,就是没效果! 呵呵,去死性不改个人博客看看吧,那里有的 感觉要这东西浪费U啊
页:
[1]