remove lies from module, this is a bound socket
parent
5a4abeb110
commit
04a026e786
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue