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