diff --git a/modules/auxiliary/scanner/smb/smb_enum_gpp.rb b/modules/auxiliary/scanner/smb/smb_enum_gpp.rb index 4342c6b645..6c31a13522 100644 --- a/modules/auxiliary/scanner/smb/smb_enum_gpp.rb +++ b/modules/auxiliary/scanner/smb/smb_enum_gpp.rb @@ -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