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 d3cdcd5 commit 5e059e0Copy full SHA for 5e059e0
lib/msf/core/payload_generator.rb
@@ -9,7 +9,7 @@ class PayloadGeneratorError < StandardError
9
class EncoderSpaceViolation < PayloadGeneratorError
10
end
11
12
- class SpaceViolation < PayloadGeneratorError
+ class PayloadSpaceViolation < PayloadGeneratorError
13
14
15
class IncompatibleArch < PayloadGeneratorError
@@ -333,7 +333,7 @@ def generate_payload
333
gen_payload = format_payload(encoded_payload)
334
335
if gen_payload.length > @space and not @smallest
336
- raise SpaceViolation, 'The payload exceeds the allocated space'
+ raise PayloadSpaceViolation, 'The payload exceeds the specified space'
337
else
338
gen_payload
339
0 commit comments