Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion customers/all.csv
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
first_name,last_name,company,title
nano orgs/partners.txt


4 changes: 4 additions & 0 deletions customers/banned.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
first_name,last_name,company,title
Ballan,Agrandanian,Boots.lore,Protagonist
sam,ctrlman,closedai,ceo

3 changes: 3 additions & 0 deletions customers/favs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Favorite Customers
* Jesse Pinkman, Heisenberg's Assistant

2 changes: 2 additions & 0 deletions orgs/partners.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
partner list
Boot.dev
TheStartup
16 changes: 15 additions & 1 deletion scripts/scan.sh
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
# TODO: write the script
#!/usr/bin/env bash
set -euo pipefail

printf "\n======= SCANNING FOR CREDIT CARD NUMBERS =======\n"
grep -rE --color=always '\b[0-9]{4}[- ]?[0-9]{3}[- ]?[0-9]{4}\b' --exclude-dir={.git}
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}
echo "======== SOCIAL SECURITY SCAN COMPLETE =========="

printf "\n======= SCANNING FOR PHONE NUMBERS =======\n"
grep -rE --color=always '(\([0-9]{3}\)\s?[0-9]{3}-[0-9]{4})' --exclude-dir={.git}
grep -rE --color=always '([0-9]{3}-[0-9]{3}-[0-9]{4})' --exclude-dir={.git}
echo "======== PHONE NUMBER SCAN COMPLETE =========="
4 changes: 4 additions & 0 deletions slander.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Breaking News

MegaCorp CEO Lane enjoyed the live–action Last Airbender movie
MegaCorp CTO ThePrimeagen is a fan of The Notebook (and most other Nicholas Sparks movies)