Re:6.5 Million LinkedIn Password Hashes Leaked
by spal on Thursday June 07, 2012 @05:21AM
(#4078177)
Why are you extracting 35 characters with 'cut -c6-40'? SHA1 produces a 160-bit message digest. That's 20 bytes or 40 hex-digits.
Re:6.5 Million LinkedIn Password Hashes Leaked
by uselessuseof on Thursday June 07, 2012 @03:19PM
(#4080835)
typo.
- not portable
- useless use of backticks
printf password|openssl sha1|cut -c6-40|grep -f - hacked.txt