![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
芳华9166
加油
展开
-
批量检测恶意网址,利用微步api
最近emotet银行木马肆虐,我在分析网站上爬取了emotet木马相关的恶意网址,大约3万条,由于原网站上夹杂了一些正常网站也被爬取了下,而且有些恶意网址也不确定是否准确,所以准备将结果再次发送到微步在线进行检测,过滤一遍,把正常网站去除,只留下,被微步判定位“恶意”和“可疑”的网址。微步的api文档https://s.threatbook.cn/api下面是本人的代码,写的比较简陋,...原创 2019-11-01 15:48:04 · 4566 阅读 · 3 评论 -
python字符串replace替换无效原因
#coding=utf-8filename = '1.txt'with open(filename) as f: lines = f.readlines()pi_string = ''for line in lines : pi_string += line.strip()birthday = raw_input("enter your birthday:")if...原创 2019-07-30 10:58:39 · 5894 阅读 · 0 评论