set port using rport instead of only 445

bug/bundler_fix
Josh Abraham 2015-07-28 15:29:23 -04:00
parent fafbc4db3f
commit 27e5557b67
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class Metasploit3 < Msf::Auxiliary
def report_creds(ip,user, password, disabled)
service_data = {
address: ip,
port: 445,
port: rport,
protocol: "tcp",
service_name: "smb",
workspace_id: myworkspace_id