Skip to content

Commit e02d726

Browse files
committed
Setting default values to the added options
1 parent 92a1a3e commit e02d726

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/msf/core/payload/python/reverse_tcp.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ module Payload::Python::ReverseTcp
1919
def initialize(*args)
2020
super
2121
register_advanced_options([
22-
OptInt.new('StagerRetryCount', [false, 'The number of times the stager should retry if the first connect fails (zero to infinite retries)', 0]),
23-
OptInt.new('StagerRetryWait', [false, 'Number of seconds to wait for the stager between reconnect attempts'])
22+
OptInt.new('StagerRetryCount', [false, 'The number of times the stager should retry if the first connect fails (zero to infinite retries)', 10]),
23+
OptInt.new('StagerRetryWait', [false, 'Number of seconds to wait for the stager between reconnect attempts',5])
2424
], self.class)
2525
end
2626

modules/payloads/stagers/python/reverse_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
module MetasploitModule
1313

14-
CachedSize = 362
14+
CachedSize = 454
1515

1616
include Msf::Payload::Stager
1717
include Msf::Payload::Python::ReverseTcp

modules/payloads/stagers/python/reverse_tcp_uuid.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
module MetasploitModule
1313

14-
CachedSize = 466
14+
CachedSize = 558
1515

1616
include Msf::Payload::Stager
1717
include Msf::Payload::Python

0 commit comments

Comments
 (0)