File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1- # TODO: write the script
1+ printf " \n====== SCANNING FOR CREDIT CARD NUMBERS ======\n"
2+ grep -rE --color=always ' (\b[0-9]{4}[- ]?){3}[0-9]{4}\b' . --exclude-dir={.git} --line-number
3+ echo " ========= CREDIT CARD SCAN COMPLETE =========="
4+ printf " \n==== SCANNING FOR SOCIAL SECURITY NUMBERS ====\n"
5+ grep -rE --color=always ' \b[0-9]{3}-[0-9]{2}-[0-9]{4}\b' . --exclude-dir={.git} --line-number
6+ echo " ======= SOCIAL SECURITY SCAN COMPLETE ========"
7+ printf " \n========= SCANNING FOR PHONE NUMBERS =========\n"
8+ grep -rE --color=always ' \b[0-9]{3}-[0-9]{3}-[0-9]{4}\b' . --exclude-dir={.git} --line-number
9+ grep -rE --color=always ' \([0-9]{3}\) [0-9]{3}-[0-9]{4}' . --exclude-dir={.git} --line-number
10+ echo " ========= PHONE NUMBER SCAN COMPLETE ========="
You can’t perform that action at this time.
0 commit comments