|
Troubleshooting
FAQ and troubleshooting
Pyrit does not use SSE2The CPU-core supports SSE2 since version '0.2.3'. 'ImportError: /usr/.../cpyrit/cpyrit_cpu.so: cannot restore segment prot after reloc: Permission denied'This error may happen with SSE2-support compiled in and is caused by SELinux not trusting Pyrit's library. You can follow SELinux's guidelines on fixing that for your specific system. Or you can disable SELinux for the time being by executing (as root): echo 0 > /selinux/enforce The error was fixed in version '0.2.4 r152'. Using CPyrit-CUDA with CUDA 2.2 causes the error message 'Failed to load CUDA-core (CUDA_ERROR_INVALID_IMAGE)'This error was fixed in version '0.2.3'. You either have to update to '0.2.3' or downgrade to CUDA 2.1. Compiling CPyrit-Stream throws an error message 'explicit template specialization cannot have a storage class'The error usually refers to 'brtvector.hpp' and is caused by a bug in the ATI-Stream SDK. To fix it open '/usr/local/atibrook/sdk/include/brook/CPU/brtvector.hpp' and search for #define SPECIALGETAT(TYP) template <> static TYP GetAt (const TYP& in,int i) {return in;}Remove the word 'static' from the line above so it becomes: #define SPECIALGETAT(TYP) template <> TYP GetAt (const TYP& in,int i) {return in;}Save the file and re-compile. Pyrit no longer uses all CPUs after installing a GPU-driven extension-moduleThis behaviour is intended. Pyrit keeps one CPU free for scheduling work with every GPU it uses. The GPU does not show up in 'list_cores'Pyrit suppresses most errors that occur while loading the GPU-extensions as they are usually caused by simply not having compatible hardware installed. Open a terminal and try loading the offending module directly to get more information. For CPyrit-Stream: python -c 'from cpyrit import _cpyrit_stream' For CPyrit-CUDA: python -c 'from cpyrit import _cpyrit_cuda' There is no output at all if the module was loaded successfully. Some of the errors you might get include:
The CPyrit-Stream or CPyrit-CUDA modules are simply not installed or can't be found in the current Python-environment. Try (re-) installing the extension modules and make sure you don't mix the Python-interpreters you use (this can happen on MacOS which tends to have multiple versions of Python installed).
The CPyrit-Stream module requires ATIs proprietary driver 'fglrx' to be installed.
The CPyrit-CUDA modules requires Nvidia's proprietary driver to be installed. Depending on your distribution you may also need to symlink e.g. '/usr/lib/nvidia/libcuda.so.1' to '/usr/lib/libcuda.so.1' or add '/usr/lib/nvidia' to your ldconfig.
Ensure that the 'nvidia' module has been successfully loaded. Taking a look at the kernel ringbuffer may give more help: modprobe nvidia dmesg | tail
The CUDA-driver has loaded but failed to initialize or reports that none of your GPUs is compatible. Take a look at this page to find out if your GPU is supported. You may need to update your drivers.
Same reason as above. Check this list to find out if your GPU is compatible. Xorg becomes slow and unresponsive when using Pyrit on the GPUO rly ? Pyrit says it stored only Y passwords after trying to import a wordlist of X entriesPyrit ignores passwords that have less than 8 or more than 63 characters as those can't be used for WPA anyway. The .pyrit directory has a size of only Y MBs after importing a wordlist of X GBsPyrit uses zlib-compression to store the passwords. There is another problem with PyritCreate a ticket in the Issue-Tracker or write an e-mail to lukas.lueg@gmail.com |
Sign in to add a comment
I am having a problem with pyrit in Karmic Koala.
$ pyrit -e <essid> -i </path/to/dictionary/.lst> -r </path/to/captured/file/.cap> Pyrit 0.2.5-dev (svn r192) (C) 2008, 2009 Lukas Lueg http://pyrit.googlecode.com This code is distributed under the GNU General Public License v3
Connecting to storage... connected
Usage: pyrit options? command
Recognized options: -e : Filters AccessPoint? by ESSID -b : Filters AccessPoint? by BSSID -i : Filename for input ('-' is stdin) -o : Filename for output ('-' is stdout) -r : Packet capture source in pcap-format -u : URL of the storage-system to use
Recognized commands: analyze : Analyze a packet-capture file attack_batch : Attack a handshake with PMKs/passwords from the db attack_cowpatty : Attack a handshake with PMKs from a cowpatty-file attack_db : Attack a handshake with PMKs from the db attack_passthrough : Attack a handshake with passwords from a file batch : Batchprocess the database benchmark : Determine performance of available cores create_essid : Create a new ESSID delete_essid : Delete a ESSID from the database eval : Count the available passwords and matching results export_cowpatty : Export results to a new cowpatty file export_hashdb : Export results to an airolib database export_passwords : Export passwords to a file help : Print this help import_passwords : Import passwords from a file list_cores : List available cores list_essids : List all ESSIDs but don't count matching results passthrough : Compute PMKs on the fly and write to stdout selftest : Test all cores to ensure they compute correct results strip : Strip packet-capture files to the relevant packets stripLive : Capture relevant packets from a live capture-source verify : Verify 10% of the results by recomputation
$
Why does nothing?
You may want to give a command like 'attack_passthrough' or something ....
Thanks it works. Next step: Adding CUDA to Karmic Koala and doing it faster.
Thanks a lot.