3 ms·
Yes. But the version I have posted is not particularly useful. It only targets OSX and there are probably not many OSX machines running Redis that are directly
by benmmurphy 11y ago
Yes. But the version I have posted is not particularly useful. It only targets OSX and there are probably not many OSX machines running Redis that are directly accessible on the internet. A lot of the code in the patcher is dedicated to parsing the Macho binary so there is a bit of effort in parsing ELF instead if you wanted to port it to Linux. Also, on Linux there are some protections (https://sourceware.org/glibc/wiki/PointerEncryption https://sourceware.org/glibc/wiki/PointerEncryption) around the longjump buffer that you need to break as well if you want a patcher that won't also kill the Redis instance.