diff --git a/lib/msf/core/exploit/capture.rb b/lib/msf/core/exploit/capture.rb index 0066d7bb87..1f76773a49 100644 --- a/lib/msf/core/exploit/capture.rb +++ b/lib/msf/core/exploit/capture.rb @@ -37,7 +37,7 @@ module Msf register_advanced_options( [ - OptInt.new('SECRET', [true, 'A 32-bit cookie for probe requests.', 'MSF!'.unpack('N')]), + OptInt.new('SECRET', [true, 'A 32-bit cookie for probe requests.', 'MSF!'.unpack('N').first]), OptAddress.new('GATEWAY_PROBE_HOST', [ true,