Skip to content

Commit

Permalink
Land #7251, CPORT fix for smb_login
Browse files Browse the repository at this point in the history
  • Loading branch information
wvu committed Aug 30, 2016
2 parents ea77216 + b21ea2b commit e403df5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/auxiliary/scanner/smb/smb_login.rb
Expand Up @@ -70,6 +70,7 @@ def run_host(ip)
@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,
Expand Down

0 comments on commit e403df5

Please sign in to comment.