Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 1 Sep 2011 10:04:04 -0500
From: "jfoug" <jfoug@....net>
To: <john-users@...ts.openwall.com>
Subject: RE: False positives on zip (aes256)

You will have to 'change' the zip format source file to  do this. Change the
cmp_exact to this (NOTE I have not tested, just coding in the email)

static int cmp_exact(char *source, int index)
{
	static int cnt=0;
	if (++cnt < 13) // we have to 'pass' the self tests.
		return has_been_cracked[index];
	cnt = 20; // to make sure we do not 'wrap' cnt past the end of a
2^31 number to a negative number
	if (has_been_cracked[index]) {
		fprintf(stderr, "\nPossible pass:  %s   Hash=%s\n\n",
saved_key[index], source);
		log_event("++ Possible pass:   [%s]", saved_key[index]);
	}
      return 0;
}

Then you can see them show up on the screen output, and also in the john.log
file.  These can then be tested after the run.  

NOTE, this method will cause john to NEVER find the password.  It simply
informs you in output that a possible password was seen.  The right one will
be output, along with any false positives. 

Jim.

>From: estenole lists [mailto:estenole.lists@...il.com]
>
>Hello all,
>
>im using the latest John the Ripper
>1.7.8-jumbo-5<http://www.openwall.com/john/g/john-1.7.8-jumbo-5.tar.gz>
>version
>for trying to get the key of a zip encrypted
>with aes256 bit. I allready know that actuallty false positives are
>common
>at this time.
>
>THe problem is tha when processing the wordlist john stops as soon as a
>key
>is found, but at the moment
>none on them works, what i want to achieve is to force john to try with
>the
>full wordlist while printing
>the keys found so i can try them when finished. Could find any option or
>configuration to do so, do you
>know id theres such a possiblity ?
>
>Thank you

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.