|
Message-ID: <BLU0-SMTP160F6E3EC4A926CDDB2E3F6FD080@phx.gbl> Date: Fri, 1 Jun 2012 22:52:49 +0200 From: Frank Dittrich <frank_dittrich@...mail.com> To: john-dev@...ts.openwall.com Subject: john --list=invalid Hi magnum, currently there is no way to distinguish valid and invalid values for --list= IMO, valid are all hard-coded values implemented for --list=, even if they might produce no output. Also valid are section names in john.conf (or in the config file supplied with --config=... $ ./john --list=hidden-options --list=NAME list configuration, rules, etc --mkpc=N force a lower max. keys per crypt $ echo $? 0 $ ./john --list=? inc-modes, rules, externals, ext-filters, ext-filters-only, ext-modes, build-info, hidden-options or <conf section name> $ echo $? 0 $ ./john --list=invalid $ echo $? 0 It would be good if the last command could set a return code != 0, as long as there are no sections [Invalid:*] in the config file. Frank
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.