|
Message-ID: <CAF9uAtojg_cXY6pNw_GKr2dBqMG0DVjcb26AvN-aL0N6q_vcvw@mail.gmail.com> Date: Tue, 28 May 2013 15:59:12 -0400 From: Rafael Veras <rafaveguim@...il.com> To: john-users@...ts.openwall.com Subject: Re: How to limit the number of guesses? Matt, The error comes from the first instance. In order to run the default order of modes I got to use the following syntax (let me know if there's a different way): ./john hashes.txt Then when I use --stdout: ./john hashes.txt --stdout It gives me the error, since --stdout can't be used if I inform a target list of hashes. Rafael (Via Android) On May 28, 2013 2:51 PM, "Matt Weir" <cweir@...edu> wrote: > I'd recommend following Magnum's advice and using bleeding-jumbo, but just > for reference the error you were getting from "duplicate option" I suspect > is because you are using --stdout instead of "--stdin" for your second > instance of JtR. Aka you can't have --stdout and a hashlist, (or hash > type), in the same instance of John since --stdout outputs guesses for > other programs to use. --stdin on the other hand tells JtR not to apply > rules but simply grab input from "standard in". I occasionally swap those > as well by accident. > > Matt > > > On Tue, May 28, 2013 at 2:05 PM, Rafael Veras <rafaveguim@...il.com> > wrote: > > > 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.