Skip to content

Commit

Permalink
Split scan writeable folder and writeable files
Browse files Browse the repository at this point in the history
  • Loading branch information
DyanGalih committed Dec 22, 2023
1 parent 209bf10 commit 55e81e7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ if [ ${#unique_grep_results[@]} -ne 0 ]; then
fi

echo "==================================================================================================="
echo "writeable file or folder list:"
echo "writeable folder list:"

find $path -type d,f -perm /u=w,g=w,o=w
find $path -type d -perm /u=w,g=w,o=w

echo "==================================================================================================="
echo "writeable file list:"

find $path -type f -perm /u=w,g=w,o=w

0 comments on commit 55e81e7

Please sign in to comment.