Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add means to debug/measure salt distribution #496

Closed
magnumripper opened this issue Jan 31, 2014 · 0 comments
Closed

Add means to debug/measure salt distribution #496

magnumripper opened this issue Jan 31, 2014 · 0 comments
Assignees

Comments

@magnumripper
Copy link
Member

Add some #ifdef DEBUG code that outputs distribution statistics after loading. This will show bugs in salt_hash() as well as in the hash origin's PRNG/implementation.

@ghost ghost assigned magnumripper Jan 31, 2014
magnumripper added a commit that referenced this issue Feb 26, 2014
* bleeding-jumbo: (49 commits)
  "Secure Mode" implemented. When this is enabled in john.conf, no cracked password is ever printed, logged or stored in plaintext. Instead you get an indication of length and use of classes. For example, the password "Ignit3" would output as L6-?l?d?u telling you that it's six characters long and consists of lowercase, digits and uppercase characters.  This closes #505.
  White space fixes (fixing over-long lines) in core files.
  Cherry-pick 2475121 from Dhiru - Travis/Coverity support. Closes #512.
  wpapcap2john: Add a note in output about unsure authentications (still crackable but might be an incorrect password for that AP). Closes #519.
  wpapcap2john: Add support for Prism & PPI encapsulations.
  wpapcap2john: Add support for Radiotap encapsulation. Closes #377.
  hccap2john: Add same extra output that was recently added to wpapcap2john (BSSID's, filename etc) and handle multiple files better (don't abort on error, print filename among warnings). Closes #521. Also, support multiple entries in each file. This was a weird limitation but it might have been due to Hashcat legacy behavior (it initially only supported one per file). Anyways it's lifted now.
  wpapcap2john: Add some sanity checks. Closes #518. Also cosmetical fixes (license, whitespace) in WPA source files.
  wpapcap2john: Print client BSSID to uid field, and AP BSSID to gid and GECOS fields (in dashed and compact formats). Add WPA or WPA2 to the shell field and filename to last field. Add missing glue for dupe suppression. Finally add a license blurb. Closes #516.
  Bugfix for multi-node Unicode init.
  Various changes for DMG. Avoid false positives. Hopefully we're not introducing false negatives (None of our sample hashes produce any) because now we're only checking for eight consecutive nulls, either in main blob or secondary one.
  whitespace fixes for dmg2john.c
  Fix -Wdeclaration-after-statement compiler warnings in dmg2john.c
  Adds support for DMG sparsebundle files.
  SAP B (comments only): The sum20 overrun is AOK, we do it like SAP does.
  SAP B: Atom found a suspected over-run of sum20. This triggers that.
  Move unused/aix_smd5_fmt_plug.c into normal source directory - it supports length up to 125.
  EPI format: Add proper hash functions. Closes #495.
  Dominosec: Use prefab binary hash functions.
  loader.c: Add ifdef'ed hash table distribution debug output. Closes #496.
  ...

Conflicts:
	src/Makefile
	src/unicode.c
magnumripper added a commit to magnumripper/john that referenced this issue Apr 28, 2023
Code was added in openwall#496 for optionally debugging salt hash function. Would
have been easy to add a couple more #ifdef DEBUG_HASH but it cluttered
the code and I use it so rarely I can add something manually when needed.

See openwall#5268
magnumripper added a commit to magnumripper/john that referenced this issue Apr 28, 2023
Code was added in openwall#496 for optionally debugging salt and binary hash
functions. Would have been easy to add a couple more #ifdef DEBUG_HASH
but it cluttered the code and I use it so rarely I can add something
manually when needed.

See openwall#5268
magnumripper added a commit to magnumripper/john that referenced this issue Apr 29, 2023
mkvlib.c
uaf2john.c
loader.c

The loader.c code was added in openwall#496 for optionally debugging salt and
binary hash functions.  It would have been easy to add a couple more
can add something manually when needed.

See openwall#5268
magnumripper added a commit to magnumripper/john that referenced this issue Apr 29, 2023
mkvlib.c
uaf2john.c
loader.c

The loader.c code was added in openwall#496 for optionally debugging salt and
binary hash functions.  It would have been easy to add a couple more
'#ifdef DEBUG_HASH' but it cluttered the code and I use it so rarely I
can add something manually when needed.

See openwall#5268
magnumripper added a commit that referenced this issue May 16, 2023
mkvlib.c
uaf2john.c
loader.c

The loader.c code was added in #496 for optionally debugging salt and
binary hash functions.  It would have been easy to add a couple more
'#ifdef DEBUG_HASH' but it cluttered the code and I use it so rarely I
can add something manually when needed.

See #5268
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant