From 400dc7bfd467fc881f6f2794d04c6d166ad9c6e0 Mon Sep 17 00:00:00 2001 From: null <50769953+test502git@users.noreply.github.com> Date: Sat, 30 Oct 2021 11:16:32 +0800 Subject: [PATCH] Update IP_hosts_scan_multithreadingv2.0.py --- IP_hosts_scan_multithreadingv2.0.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IP_hosts_scan_multithreadingv2.0.py b/IP_hosts_scan_multithreadingv2.0.py index 656ff7f..e13978b 100644 --- a/IP_hosts_scan_multithreadingv2.0.py +++ b/IP_hosts_scan_multithreadingv2.0.py @@ -1,6 +1,6 @@ # -*- coding: UTF-8 -*- -#Author:Rivaill -#这是一个用于IP和域名碰撞匹配访问的小工具(多线程) +#Author:tangshoupu +#这是一个用于IP和域名碰撞匹配访问的小工具(多线程)升级版 import itertools import signal import threading @@ -55,7 +55,7 @@ def host_check(host_ip): lock.release() else: print('存在假碰撞,忽略,保存在ignored-req.txt中',info) - open('ignored-req.txt',encoding='utf-8').write(str(info)+'\n') + open('ignored-req.txt','a',encoding='utf-8').write(str(info)+'\n') except Exception as ex: if lock.acquire(): -- GitLab