Wednesday, December 31, 2008

compile pyrit under windows

In order to compile pyrit under windows you need to follow this easy steps

1) install cygwin from cygwin.com make sure that you check to install gcc, cc, stdlib, openssl, etc, default installation will work.
2) download pyrit source (svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit)
3) modify ./pyrit/cpyrit/setup.py adding a reference to lib crypto
libraries = ['ssl','crypto']
4) ./setup.py build
5) ./setup.py install
6) ./pyrit.py benchmark

If you have any problem please let me know.
vf

PS: I don't have tried with cuda ('cause I've an ATI), but if someone can give me a remote desktop or logmein or ... I would try

14 comments:

Anonymous said...

what CUDA files would be needed for compilation for nvidia cards?

Anonymous said...

I get the message /usr/bin/env: Python: No such file or directory found.

What is worng

Anonymous said...

I get the message /usr/bin/env: Python: No such file or directory found.

What is worng?

Anonymous said...

@Sheeep

you've to install python first

@anonymous

file from here:
http://www.nvidia.com/object/cuda_get.html

Anonymous said...

Please tell me how to do that "that you check to install gcc, cc, stdlib, openssl, ", because the default installation does not work.
I can not find even the command make.

Anonymous said...

It compiles but it is not functional. When tried to import password list, it tries to read all lines but never completes. It does not create password entry in blob space at all? Am I missing something?

Anonymous said...

does it also work with eclipse?

Unknown said...

i've been working on getting pyrit 2.4 compiled under cygwin, windows, with mingw. here's my progress so far:

http://code.google.com/p/pyrit/issues/detail?id=22

oxident said...

Great article!
I know this one might be obsolete but the current svn fails due to missing pcap.h / libs. Any ideas on that?

Anonymous said...

Hi I'm new to this and Install Cygwin and downloaded the pyrit. I really dont get this.. Please help. Thanks in advance

Anonymous said...

I don't understand below.
3) modify ./pyrit/cpyrit/setup.py adding a reference to lib crypto
libraries = ['ssl','crypto']

write the "crypto libraries =['ssl','crypto']" in setup.py ◀that's right?

Anonymous said...

sorry, i get an error svn command not found?

Anonymous said...

Make Pyrit compile in a Visual C++ 2008 environment.
With Python 2.6 and pyrit 0.4.1-dev.
1. Add lines in _cpyrit_cpu.c

#pragma comment(lib, "crypt32.lib")
#pragma comment(lib, "libeay32.lib")
#define VERSION "0.4.1-dev"

2.Download and install http://slproweb.com/download/Win32OpenSSL-1_0_0l.exe
Take from OpenSSL-Win32 folder header and lib files and copy to Visual C++ 2008 folder.
Build and install pyrit.
3.In pckttools.py insert line 'import scapy.all' str.41 (it for scapy).
Under Windows XP SP3 all work well,faster then in linux.

Unknown said...

error: command 'gcc' failed with exit status 1
when building setup.py