Results 1 to 1 of 1

Thread: pyrit broken?

  1. #1
    Just burned his ISO
    Join Date
    Jul 2008
    Posts
    6

    Default pyrit broken?

    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:~#
    Last edited by hausoo; 03-30-2011 at 09:16 PM. Reason: solved

Similar Threads

  1. my apt-get is broken
    By bofh28 in forum Beginners Forum
    Replies: 3
    Last Post: 02-05-2010, 05:25 PM
  2. broken medusa
    By reecx in forum OLD BackTrack 4 Bugs and Fixes
    Replies: 7
    Last Post: 01-02-2010, 06:47 AM
  3. googlesearch in BT3 broken?
    By floyd in forum OLD Newbie Area
    Replies: 3
    Last Post: 03-13-2009, 12:59 PM
  4. Broken ethernet after using BT
    By epborden in forum OLD Newbie Area
    Replies: 2
    Last Post: 01-31-2009, 06:58 PM
  5. Injection is broken again in BT2
    By JF1976 in forum OLD BackTrack v2.0 Final
    Replies: 2
    Last Post: 03-21-2007, 12:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •