What is Nostr?
:nigga: /
npub1jcg…zdxy
2023-10-15 13:10:52
in reply to nevent1q…tpml

:nigga: on Nostr: Nekobit im not good at words so heres a sloppy drawing, so you find where the symbol ...

Nekobit (npub1csc…kqq2) im not good at words so heres a sloppy drawing, so you find where the symbol "negro" in a.out points to in imhex and replace it with the compiled result of a small shim opener and some extra `pop rbp;ret;` stuff to not spill off the instructions
if you're lucky enough the shim will not be bigger than the original function's binary (and it should be, that's why we're separating the real function from the shim in the first place)
and you have a.so which has the actual real desired function that you wrote and want to inject
if you want parameters or if it's a C++ symbol it can get pretty tricky

Author Public Key
npub1jcg8fstt4tal8zxuwt8c9v558jjwlwpcdqfxujfh7cx2cggwcwrquwzdxy