You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is what I was looking for when I came here. I'm trying to find a library that will take an ELF string with a single function defined in it and produce a function pointer that I can call.
You could use dlopen in combination with memfd and /process/self/fd/...
Use pwnlib to generate the elf file.
It should be easy to implement the dlopen functionality in netelf, but I
wanted to keep the code simple.
On 29 Aug 2017 13:59, "Jim Pivarski" ***@***.***> wrote:
This is what I was looking for when I came here. I'm trying to find a
library that will take an ELF string with a single function defined in it
and produce a function pointer that I can call.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASjNrJdS7PwnICmenEBfug36K21ODHxks5sdAtKgaJpZM4LpcMt>
.
On Windows use MemoryModule, on Linux just dlopen the file or socket.
argv[0]
should be the symbol name to load and call.Then call the symbol with:
The text was updated successfully, but these errors were encountered: