7z2hashcat
#22
Thanks for the feedback.

So if I understood you correctly everything works correctly now.

The only "problem" you did experience in very rare situation is a very high upper limit in file size (8KiB compressed data). This seems to be a sane value and if the data was compressible and of average file size that limit should never be reached.

Anyway, an advanced user should be able to increase that limit to a higher value (higher than the current 8KiB value) by just increasing these values with a small source code fix (at his/her own risk, the risk is that it might use much more RAM depeding on the value he/she chooses).

Modify the parsing function in src/interface.c:
Code:
https://github.com/hashcat/hashcat/blob/922fea7616255b3cc3603cebd5f3c0bb00654668/src/interface.c#L11394
the memory buffer (divided by 4 because of u32 data type) within the hook function in src/interface.c:
Code:
https://github.com/hashcat/hashcat/blob/922fea7616255b3cc3603cebd5f3c0bb00654668/src/interface.c#L14325
Increasing the value of DISPLAY_LEN_MAX_11600 (times 2 because of hex bytes) in include/interface.h:
Code:
https://github.com/hashcat/hashcat/blob/922fea7616255b3cc3603cebd5f3c0bb00654668/include/interface.h#L1104

Thanks


Messages In This Thread
7z2hashcat - by philsmd - 04-27-2015, 11:49 PM
RE: 7z2hashcat - by bitguard - 04-28-2015, 07:28 AM
RE: 7z2hashcat - by philsmd - 04-28-2015, 07:57 AM
RE: 7z2hashcat - by bitguard - 04-28-2015, 09:51 AM
RE: 7z2hashcat - by philsmd - 05-01-2015, 11:18 PM
RE: 7z2hashcat - by Hash-IT - 05-02-2015, 12:12 AM
RE: 7z2hashcat - by bitguard - 05-02-2015, 08:16 AM
RE: 7z2hashcat - by xeb - 08-17-2015, 09:27 PM
RE: 7z2hashcat - by philsmd - 08-21-2015, 02:22 PM
RE: 7z2hashcat - by bhullar - 03-12-2016, 06:43 AM
RE: 7z2hashcat - by zeroprobe - 08-01-2016, 05:15 PM
RE: 7z2hashcat - by zeroprobe - 08-02-2016, 10:51 PM
RE: 7z2hashcat - by syb3ria - 12-06-2016, 03:05 PM
RE: 7z2hashcat - by marpolo - 12-28-2016, 12:31 PM
RE: 7z2hashcat - by atom - 12-29-2016, 11:04 AM
RE: 7z2hashcat - by syb3ria - 01-05-2017, 10:04 PM
RE: 7z2hashcat - by philsmd - 01-06-2017, 03:39 PM
RE: 7z2hashcat - by syb3ria - 01-08-2017, 07:29 PM
RE: 7z2hashcat - by philsmd - 01-09-2017, 01:35 PM
RE: 7z2hashcat - by philsmd - 01-24-2017, 01:32 PM
RE: 7z2hashcat - by marpolo - 02-22-2017, 01:22 PM
RE: 7z2hashcat - by philsmd - 02-22-2017, 05:49 PM
RE: 7z2hashcat - by gaidzak - 10-17-2017, 03:27 AM
RE: 7z2hashcat - by nazgulnarsil - 11-21-2017, 10:25 AM
RE: 7z2hashcat - by philsmd - 11-21-2017, 12:30 PM
RE: 7z2hashcat - by nazgulnarsil - 11-22-2017, 07:14 AM
RE: 7z2hashcat - by undeath - 12-01-2017, 12:17 AM
RE: 7z2hashcat - by pench - 08-27-2018, 09:03 PM
RE: 7z2hashcat - by Nay - 08-27-2018, 10:50 PM