Skip to content

Commit

Permalink
List permissions on PATH directories to see if they are writable (reb…
Browse files Browse the repository at this point in the history
…ootuser#42)

* Update LinEnum.sh

* Update LinEnum.sh

PATH directories listed to show if their permissions (to see if they are writable)
  • Loading branch information
stealthcopter authored and rebootuser committed Nov 21, 2019
1 parent 729665e commit 23ac9f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LinEnum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,9 @@ fi
#current path configuration
pathinfo=`echo $PATH 2>/dev/null`
if [ "$pathinfo" ]; then
pathswriteable=`ls -ld $(echo $PATH | tr ":" " ")`
echo -e "\e[00;31m[-] Path information:\e[00m\n$pathinfo"
echo -e "$pathswriteable"
echo -e "\n"
fi

Expand Down

0 comments on commit 23ac9f7

Please sign in to comment.