摘要:
一、Python发送邮件 import smtplib from email.mime.text import MIMEText def send(email_to,title,content): msg = MIMEText(content,"plain","utf-8") froms = "12 阅读全文
posted @ 2018-12-07 22:48
可口_可乐
阅读(152)
评论(0)
推荐(0)
摘要:
一、登录ssh失败次数统计 1)错误的打开方式 awk '/Failed password/ {print $(NF-3)}' secure |sort -n |uniq -c|sort -n |tail /var/log/secure 2)拷贝文件,再查看失败 cp /var/log/secure 阅读全文
posted @ 2018-12-07 17:20
可口_可乐
阅读(998)
评论(0)
推荐(0)
浙公网安备 33010602011771号