Fix for #831. Include 'po' or 'py' in the stager path to request a language specific stager. Default response will return otherwise
parent
162bf1727f
commit
125a98fd1a
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue