Last active
May 23, 2023 10:41
-
-
Save genevera/48031ed03ccaaacb3b4a2f77f7228a28 to your computer and use it in GitHub Desktop.
spoofing strace for htop on mac os x
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
| #!/usr/local/bin/genv /usr/local/bin/bash | |
| args_modded="-a $(echo ${*}| sed 's/-s 512//')"; | |
| exec /usr/bin/sudo -E /usr/bin/dtruss ${args_modded} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment