Jump to content

Pyrit Segmentation fault


SystemCrash86

Recommended Posts

I am having an issue with pyrit on my linux system and i have no idea how to fix and i hope someone has an answer.

Everything was working fine without any issues until i had to reinstall my desktop. And ever since then i have been unable to get pyrit to work correctly. I have tried lots of linux distros but still have the same result.

systemcrash86@home:~$ pyrit list_cores
Pyrit 0.5.1 (C) 2008-2011 Lukas Lueg - 2015 John Mora
https://github.com/JPaulMora/Pyrit
This code is distributed under the GNU General Public License v3+

The following cores seem available...
#1:  'CPU-Core (SSE2/AES)'
#2:  'CPU-Core (SSE2/AES)'
#3:  'CPU-Core (SSE2/AES)'
#4:  'CPU-Core (SSE2/AES)'

The following OpenCL GPUs seem aviable...
#1:  'OpenCL-Device 'AMD TAHITI (DRM 2.50.0 / 4.13.0-38-generic, LLVM 5.0.1)''
systemcrash86@home:~$ pyrit benchmark

Pyrit 0.5.1 (C) 2008-2011 Lukas Lueg - 2015 John Mora
https://github.com/JPaulMora/Pyrit
This code is distributed under the GNU General Public License v3+

Calibrating... Segmentation fault
systemcrash86@TheMachine:~$

 

 

Hope someone can help

Link to comment
Share on other sites

9 hours ago, i8igmac said:

I don't know the solution. I have ran into this issue. Seg faults at startup or even at about 4hours into a crack.

 

reinstall nvidia drivers and cuda. I went through this many times. I have a kali usb stick with working pyrit.

Do i need to install nvidia and cuda drivers as my desktop has a amd cpu and radeon gpu? I don't remember having to do that last time

Link to comment
Share on other sites

  • 2 weeks later...
On 4/15/2018 at 7:04 PM, i8igmac said:

Oh yah, sorry. I'm a nvudia guy. The installation process maybe identical.

 

Maybe start with a fresh kali usb stick? Check if the LIST_cores works.

I have a laptop with an nvidia card and that worked no problem.

I ran dmesg to try and see what my segmentation fault could be and i got this result back:

 

[80391.176164] pyrit[26339]: segfault at 77468 ip 00007f1b63bc6741 sp 00007f1b50ff84b8 error 4 in libLLVM-5.0.so.1[7f1b63163000+3245000]

i have no idea what to do to fix this issue

Link to comment
Share on other sites

  • 4 weeks later...

I was getting no where so i started trying different OS's and i had some limited success using Linux Mint. On the Live CD i install mesa-opencl-icd version 11.2.0-1ubuntu2 (xenial) version as well as my opencl headers and an LLVM 3.8.0.

At this point i can run pyrit benchmark and have it comple normally using my GPU.

Great, I thought. Now all i would have to do is install it to my actual machine and i would be good to go. But Nope.

I installed it to my machine and preformed the same steps as what i did on the live cd before install and i get alot of errors that suddenly appear:

 

systemcrash86@home ~ $ pyrit list_cores
Pyrit 0.5.1 (C) 2008-2011 Lukas Lueg - 2015 John Mora
https://github.com/JPaulMora/Pyrit
This code is distributed under the GNU General Public License v3+

The following cores seem available...
#1:  'CPU-Core (SSE2/AES)'
#2:  'CPU-Core (SSE2/AES)'
#3:  'CPU-Core (SSE2/AES)'
#4:  'CPU-Core (SSE2/AES)'

The following OpenCL GPUs seem aviable...
#1:  'OpenCL-Device 'AMD TAHITI (DRM 2.49.0, LLVM 3.8.0)''
rapt0r@TheMachine ~ $ pyrit benchmark
Pyrit 0.5.1 (C) 2008-2011 Lukas Lueg - 2015 John Mora
https://github.com/JPaulMora/Pyrit
This code is distributed under the GNU General Public License v3+

Calibrating... Exception in thread OpenCL-Device 'AMD TAHITI (DRM 2.49.0, LLVM 3.8.0)':
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 112, in run
    self._testComputeFunction(101)
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 101, in _testComputeFunction
    self.solve(Core.TV_ESSID, [Core.TV_PW] * i))):
SystemError: Failed to build kernel (CL_BUILD_PROGRAM_FAILURE):
Invalid value (Producer: 'LLVM5.0.0' Reader: 'LLVM 3.8.0')

Exception in thread CPU-Core (SSE2/AES):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
    essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
    self._check_cores()
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'OpenCL-Device 'AMD TAHITI (DRM 2.49.0, LLVM 3.8.0)'' has died unexpectedly

Exception in thread CPU-Core (SSE2/AES):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
    essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
    self._check_cores()
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'OpenCL-Device 'AMD TAHITI (DRM 2.49.0, LLVM 3.8.0)'' has died unexpectedly

Exception in thread CPU-Core (SSE2/AES):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
    essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
    self._check_cores()
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'OpenCL-Device 'AMD TAHITI (DRM 2.49.0, LLVM 3.8.0)'' has died unexpectedly
Exception in thread CPU-Core (SSE2/AES):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
    essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
    self._check_cores()
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'OpenCL-Device 'AMD TAHITI (DRM 2.49.0, LLVM 3.8.0)'' has died unexpectedly


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 1199, in benchmark
    cp.enqueue('foo', ['barbarbar'] * 500)
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 575, in enqueue
    self._check_cores()
  File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'CPU-Core (SSE2/AES)' has died unexpectedly
systemcrash86@home ~ $

 

 

Link to comment
Share on other sites

My pyrit stopped working for me as well the other day, no idea why. I got it ro run once then it just stopped(I had another thread in here about it). Never did get it working, which sucks because, like you, I liked pyrit.

I ended up moving over to hashcat and it was easy and it works just as well. I'd honestly suggest that.

Link to comment
Share on other sites

I used to love pyrit. I was frustrated by its failure to log data and after 8 hours of cracking and excessive heat (seg fault) with no way to recover or see its last know attempt.

 

I have had a lot of success with pyrit, its a incredible addictive feeling.

 

But there are basic functions that are missing. Pause, stop, restart and zero logging that is the most frustrating part.

 

Move onto hashcat. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...