EDIT:solved bad cap file go figure...
Hello having some problems with pyrit working fine until recent dist-upgrade now pyrit gives error on cap files removed all nvidia-drivers,cuda,pyrit reinstalled all from repo same error
fresh install btr2 same error
apt-get install nvidia-driver
apt-get install pyrit
apt-get install cpyrit-cuda
apt-get install cuda-toolkit
researched bt foums and google old post about scapy not being updated, need to build with (python2.5 setup.py build) python setup.py build no luck so....
removed all nvidia.cuda,pyrit. installed all from src NVIDIA-Linux-x86-260.19.44.run,pyrit4.0,cudatoolkit_2.3_linux_32_ub untu8.10.run,cudasdk_2.3_linux.run,cpyrit-cuda-0.4.0
still no luck...i need a push in the right direction thanks
Code:
oot@bt:~# cat /etc/X11/xorg.conf | grep nvidia
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 260.19.44 (buildmeister@swio-display-x86-rhel47-04.nvidia.com) Sun Feb 27 21:50:39 PST 2011
Driver "nvidia"
root@bt:~#
Code:
root@bt:~# tail -n 9 .bashrc
# CUDA stuff
CUDA_INSTALL_PATH=/usr/local/cuda
PATH=$PATH:/usr/local/cuda/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib
SDK_INSTALL_PATH=/usr/local/cuda/NVIDIA_CUDA_SDK
export PATH
export CUDA_INSTALL_PATH
export SDK_INSTALL_PATH
export LD_LIBRARY_PATH
root@bt:~#
Code:
root@bt:~# pyrit list_cores
Pyrit 0.4.0 (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: 'CUDA-Device #1 'GeForce GTS 250''
#2: 'CPU-Core (SSE2)'
root@bt:~#
Error
Code:
root@bt:~# pyrit -r /root/pyrit/xxx.cap analyze
Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+
Parsing file '/root/pyrit/xxx.cap' (1/1)...
Traceback (most recent call last):
File "/usr/bin/pyrit", line 6, in <module>
pyrit_cli.Pyrit_CLI().initFromArgv()
File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 115, in initFromArgv
func(self, **options)
File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 163, in new_f
f(*args, **kwds)
File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 447, in analyze
parser = self._getParser(capturefile)
File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 179, in _getParser
parser.parse_pcapdevice(dev)
File "/usr/lib/python2.5/site-packages/cpyrit/pckttools.py", line 600, in parse_pcapdevice
for pckt in reader:
File "/usr/lib/python2.5/site-packages/cpyrit/pckttools.py", line 500, in next
pckt = self.read()
File "/usr/lib/python2.5/site-packages/cpyrit/pckttools.py", line 488, in read
r = _cpyrit_cpu.PcapDevice.read(self)
IOError: libpcap-error while reading: truncated dump file; tried to read 26 captured bytes, only got 7
root@bt:~#