Skip to content

Commit 2eace2b

Browse files
committed
Forget to reset raw with encoded payload
1 parent ba51617 commit 2eace2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/msf/core/encoded_payload.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ def generate(raw = nil)
7878

7979
# Encode the payload with every encoders in the list
8080
encode()
81+
# Encoded payload is now the raw payload to be encoded by the next encoder
82+
self.raw = self.encoded
8183
end
8284
else
8385
# No specified encoder, let BadChars or ForceEncode do their job

0 commit comments

Comments
 (0)