Skip to content

Commit 743e9fc

Browse files
committed
Correctly set default SECRET
1 parent 1e423f4 commit 743e9fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/exploit/capture.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def initialize(info = {})
3737

3838
register_advanced_options(
3939
[
40-
OptInt.new('SECRET', [true, 'A 32-bit cookie for probe requests.', 'MSF!'.unpack('N')]),
40+
OptInt.new('SECRET', [true, 'A 32-bit cookie for probe requests.', 'MSF!'.unpack('N').first]),
4141
OptAddress.new('GATEWAY_PROBE_HOST',
4242
[
4343
true,

0 commit comments

Comments
 (0)