Skip to content

Commit 93450b8

Browse files
committed
use common retry options for UDP
1 parent 6fe8691 commit 93450b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/msf/core/handler/reverse_udp.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,13 @@ def initialize(info = {})
5151
# XXX: Not supported by all modules
5252
register_advanced_options(
5353
[
54-
OptInt.new('ReverseConnectRetries', [ true, 'The number of connection attempts to try before exiting the process', 5 ]),
5554
OptAddress.new('ReverseListenerBindAddress', [ false, 'The specific IP address to bind to on the local system']),
5655
OptInt.new('ReverseListenerBindPort', [ false, 'The port to bind to on the local system if different from LPORT' ]),
5756
OptString.new('ReverseListenerComm', [ false, 'The specific communication channel to use for this listener']),
5857
OptBool.new('ReverseListenerThreaded', [ true, 'Handle every connection in a new thread (experimental)', false])
59-
], Msf::Handler::ReverseUdp)
58+
] +
59+
Msf::Opt::stager_retry_options,
60+
Msf::Handler::ReverseUdp)
6061

6162
self.conn_threads = []
6263
end

0 commit comments

Comments
 (0)