Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
linkedin dump password check
# assumes you have the dump in the same dir as combo_not.txt
require 'digest/sha1'
puts "insert password"
system "stty -echo"
pass = gets.chomp
system "stty echo"
hex= Digest::SHA1.hexdigest(pass)
puts hex
system "grep #{hex} combo_not.txt"
puts hex
system "grep #{hex} combo_not.txt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment