Add in string option for ReverseListenerComm to reverse_udp.rb so we don't encounter errors when calling select_com in lib/msf/core/handler/reverse/comm.rb

This commit is contained in:
Grant Willcox 2021-10-07 12:07:24 -05:00
parent 5196071c22
commit cf479725b2
No known key found for this signature in database
GPG Key ID: D35E05C0F2B81E83
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ module ReverseUdp
[
OptAddress.new('ReverseListenerBindAddress', [ false, 'The specific IP address to bind to on the local system']),
OptInt.new('ReverseListenerBindPort', [ false, 'The port to bind to on the local system if different from LPORT' ]),
OptBool.new('ReverseListenerThreaded', [ true, 'Handle every connection in a new thread (experimental)', false])
OptBool.new('ReverseListenerThreaded', [ true, 'Handle every connection in a new thread (experimental)', false]),
OptString.new('ReverseListenerComm', [ false, 'The specific communication channel to use for this listener'])
] +
Msf::Opt::stager_retry_options,
Msf::Handler::ReverseUdp)