mirror of https://github.com/n1nj4sec/pupy.git
fix port_scan bug
This commit is contained in:
parent
fcfc731b88
commit
1bf5235906
|
@ -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 = []
|
||||
|
||||
|
|
Loading…
Reference in New Issue