Last active
August 21, 2019 18:15
-
-
Save slyd0g/989276ffd7ea8b8ec550f29c1529f90f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
input="$1" | |
rm output_trumail.txt | |
touch output_trumail.txt | |
while IFS= read -r line | |
do | |
curl https://api.trumail.io/v2/lookups/json?email=$line>>output_trumail.txt | |
echo>>output_trumail.txt | |
done < "$input" | |
cat output_trumail.txt | grep -v Rate | grep -v Max | grep -v response>output_trumail_final.txt | |
rm output_trumail.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment