From 23ac9f718203dd8718262b8bb4a11f796170ed55 Mon Sep 17 00:00:00 2001 From: Matthew Rollings <1211162+stealthcopter@users.noreply.github.com> Date: Thu, 21 Nov 2019 11:53:25 +0000 Subject: [PATCH] List permissions on PATH directories to see if they are writable (#42) * Update LinEnum.sh * Update LinEnum.sh PATH directories listed to show if their permissions (to see if they are writable) --- LinEnum.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LinEnum.sh b/LinEnum.sh index a69267f..95d801a 100755 --- a/LinEnum.sh +++ b/LinEnum.sh @@ -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