From 60d16ee378d9fbce7b74fbe01358ccddf5735c05 Mon Sep 17 00:00:00 2001 From: Vencel Bajnok <74102716+Breinich@users.noreply.github.com> Date: Fri, 29 May 2026 13:11:06 +0200 Subject: [PATCH] Update grep command to exclude deepce.sh results --- deepce.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepce.sh b/deepce.sh index 0b82acd..8a83ef7 100755 --- a/deepce.sh +++ b/deepce.sh @@ -871,7 +871,7 @@ findInterestingFiles() { printResultLong "Interesting files in root ..........." "$interestingFiles" # Any secrets in root dir files - result=$(grep -Iins --exclude="deepce.sh" "$GREP_SECRETS" /*) + result=$(grep -ins "$GREP_SECRETS" /* 2>/dev/null | grep -v "^/deepce.sh:") printResultLong "Passwords in common files ..........." "$result"