def main(): setdefaulttimeout(1) #2 ip,port_s,port_e=giapfi() #3.4 for p in range(port_s,port_e): t = threading.Thread(target=portScanner,args=(ip,p)) threads.append(t) t.start()
for t in threads: t.join()
print('[*] The scan is complete!') print('[*] A total of %d open port ' % (openNum))
暂无评论