News for hackers. Stuff that matters.

uselessuseof

Re:6.5 Million LinkedIn Password Hashes Leaked on Thursday June 07, 2012 @03:19PM (#4080835)
typo.
Re:LeakedIn on Thursday June 07, 2012 @03:16PM (#4080810)
does your grep have an -f option?

   printf linkedintrouble |sha1sum |sed 's/ .*//' |grep -f - combo_not.txt
Re:6.5 Million LinkedIn Password Hashes Leaked on Wednesday June 06, 2012 @10:43PM (#4077354)
cut takes a file as an argument. there's no need to start the line with <

   cut -c4-70 combo_not.txt|...
Re:6.5 Million LinkedIn Password Hashes Leaked on Wednesday June 06, 2012 @09:07PM (#4077048)
echo abc > file

1. cat file

2. cat < file

3. echo abc|cat

4. echo abc|cat - file

cat can take input from the left, the right, or both

same goes for cut

Re:LeakedIn on Wednesday June 06, 2012 @07:38PM (#4076768)
printf linkedintrouble |openssl sha1|grep -f - combo_not.txt
Re:6.5 Million LinkedIn Password Hashes Leaked on Wednesday June 06, 2012 @07:23PM (#4076729)
symmetric?
Re:6.5 Million LinkedIn Password Hashes Leaked on Wednesday June 06, 2012 @06:46PM (#4076593)
head -5 /usr/share/dict/words

same result as with xargs

grep petard /usr/share/dict/words

same result as with xargs

not sure what you are trying to demonstrate here

useless use of xargs?

Re:6.5 Million LinkedIn Password Hashes Leaked on Wednesday June 06, 2012 @06:37PM (#4076556)
another useless use of cat

cut -c7-40 combo_not.txt|sort|dups|wc -l

what the heck is dups?

cut -c7-40 combo_not.txt|sort|uniq -d|wc -l

Re:6.5 Million LinkedIn Password Hashes Leaked on Wednesday June 06, 2012 @06:05PM (#4076455)
export HISTSIZE=0
Re:6.5 Million LinkedIn Password Hashes Leaked on Wednesday June 06, 2012 @06:04PM (#4076450)
obligatory comments

- not portable

- useless use of backticks

printf password|openssl sha1|cut -c6-40|grep -f - hacked.txt