From 07fb5c7d086d0803c709bc710701a3de92d39d01 Mon Sep 17 00:00:00 2001 From: Darius Rapalis Date: Sun, 16 Mar 2025 18:38:40 +0200 Subject: [PATCH] Revert "P: Revert Scanner things" This reverts commit c9c1914420df450d21e8a76d7ccce4b72d62370c. --- scripts/scan.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/scripts/scan.sh b/scripts/scan.sh index 8ada46b..f4d9eb2 100755 --- a/scripts/scan.sh +++ b/scripts/scan.sh @@ -1,12 +1 @@ -printf "\n====== SCANNING FOR CREDIT CARD NUMBERS ======\n" -grep -rE --color=always '(\b[0-9]{4}[- ]?){3}[0-9]{4}\b' . --exclude-dir={.git} --line-number -echo "========= CREDIT CARD SCAN COMPLETE ==========" - -printf "\n==== SCANNING FOR SOCIAL SECURITY NUMBERS ====\n" -grep -rE --color=always '\b[0-9]{3}-[0-9]{2}-[0-9]{4}\b' . --exclude-dir={.git} --line-number -echo "======= SOCIAL SECURITY SCAN COMPLETE ========" - -printf "\n========= SCANNING FOR PHONE NUMBERS =========\n" -grep -rE --color=always '\b[0-9]{3}-[0-9]{3}-[0-9]{4}\b' . --exclude-dir={.git} --line-number -grep -rE --color=always '\([0-9]{3}\) [0-9]{3}-[0-9]{4}' . --exclude-dir={.git} --line-number -echo "========= PHONE NUMBER SCAN COMPLETE =========" +# TODO: write the script