Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 23 Jun 2009 19:52:55 -0700
From: Kurt Grutzmacher <grutz@...gojango.net>
To: john-users@...ts.openwall.com
Subject: john --show patch

Between 1.7.2 and 1.7.3 there were some changes to the functions supporting
john --show. Unfortunately this broke the output when LM/NT results were
being reported.

The following patch returns the functionality to 1.7.3.1.

Nosuchplace:run grutz$ ./john --show test.pwdump
AAAAAA:AAAAAA:500:6DCD9E6C40E79064BBB969129F3D2F40:::
IMPUNITAAAAAA:???????AAAAAA:500:DF73B8A215F72370770ACCEC8FA1207C:::

--- john-1.7.3.1/src/loader.c 2009-06-19 12:33:00.000000000 -0700
+++ john-1.7.3.1-fix/src/loader.c 2009-06-19 16:19:22.000000000 -0700
@@ -223,7 +223,7 @@
  *ciphertext = tmp;
  }

- if (source) sprintf(source, "%s:%s", uid, line);
+ if (source) sprintf(source, "%s:%s:::\n", uid, tmp);
  }
  else if (options.format && (strncmp(options.format, "netlmv2", 7)==0)) {
  char *srv_challenge = ldr_get_field(&line);


--
Kurt Grutzmacher -=- grutz@...gojango.net

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.