fixes: update x86/xor_dynamic for #11100
parent
a94e52ca31
commit
ff2d048530
|
@ -15,6 +15,14 @@ class MetasploitModule < Msf::Encoder::XorDynamic
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Indicate that this module can preserve some registers
|
||||||
|
# ...which is currently not true. This is a temp fix
|
||||||
|
# until the full preserve_registers functionality is
|
||||||
|
# implemented.
|
||||||
|
def can_preserve_registers?
|
||||||
|
true
|
||||||
|
end
|
||||||
|
|
||||||
def stub
|
def stub
|
||||||
"\xeb\x23" + # jmp _call
|
"\xeb\x23" + # jmp _call
|
||||||
"\x5b" + # _ret: pop ebx
|
"\x5b" + # _ret: pop ebx
|
||||||
|
|
Loading…
Reference in New Issue