diff --git a/data/templates/template.exe b/data/templates/template.exe index 86a59698dd..63b8b67be4 100644 Binary files a/data/templates/template.exe and b/data/templates/template.exe differ diff --git a/lib/rex/text.rb b/lib/rex/text.rb index 34f5641bf6..d450697598 100644 --- a/lib/rex/text.rb +++ b/lib/rex/text.rb @@ -593,7 +593,7 @@ module Text bo = pe.index('PAYLOAD:') pe[bo, 1024] = [code].pack('a1024') if bo - ds = pe.index([0x48dd6922].pack('V')) + ds = pe.index([0x48dd7103].pack('V')) pe[ds, 4] = [rand(0x100000000)].pack('V') if ds return pe