Created
September 10, 2014 22:04
-
-
Save weisjohn/501c9654a2b0aa112fea to your computer and use it in GitHub Desktop.
test your contacts against the gmail password compilation
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 | |
echo "Export your Gmail contacts as a CSV, name it contacts.csv, put it in this directory, press Enter" | |
read foo | |
wget --referer=https://forum.btcsec.com https://forum.btcsec.com/uploads/manual_09_2014/google_5000000.7z | |
echo "I haven't worked out a way to unzip .7z files from a cli yet... patches welcome" | |
echo "Press enter when you've unzipped the file" | |
read foo | |
sort google_5000000.txt -o google_5000000.txt | |
comm -12 <(egrep -o "\b[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9.-]+\b" contacts.csv | sort) > matches.txt | |
cat matches.txt |
I get the following error:
comm: missing operand after ‘/dev/fd/63’
shouldn't your comm command take in google_5000000.txt as an input?
I did this too: https://github.com/rodrigorega/wordlist_compare
I like your approach :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you have 7zip installed, 7z e filename.7z