fixes: update x86/xor_dynamic for #11100

This commit is contained in:
Francesco Soncina 2018-12-10 22:45:45 +01:00 committed by GitHub
parent a94e52ca31
commit ff2d048530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -15,6 +15,14 @@ class MetasploitModule < Msf::Encoder::XorDynamic
)
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
"\xeb\x23" + # jmp _call
"\x5b" + # _ret: pop ebx