Skip to content

Instantly share code, notes, and snippets.

@eye9poob
Created February 2, 2016 08:13
Show Gist options
  • Save eye9poob/94fc42723c665389adc3 to your computer and use it in GitHub Desktop.
Save eye9poob/94fc42723c665389adc3 to your computer and use it in GitHub Desktop.
get md5 hashes from text file
egrep -oE '(^|[^a-fA-F0-9])[a-fA-F0-9]{32}([^a-fA-F0-9]|$)' *.txt | egrep -o '[a-fA-F0-9]{32}' > md5-hashes.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment