If remmina config files are missing data for creds, tell me what

bug/bundler_fix
Jon Hart 2014-10-08 12:48:49 -07:00
parent 875d1f9ea0
commit e5bb13a609
1 changed files with 5 additions and 1 deletions

View File

@ -162,7 +162,11 @@ class Metasploit3 < Msf::Post
create_credential_login(login_data) create_credential_login(login_data)
creds_count += 1 creds_count += 1
else else
vprint_error("No host, user and password in #{file}") missing = []
missing << 'host' unless host
missing << 'user' unless user
missing << 'password' unless password
vprint_error("No #{missing.join(',')} in #{file}")
end end
end end
creds_count creds_count