hmaverickadams / breach-parse

A tool for parsing breached passwords
1.84k stars 534 forks source link

Remove hardcoded directories, update indentation #1

Closed purarue closed 5 years ago

purarue commented 5 years ago

Hi, this PR allows you to pass the location of the BreachCompilation/data directory as the third argument, like:

./breach-parse.sh @gmail.com gmail.txt "~/Downloads/BreachCompilation/data"

If you don't supply the location, it assumes its in /opt/breach-parse/BreachCompilation/data like before.

I also:

This looks like I've changed much more than I have since I also normalized the indentation to four spaces, you can see major changes I did here.

Please let me know if you want me to update anything.