05-11-2020, 10:52 PM
okay, I discovered now what the new bug is (I'm pretty confident):
we can see here: https://github.com/hashcat/hashcat/blob/...ain.c#L129
that our list of hashes (out_bufs[]) is sorted, but we also stored the length of those buffers in out_lens[]...
but since your hashes are of different length (some shorter and some longer salts), we get the relationship of out_bufs[] (which will be sorted) and out_lens[] (which currently won't be modified or changed with the same sorting mechansim) out of sync and therefore we get random results (it will checksum with buffers that do NOT contain valid data if the string was shorter).
This is a new bug and the relationship between these two buffers will need to somehow be guaranteed and kept in sync. thx
we can see here: https://github.com/hashcat/hashcat/blob/...ain.c#L129
that our list of hashes (out_bufs[]) is sorted, but we also stored the length of those buffers in out_lens[]...
but since your hashes are of different length (some shorter and some longer salts), we get the relationship of out_bufs[] (which will be sorted) and out_lens[] (which currently won't be modified or changed with the same sorting mechansim) out of sync and therefore we get random results (it will checksum with buffers that do NOT contain valid data if the string was shorter).
This is a new bug and the relationship between these two buffers will need to somehow be guaranteed and kept in sync. thx