mirror of
https://github.com/calebstewart/pwncat.git
synced 2024-11-24 01:25:37 +01:00
Fixed unassigned variable issuse on failed listeners
This commit is contained in:
parent
80174614d2
commit
841e24b9de
@ -272,6 +272,8 @@ class Listener(threading.Thread):
|
||||
to trip up the manager, as this is running in a background thread."""
|
||||
|
||||
try:
|
||||
raw_server = None
|
||||
server = None
|
||||
|
||||
# Start the listener and wrap in the SSL context
|
||||
raw_server = self._open_socket()
|
||||
|
Loading…
Reference in New Issue
Block a user