Well I got a new problem now with pyrit.
I got it worked with CUDA, but since I read that OpenCL is faster I tried this:
~/.pyrit/config
Code:
use_CUDA = false
use_OpenCL = true
But now when I try to list the cores I get this:
pyrit list_cores
Code:
Pyrit 0.5.0 (C) 2008-2011 Lukas Lueg - 2015 John Mora
https://github.com/JPaulMora/Pyrit
This code is distributed under the GNU General Public License v3+
Traceback (most recent call last):
File "/usr/local/bin/pyrit", line 6, in <module>
pyrit_cli.Pyrit_CLI().initFromArgv()
File "/usr/local/lib/python2.7/dist-packages/pyrit_cli.py", line 117, in initFromArgv
func(self, **options)
File "/usr/local/lib/python2.7/dist-packages/pyrit_cli.py", line 291, in list_cores
with cpyrit.cpyrit.CPyrit() as cp:
File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 447, in __init__
p = _cpyrit_opencl.OpenCLPlatform(platform_idx)
SystemError: Failed to enumerate devices on this platform (CL_DEVICE_NOT_FOUND)
And when I try an attack I get a slightly different output:
pyrit -r cap.cap attack_batch
Code:
Pyrit 0.5.0 (C) 2008-2011 Lukas Lueg - 2015 John Mora
https://github.com/JPaulMora/Pyrit
This code is distributed under the GNU General Public License v3+
Connecting to storage at 'file://'... connected.
Parsing file 'cap.cap' (1/1)...
Parsed 2290 packets (2290 802.11-packets), got 1 AP(s)
Picked AccessPoint **:**:**:**:**:** ('wlan') automatically.
Traceback (most recent call last):
File "/usr/local/bin/pyrit", line 6, in <module>
pyrit_cli.Pyrit_CLI().initFromArgv()
File "/usr/local/lib/python2.7/dist-packages/pyrit_cli.py", line 117, in initFromArgv
func(self, **options)
File "/usr/local/lib/python2.7/dist-packages/pyrit_cli.py", line 166, in new_f
f(*args, **kwds)
File "/usr/local/lib/python2.7/dist-packages/pyrit_cli.py", line 1004, in attack_batch
with cpyrit.cpyrit.StorageIterator(storage, essid) as dbiter:
File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 728, in __init__
self.cp = CPyrit() if yieldNewResults else None
File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 447, in __init__
p = _cpyrit_opencl.OpenCLPlatform(platform_idx)
SystemError: Failed to enumerate devices on this platform (CL_DEVICE_NOT_FOUND)
I have tried a fix where you have to delete "/" at the end of multiple lines.
I've deleted them all and fixed the errors that came with them.
But after I have done that the same error like above came back.
I think there might be something wrong with the OpenCL installation, but if I understand it right, it should be installed with the nvidia drivers.
I've even tried to install AMD APP, but no succes to that.
Once again: I have followed blackmoreops tutorial on installing nvidia drivers and there was this one command:
Code:
aptitude install nvidia-cuda-toolkit nvidia-opencl-icd
So I am clueless on how to pick it up from here. Hope you guys can help me out a little.
Blackmoreops links:
https://www.blackmoreops.com/2014/03...er-kali-linux/
https://www.blackmoreops.com/2014/03...it-kali-linux/