Commit 9ed70b67 authored by Chu's avatar Chu

update shellcode

parent ab87914e
......@@ -134,7 +134,7 @@ void Process::call_func(const void *address, std::array<const void *, 6> args)
check_for_attached();
// 0: 48 83 e4 f0 and $0xfffffffffffffff0, %rsp
// 4: 48 bb ef be ad de ef be ad de movabs $0xdeadbeefdeadbeef, %rbx
// e: ff d3 callq *%rbx
// e: ff d3 callq *%rbx
// 10: cc int3
// https://stackoverflow.com/questions/44613592/shared-library-injection-dl-relocate-object-segfaults
std::vector<unsigned char> shellcode = {0x48, 0x83, 0xe4, 0xf0, 0x48, 0xbb, 0xef, 0xbe, 0xad,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment