diff --git a/linux/hook.cpp b/linux/hook.cpp index bd36a75..0bd0839 100644 --- a/linux/hook.cpp +++ b/linux/hook.cpp @@ -122,14 +122,5 @@ void hook() return; } - // Jumps to specified address - uint8_t shellcode[] = - { - 0xFF, 0x25, 0x00, 0x00, 0x00, 0x00, // jmp [rip+0x06] - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // ? - }; - - *reinterpret_cast(&shellcode[6]) = &hook_is_feature_available; - write_jmp(_is_feature_available, reinterpret_cast(&hook_is_feature_available)); }