Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 31 May 2011 20:26:10 +0200
From: magnum <rawsmooth@...dband.net>
To: john-dev@...ts.openwall.com
Subject: Re: add support for cracking RAR archive passwords [GSoC
 first cut]

What is this change in loader.c for? Is it really needed?

--- a/src/loader.c	Wed Apr 27 21:03:01 2011 -0700
+++ b/src/loader.c	Fri Apr 29 05:08:28 2011 -0700
@@ -260,7 +260,9 @@
  				return 0;
  		}
  		*p = 0;
-		*login = no_username;
+		if(strlen(*login) >= 6 && (strncmp(*login, "$rar3$", 6) ==0));
+		else
+		    *login = no_username;
  	}

  	if (source) strcpy(source, line ? line : "");

maybe it can be put in the new prepare() function for a future Jumbo but 
I'm not sure what is intended.

magnum


On 2011-04-29 14:21, Dhiru Kholia wrote:
> Apply the patch on top of john-1.7.7-jumbo-1. See src/drar.c for usage
> instructions. I have also uploaded the patch to the wiki
> (http://openwall.info/wiki/john/patches).
>
> As expected, speed sucks (~40 c/s) due to 256K rounds of SHA1. I
> believe that RAR archive password cracking will be perfect a candidate
> for GPU implementation (Lukas?) :-). Currently, only RAR's "-hp" mode
> is supported.
>
> I am moving on to adding support for zip archives and FileVault stuff.
>

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ