Skip to content

Instantly share code, notes, and snippets.

@jakl
Last active December 19, 2015 03:19
Show Gist options
  • Select an option

  • Save jakl/5889410 to your computer and use it in GitHub Desktop.

Select an option

Save jakl/5889410 to your computer and use it in GitHub Desktop.
hashcat and john don't support dictionary words with newlines?
#!/usr/bin/env coffee
argf = new (require './argf.js')()
md5 = require 'md5'
HASH = '12345678123456781234567812345678'
argf.forEach (line)->
if md5.digest_s(line.replace('\\n', '\n')) is HASH
console.log line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment