fix port_scan bug

This commit is contained in:
AlessandroZ 2016-12-21 16:40:34 +01:00
parent fcfc731b88
commit 1bf5235906
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ class WorkerThread(threading.Thread) :
self.queue.task_done()
def scan(remote_ip, ports, nb_threads, settimeout):
global open_port
open_port = []
queue = Queue.Queue()
threads = []