mirror of
https://github.com/ChronosX88/PyNesca.git
synced 2024-11-22 05:02:18 +00:00
Update CoreModel.py
This commit is contained in:
parent
9bfcc9020e
commit
2b412dd8f7
@ -13,4 +13,5 @@ class CoreModel:
|
|||||||
if result == 0:
|
if result == 0:
|
||||||
openPorts.append(i)
|
openPorts.append(i)
|
||||||
self.defSocket.close()
|
self.defSocket.close()
|
||||||
|
self.defSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||||
return openPorts
|
return openPorts
|
||||||
|
Loading…
Reference in New Issue
Block a user