mirror of https://github.com/n1nj4sec/pupy.git
Do not try to close zeroed socket
This commit is contained in:
parent
8a3dee31ca
commit
4a9ebd573d
|
@ -260,4 +260,5 @@ class PupyUDPServer(object):
|
|||
|
||||
def close(self):
|
||||
self.active=False
|
||||
self.sock.close()
|
||||
if self.sock:
|
||||
self.sock.close()
|
||||
|
|
Loading…
Reference in New Issue