kwprocessor icon indicating copy to clipboard operation
kwprocessor copied to clipboard

kwprocessor on Windows - Truncated/Missing Results

Open BeanBagKing opened this issue 8 years ago • 3 comments

It seems like the results for kwprocessor on Windows are either truncated or missing completely (truncated to 0). The exact same commands being run on the same system via Bash for Windows (Linux subsystem) show the expected results.

The following screenshot might give a better idea. Exactly the same commands, but the one on top is using Bash on Windows to run kwp, the bottom is using kwp32.exe (same results encountered with kwp64.exe). The first command (2-to-10-max-3) returned ~40,000 rows when running under "linux", but only 511 rows on Windows. The second command (4-to-4-exhaustive) returns 1,780 rows on linux, 0 on Windows.

https://i.imgur.com/emzaexD.png

This occurred both on the 1.0 release (24 Oct, kwprocessor v1.0 - https://github.com/hashcat/kwprocessor/releases), as well as the beta version (kwprocessor-1.00+6.7z 09-Sep-2016 15:33) which was tested per atom's suggestion in the forums (https://hashcat.net/forum/thread-6956-post-37110.html#pid37110)

System: Windows 10 version 1607 and WSL version Ubuntu 14.04.5 LTS

BeanBagKing avatar Oct 25 '17 12:10 BeanBagKing

If you allow me to add, on Windows 10 version 1709 it crashes exactly at line 511. See ya.

AlexHilgertBRA avatar Oct 31 '17 02:10 AlexHilgertBRA

I can confirm this issue on Windows 10 20H2 with the most recent GitHub version.

corsch avatar Sep 13 '21 06:09 corsch

in kwp.c line 544 replace to: const short c = cs->map[m_distance][m_modifier][m_direction];

SinotovOleksii avatar Dec 06 '23 18:12 SinotovOleksii