Created
June 5, 2019 07:47
-
-
Save m00shm00sh/9907d5124088918aa0372cf52fc2554c to your computer and use it in GitHub Desktop.
omri_tut
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// cc omri.c -shared -o omri.so; LD_PRELOAD=`pwd`/omri.so ... | |
#include <errno.h> | |
int isatty(int unused) { | |
errno = ENOTTY; | |
return 0; | |
} | |
// omri pls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment