Added code to assign CPORT value to the parent scanner object

bug/bundler_fix
Brendan 2016-08-29 13:17:10 -05:00
parent ea32c313d3
commit b21ea2ba3f
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ class MetasploitModule < Msf::Auxiliary
@scanner = Metasploit::Framework::LoginScanner::SMB.new(
host: ip,
port: rport,
local_port: datastore['CPORT'],
stop_on_success: datastore['STOP_ON_SUCCESS'],
bruteforce_speed: datastore['BRUTEFORCE_SPEED'],
connection_timeout: 5,