Windows 11 and The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) commands
#1
Hello i ran into a problem.

I try to use the "same" commands in Windows 11 (works) and The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) (not working qwq).

so the hashcat(.exe in windows) -a 3 -m 22000 filename.hccapx command working just fine in windows 11 but in The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) ( installed on usb drive not just live version or other stuff) i get the "line length exception" error

i just started using these and i dont know why this is happening

thanks in advance
Reply
#2
can i work around it somehow or better of trying other way airgrab or something?
Reply
#3
Something doesn't add up here sorry. Your command states using an hccapx file which if you've been using the cap2hccapx converter is not the same as mode 22000. hccapx has been deprecated for quite some time and the new method of attack uses zerobeats hcxtools.

Code:
git clone https://github.com/ZerBea/hcxtools
cd hcxtools
make
make install
Code:
git clone https://github.com/ZerBea/hcxdumptool
cd hcxdumptool
make
make install


Which method have you been using to capture traffic? How was your capture converted? This will probably give us better answer than just saying there is no openCL driver.
Reply
#4
(12-19-2022, 01:43 AM)slyexe Wrote: Something doesn't add up here sorry. Your command states using an hccapx file which if you've been using the cap2hccapx converter is not the same as mode 22000. hccapx has been deprecated for quite some time and the new method of attack uses zerobeats hcxtools.

Code:
git clone https://github.com/ZerBea/hcxtools
cd hcxtools
make
make install
Code:
git clone https://github.com/ZerBea/hcxdumptool
cd hcxdumptool
make
make install


Which method have you been using to capture traffic? How was your capture converted? This will probably give us better answer than just saying there is no openCL driver.



i was using wifite it automatically captured the handshake of selected wifi and i used cap2hccapx.bin (handshake) (name).hccapx

both commands in The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali)
Reply
#5
Yea, so don't use cap2hccapx, its deprecated as I mentioned. You will need to properly convert your caps using hcxtools. So once you use the proper software, hcxpcapngtool, and have a properly converted capture, you will be able to use mode 22000 as you were. This will eliminate the issues regarding token length.

Quick edit: just find the hcxtools thread and zerobeat gives a huuuuuuge tutorial on how to use his suite and proper capturing techniques. Its very informative.
Reply
#6
wifite is outdated, too and replaced by wifite2 (which get full benefit of hcxtools):
https://github.com/kimocoder/wifite2
Reply
#7
thanks for the info and tips will definitely check out the tutorial Big Grin
Reply