Skip to content

Instantly share code, notes, and snippets.

@joswr1ght
Created March 31, 2021 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joswr1ght/45b158678764fdd63d010ad8fdb476a5 to your computer and use it in GitHub Desktop.
Save joswr1ght/45b158678764fdd63d010ad8fdb476a5 to your computer and use it in GitHub Desktop.
Check PATH for Writable Directories for Privesc Opportunity
IFS=:; set -o noglob; for dir in $PATH""; do ls -ld $dir; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment