remove lies from module, this is a bound socket

bug/bundler_fix
Brent Cook 2017-01-02 09:47:18 -06:00
parent 5a4abeb110
commit 04a026e786
1 changed files with 1 additions and 3 deletions

View File

@ -8,7 +8,7 @@ require 'msf/core'
class MetasploitModule < Msf::Auxiliary class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::Tcp include Msf::Exploit::Remote::Udp
include Msf::Auxiliary::Report include Msf::Auxiliary::Report
include Msf::Auxiliary::Scanner include Msf::Auxiliary::Scanner
@ -42,8 +42,6 @@ class MetasploitModule < Msf::Auxiliary
password = nil password = nil
begin begin
# Create an unbound UDP socket if no CHOST is specified, otherwise
# create a UDP socket bound to CHOST (in order to avail of pivoting)
udp_sock = Rex::Socket::Udp.create( { udp_sock = Rex::Socket::Udp.create( {
'LocalHost' => datastore['CHOST'] || nil, 'LocalHost' => datastore['CHOST'] || nil,
'PeerHost' => ip, 'PeerHost' => ip,