From 125a98fd1a147ccd82b5c26d930713391b693a35 Mon Sep 17 00:00:00 2001 From: xorrior Date: Mon, 18 Dec 2017 12:21:05 -0500 Subject: [PATCH] Fix for #831. Include 'po' or 'py' in the stager path to request a language specific stager. Default response will return otherwise --- lib/listeners/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/listeners/http.py b/lib/listeners/http.py index 53a3542..54109ac 100644 --- a/lib/listeners/http.py +++ b/lib/listeners/http.py @@ -826,7 +826,7 @@ def send_message(packets=None): launcher = self.mainMenu.stagers.generate_launcher(listenerName, language='python', encode=False, userAgent=userAgent, proxy=proxy, proxyCreds=proxyCreds) return launcher else: - pass + return make_response(self.default_response(), 200) @app.before_request def check_ip():