-
-
Save Orc/e91666025385ccc2b9d2b28d9a8159b3 to your computer and use it in GitHub Desktop.
A cu wrapper to fill the time between realizing that apple shipped an insufficiently privileged cu & being able to boot the machine into recovery mode for a `csrutil disable`
This file contains 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
#include <stdio.h> | |
#include <unistd.h> | |
main(argc, argv) | |
char **argv; | |
{ | |
/* to get around the goddamn macos privilege protection racket */ | |
execv("/usr/bin/cu", argv); | |
perror("cu"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment