Added code to assign CPORT value to the parent scanner object
parent
ea32c313d3
commit
b21ea2ba3f
|
@ -70,6 +70,7 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
@scanner = Metasploit::Framework::LoginScanner::SMB.new(
|
@scanner = Metasploit::Framework::LoginScanner::SMB.new(
|
||||||
host: ip,
|
host: ip,
|
||||||
port: rport,
|
port: rport,
|
||||||
|
local_port: datastore['CPORT'],
|
||||||
stop_on_success: datastore['STOP_ON_SUCCESS'],
|
stop_on_success: datastore['STOP_ON_SUCCESS'],
|
||||||
bruteforce_speed: datastore['BRUTEFORCE_SPEED'],
|
bruteforce_speed: datastore['BRUTEFORCE_SPEED'],
|
||||||
connection_timeout: 5,
|
connection_timeout: 5,
|
||||||
|
|
Loading…
Reference in New Issue