public
Created

linkedin dump password check

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12
# 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"
hex.sub!(/^...../,'00000')
puts hex
system "grep #{hex} combo_not.txt"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.