If you are as unfortunate as I am and you need to use Windows (for some reason) to install pyrit, you will probably have a bad time. However! :) I figured out how to make it work, at least for CPU-based cracking. I used cygwin, but it should be possible with MinGW too.
GPU-based cracking will be a lot (and I mean A LOT) more difficult though. I have found a ticket on pyrit's webpage ( and also a Google Groups thread on ) that is not really promising, but I would like to try it later and see if it's really impossible to make it work with GPU acceleration.
So, here are the steps (based on  and ):
- Install cygwin from cygwin.com (download: http://cygwin.com/setup-x86.exe or http://cygwin.com/setup-x86_64.exe)! Make sure that you install gcc, cc, openssl, svn!
- Download and unzip the Winpcap developer pack. By the time of this post, the most recent version was the following: http://www.winpcap.org/install/bin/WpdPack_4_1_2.zip
- Copy libraries like this:WpdPack\Lib\libpacket.a to cygwin\lib\WpdPack\Lib\libwpcap.a to cygwin\lib\
- Rename cygwin\lib\libwpcap.a to cygwin\lib\libpcap.a
- Copy all headers from WpdPack\Include to cygwin\usr\include\
- Make sure you have installed Winpcap libraries and that they are in your path by typing:which Packet.dllwhich wpcap.dllFor me they are under /cygdrive/c/WINDOWS/system32/
- Download pyrit source (svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit)
- I think the next step is no longer needed (I took it from ): modify ./pyrit/cpyrit/setup.py adding a reference to lib crypto (now, originaly it's: libraries = ['crypto', 'pcap'], so I have changed it to libraries = ['ssl', 'crypto', 'pcap'],)
- ./setup.py build
- ./setup.py install
- pyrit.py benchmarkshould give you something similar to this: