Skip to content

Instantly share code, notes, and snippets.

@aaronyoo
Last active September 5, 2018 03:55
Show Gist options
  • Save aaronyoo/0bba6f8a17ae0d91b7e1a301875dacf0 to your computer and use it in GitHub Desktop.
Save aaronyoo/0bba6f8a17ae0d91b7e1a301875dacf0 to your computer and use it in GitHub Desktop.
A ptrace injection.
// This is a redefinition of ptrace to get around the
// ptrace anti-debug trick.
long ptrace(int a, int b, void *c, void *d) {
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment