|
Message-ID: <CAF9uAtrphYUXt2NEYO73T-_kMwsSSf94=peWYV9RbLRzRtPDNA@mail.gmail.com> Date: Tue, 28 May 2013 14:05:57 -0400 From: Rafael Veras <rafaveguim@...il.com> To: john-users@...ts.openwall.com Subject: Re: How to limit the number of guesses? In one of my experiments I'm comparing a custom cracker with john running in the "default order of cracking modes". However, AutoStatus (externals, in general) seems to work only on wordlist mode. So right now, I'm enabling CrackStatus and StatusShowCandidates, and doing some parsing to get the same info that AutoStatus provides (in my case, # of hits per million guesses). Do you have any suggestions to get this info in a simpler way? Also, I don't know how to abort it given a # of guesses, since I was relying on AutoAbort. Weir's suggestion seemed very promising (john | awk | john). But I couldn't get it working in this case: ./john myhashes.txt --stdout Invalid options combination or duplicate option: "--stdout" I guess I needed a more explicit way to run the "default order of modes", something like ./john --default --stdout Thanks a lot, Rafael On Wed, May 22, 2013 at 5:12 PM, Solar Designer <solar@...nwall.com> wrote: > On Wed, May 22, 2013 at 05:07:22PM -0400, Rafael Veras wrote: > > Is it possible to use both externals simultaneously? > > No, but: > > > I guess I could just merge them in a custom external as the code is very > > simple... > > This is the way to go. Here's an example: > > [List.External:Status50G] > int n, m; > > void init() > { > n = m = 0; > } > > void filter() > { > if (++n < 1000000000) > return; > n = 0; > status = ++m % 50 == 0; > abort = m >= 1000; > } > > This prints the status line after every 50G candidates, and terminates > after 1000G (10^12) candidates. > > Alexander > -- *Rafael* *http://vialab.science.uoit.ca/portfolio/rafael/*
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.