mirror of
https://github.com/ChronosX88/PyNesca.git
synced 2024-11-21 20:52:18 +00:00
Merge pull request #1 from solkogan/master
Fixed error "Bad file descriptor" when scanning.
This commit is contained in:
commit
65b51bac7c
@ -13,4 +13,5 @@ class CoreModel:
|
||||
if result == 0:
|
||||
openPorts.append(i)
|
||||
self.defSocket.close()
|
||||
self.defSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
return openPorts
|
||||
|
Loading…
Reference in New Issue
Block a user