CyberChef icon indicating copy to clipboard operation
CyberChef copied to clipboard

Bug report: Generate all hashes - RangeError. Message: Out of range index

Open mtdrms opened this issue 1 year ago • 2 comments

Describe the bug Recipe failing with error message: Generate all hashes - RangeError in file:/CyberChef/modules/Crypto.js on line 2.<br><br>Message: Out of range index

To Reproduce Steps to reproduce the behaviour or a link to the recipe / input used to cause the bug: Use the following recipe and enter some characters into input window:

Pseudo-Random_Number_Generator(32,'Raw')
Generate_all_hashes('All',true)

Expected behaviour A proper list of hashes in output window.

Desktop (if relevant, please complete the following information):

  • OS: Windows
  • Browser: Palemoon
  • CyberChef version: 10.18.3

mtdrms avatar Apr 30 '24 17:04 mtdrms

This looks like because LM Hash is failing for some input.

One of input to cause it fail: 09409aa79b41eff65fdf0c9158e4992399c360fb7f3edbbd8a3c3aede8aca3e2 (hex)

From Hex, LM Hash - CyberChef

mikecat avatar Feb 19 '25 18:02 mikecat

Another input to make LM Hash fail: cf df 26 2e 2d 2b 2c 30 21 25 21 53 28 2a

From Hex, LM Hash - CyberChef

mikecat avatar Feb 19 '25 18:02 mikecat