Open GoogleCodeExporter opened 9 years ago
change the PATH= and add these lines to the end (after the last fi) so it looks
like this:
try it...
add lines in /root/.bashrc:
PATH=$PATH:/usr/local/cuda/bin
CUDA_INSTALL_PATH="/usr/local/cuda"
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib
export PATH
export CUDA_INSTALL_PATH
export LD_LIBRARY_PATH
exit nano and save changes.
source /root/.bashrc
ldconfig
Then follow :
Check NVIDIA compiler:
root@bt:~# which nvcc
/usr/local/cuda/bin/nvcc
root@bt:~# nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2011 NVIDIA Corporation
Built on Thu_May_12_11:09:45_PDT_2011
Cuda compilation tools, release 4.0, V0.2.1221
Setup pyrit
Setup pyrit dependent packages:
root@bt:~# apt-get install libssl-dev
root@bt:~# apt-get install scapy
root@bt:~# apt-get install python-dev
Check out Pyrit SVN trunk:
root@bt:~# svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit
Build Pyrit:
root@bt:~# cd pyrit/pyrit/
root@bt:~/pyrit/pyrit# python setup.py build
root@bt:~/pyrit/pyrit# python setup.py install
Test Pyrit:
root@bt:~/pyrit/pyrit# pyrit list_cores
Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+
The following cores seem available...
#1: 'CPU-Core (SSE2)'
#2: 'CPU-Core (SSE2)'
#3: 'CPU-Core (SSE2)'
#4: 'CPU-Core (SSE2)'
#5: 'CPU-Core (SSE2)'
#6: 'CPU-Core (SSE2)'
#7: 'CPU-Core (SSE2)'
#8: 'CPU-Core (SSE2)'
Setup CUDA for Pyrit
Build CUDA for Pyrit:
root@bt:~/pyrit/pyrit# cd ../cpyrit_cuda/
root@bt:~/pyrit/cpyrit_cuda# python setup.py build
root@bt:~/pyrit/cpyrit_cuda# python setup.py install
Original comment by deltomaf...@gmail.com
on 28 May 2014 at 12:45
Original issue reported on code.google.com by
vidovic....@gmail.com
on 27 May 2014 at 2:07