We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ab8ff1 commit 0852457Copy full SHA for 0852457
1 file changed
scripts/scan.sh
@@ -1 +1,16 @@
1
-# TODO: write the script
+printf "
2
+====== SCANNING FOR CREDIT CARD NUMBERS ======
3
+"
4
+grep -rE --color=always '([0-9]{4}[- ]?){3}[0-9]{4}' . --exclude-dir={.git} --line-number
5
+echo "========= CREDIT CARD SCAN COMPLETE =========="
6
7
+==== SCANNING FOR SOCIAL SECURITY NUMBERS ====
8
9
+grep -rE --color=always '[0-9]{3}-[0-9]{2}-[0-9]{4}' . --exclude-dir={.git} --line-number
10
+echo "======= SOCIAL SECURITY SCAN COMPLETE ========"
11
12
+========= SCANNING FOR PHONE NUMBERS =========
13
14
+grep -rE --color=always '[0-9]{3}-[0-9]{3}-[0-9]{4}' . --exclude-dir={.git} --line-number
15
+grep -rE --color=always '\([0-9]{3}\) [0-9]{3}-[0-9]{4}' . --exclude-dir={.git} --line-number
16
+echo "========= PHONE NUMBER SCAN COMPLETE ========="
0 commit comments