From 841e24b9de891c3ec8b0e05850d0d53b7666bb79 Mon Sep 17 00:00:00 2001 From: Caleb Stewart Date: Sat, 19 Jun 2021 20:41:58 -0400 Subject: [PATCH] Fixed unassigned variable issuse on failed listeners --- pwncat/manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pwncat/manager.py b/pwncat/manager.py index 19c7a4c..cf7b8a9 100644 --- a/pwncat/manager.py +++ b/pwncat/manager.py @@ -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()