Fix 1.9.1 compat for msfelfscan
git-svn-id: file:///home/svn/framework3/trunk@6659 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
5636204767
commit
5646e02a8a
|
@ -152,8 +152,8 @@ class PopPopRetScanner < JmpRegScanner
|
||||||
message = ''
|
message = ''
|
||||||
|
|
||||||
pops = elf.read(offset, 2)
|
pops = elf.read(offset, 2)
|
||||||
reg1 = Rex::Arch::X86.reg_name32(pops[0] & 0x7)
|
reg1 = Rex::Arch::X86.reg_name32(pops[0,1].unpack('C*')[0] & 0x7)
|
||||||
reg2 = Rex::Arch::X86.reg_name32(pops[1] & 0x7)
|
reg2 = Rex::Arch::X86.reg_name32(pops[1,1].unpack('C*')[0] & 0x7)
|
||||||
|
|
||||||
message = "pop #{reg1}; pop #{reg2}; "
|
message = "pop #{reg1}; pop #{reg2}; "
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue