Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from Veil-Framework/macro_fix
Browse files Browse the repository at this point in the history
Fixed macro payload bug
  • Loading branch information
ChrisTruncer authored Mar 4, 2017
2 parents c3a45d0 + 27ab073 commit 2c7c19d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tools/Evasion/payloads/auxiliary/macro_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ def generate(self):
PayloadCode = top + "\r\n" + payL + "\r\n\r\n" + execStr + "\r\n\r\n" + shell + "\r\n\r\n" + bottom + "\r\n"

# Return
return PayloadCode
self.payload_source_code = PayloadCode
return

def formStr(self, varstr, instr):
holder = []
Expand All @@ -99,5 +100,4 @@ def formStr(self, varstr, instr):

str2 = str2 + "\""
str1 = str1 + "\r\n" + str2
self.payload_source_code = str1
return
return str1

0 comments on commit 2c7c19d

Please sign in to comment.