diff --git a/modules/encoders/x86/xor_dynamic.rb b/modules/encoders/x86/xor_dynamic.rb index 0bf9f78510..9c0d0582e1 100644 --- a/modules/encoders/x86/xor_dynamic.rb +++ b/modules/encoders/x86/xor_dynamic.rb @@ -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