Live data from Hacker News

LeakedIn

leakedin.org

191–194 of 194 posts

Re: LeakedIn

#191
post #172

Earlier quoted context omitted.

printf linkedintrouble |openssl sha1|grep -f - combo_not.txt

This doesn't work, because: $ printf linkedintrouble | openssl sha1 (stdin)= 3ac85868a20c977661a12f770f0d116f87c74831 The leading '(stdin)=' messes the pattern being fed to 'grep'. Yes, I've read http://partmaps.org/era/unix/award.html#cat . The output of sha1sum already contains a trailing '-' which is something I wanted to feed into 'grep' using command substitution, so that 'grep' can now just accept the input str…

does your grep have an -f option?

   printf linkedintrouble |sha1sum |sed 's/ .*//' |grep -f - combo_not.txt

Re: LeakedIn

#193
post #178
post #63

Earlier quoted context omitted.

http://www.inutile.ens.fr/estatis/password-security-checker/ (BTW, be sure to type some gibberish into the provided box and hit submit, so you can see why I think this is a very relevant link.)

They have a bug. Type a " character and it gets encoded with a backslash in the output.

This is fixed. Thanks :-).

Re: LeakedIn

#194
post #172

Earlier quoted context omitted.

This doesn't work, because: $ printf linkedintrouble | openssl sha1 (stdin)= 3ac85868a20c977661a12f770f0d116f87c74831 The leading '(stdin)=' messes the pattern being fed to 'grep'. Yes, I've read http://partmaps.org/era/unix/award.html#cat . The output of sha1sum already contains a trailing '-' which is something I wanted to feed into 'grep' using command substitution, so that 'grep' can now just accept the input str…

does your grep have an -f option? printf linkedintrouble |sha1sum |sed 's/ .*//' |grep -f - combo_not.txt

If you look where we started ( http://news.ycombinator.com/item?id=4076559 ), I'm not trying to feed the regex pattern to grep via stdin, but I'm trying to feed the input stream to be searched for the pattern to grep via stdin.
Post reply on HN