Date: Fri, 20 Jul 2012 10:55:31 +0200 From: Frank Dittrich <frank_dittrich@...mail.com> To: john-dev@...ts.openwall.com Subject: calc_stat.c: more verbose stderr output for non-ascii characters When creating a Markov mode stats file, it would be good to see what non-ascii or non-printable characters are included in the dictionary file, so make the stderr output more verbose. $ LC_ALL=C grep -v "[^ -~]" rockyou.txt > rockyou-ascii.txt Old calc_stat version: $ ./calc_stat rockyou-ascii.txt stats-rockyou-ascii Warning, non printable character line 4749 : New calc_stat version: $ ./calc_stat rockyou-ascii.txt stats-rockyou-ascii Warning, non printable character 0x0a line 4749 offset 0: Frank View attachment "0001-calc_stat.c-more-verbose-stderr-output-for-non-ascii.patch" of type "text/x-patch" (1246 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.