Indent level fix

git-svn-id: file:///home/svn/framework3/trunk@13477 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Wei Chen 2011-08-02 22:42:26 +00:00
parent 5db12c65eb
commit 1373d1043d
1 changed files with 25 additions and 25 deletions

View File

@ -18,24 +18,24 @@ class Metasploit3 < Msf::Post
def initialize(info={}) def initialize(info={})
super( update_info( info, super( update_info( info,
'Name' => 'Windows Gather Internet Download Manager (IDM) Password Extractor', 'Name' => 'Windows Gather Internet Download Manager (IDM) Password Extractor',
'Description' => %q{ 'Description' => %q{
This module recovers the saved premium download account passwords from This module recovers the saved premium download account passwords from
Internet Download Manager (IDM). These passwords are stored in an encoded Internet Download Manager (IDM). These passwords are stored in an encoded
format in the registry. This module traverses through these registry entries format in the registry. This module traverses through these registry entries
and decodes them. Thanks to the template code of thelightcosine's CoreFTP and decodes them. Thanks to the template code of thelightcosine's CoreFTP
password module. password module.
}, },
'License' => MSF_LICENSE, 'License' => MSF_LICENSE,
'Author' => 'Author' =>
[ [
'sil3ntdre4m <sil3ntdre4m[at]gmail.com>', 'sil3ntdre4m <sil3ntdre4m[at]gmail.com>',
'SecurityXploded Team <contact[at]securityxploded.com>' 'SecurityXploded Team <contact[at]securityxploded.com>'
], ],
'Version' => '$Revision$', 'Version' => '$Revision$',
'Platform' => [ 'windows' ], 'Platform' => [ 'windows' ],
'SessionTypes' => [ 'meterpreter' ] 'SessionTypes' => [ 'meterpreter' ]
)) ))
end end
def run def run
@ -91,14 +91,14 @@ class Metasploit3 < Msf::Post
end end
end end
def xor(ciphertext) def xor(ciphertext)
pass = ciphertext.unpack("C*") pass = ciphertext.unpack("C*")
key=15 key=15
for i in 0 .. pass.length-1 do for i in 0 .. pass.length-1 do
pass[i] ^= key pass[i] ^= key
end
return pass.pack("C*")
end end
return pass.pack("C*")
end
end end