Fix for #831. Include 'po' or 'py' in the stager path to request a language specific stager. Default response will return otherwise

readme-wiki
xorrior 2017-12-18 12:21:05 -05:00
parent 162bf1727f
commit 125a98fd1a
1 changed files with 1 additions and 1 deletions

View File

@ -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) launcher = self.mainMenu.stagers.generate_launcher(listenerName, language='python', encode=False, userAgent=userAgent, proxy=proxy, proxyCreds=proxyCreds)
return launcher return launcher
else: else:
pass return make_response(self.default_response(), 200)
@app.before_request @app.before_request
def check_ip(): def check_ip():