a guest Jun 14th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # usage:
- # ./hash_finder.sh <hash_file> <location>
- # Finds all files in a given location whose hashes appear in an a given file
- find "$2" -type f -print0 | xargs -0 sha1sum | grep -e "`sed 's/^/^/' $1`"
RAW Paste Data