We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d8e1f8 commit d6fd2a4Copy full SHA for d6fd2a4
lib/msf/core/payload_generator.rb
@@ -332,6 +332,11 @@ def generate_payload
332
cli_print "Payload size: #{encoded_payload.length} bytes"
333
gen_payload = format_payload(encoded_payload)
334
end
335
+
336
+ if encoded_payload.length != gen_payload.length
337
+ cli_print "Final size of #{format}: #{gen_payload.length} bytes"
338
+ end
339
340
if gen_payload.nil?
341
raise PayloadGeneratorError, 'The payload could not be generated, check options'
342
elsif gen_payload.length > @space and not @smallest
0 commit comments