Fix for stagerURI
parent
3c462999c7
commit
c8217e87cf
|
@ -107,7 +107,7 @@ class Listener:
|
||||||
'Value' : 'Microsoft-IIS/7.5'
|
'Value' : 'Microsoft-IIS/7.5'
|
||||||
},
|
},
|
||||||
'StagerURI' : {
|
'StagerURI' : {
|
||||||
'Description' : 'URI for the stager. Example: stager.php',
|
'Description' : 'URI for the stager. Must use /download/. Example: /download/stager.php',
|
||||||
'Required' : False,
|
'Required' : False,
|
||||||
'Value' : ''
|
'Value' : ''
|
||||||
},
|
},
|
||||||
|
@ -801,9 +801,9 @@ def send_message(packets=None):
|
||||||
self.app = app
|
self.app = app
|
||||||
|
|
||||||
|
|
||||||
@app.route('/<string:stagerURI>')
|
@app.route('/download/<stager>')
|
||||||
def send_stager(stagerURI):
|
def send_stager(stager):
|
||||||
if stagerURI:
|
if stager:
|
||||||
launcher = self.mainMenu.stagers.generate_launcher(listenerName, language='powershell', encode=False, userAgent=userAgent, proxy=proxy, proxyCreds=proxyCreds)
|
launcher = self.mainMenu.stagers.generate_launcher(listenerName, language='powershell', encode=False, userAgent=userAgent, proxy=proxy, proxyCreds=proxyCreds)
|
||||||
return launcher
|
return launcher
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue