mirror of
https://github.com/ChronosX88/PyNesca.git
synced 2024-12-27 19:31:45 +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