Scapy install issues. Nothing seems to actually be installed?

后端 未结 6 1722
情深已故
情深已故 2021-02-04 08:41

I have an apple computer running Leopard with python 2.6. I downloaded the latest version of scapy and ran \"python setup.py install\". All went according to plan

相关标签:
6条回答
  • 2021-02-04 09:19

    I've also had lots of issues getting Scapy and its dependencies properly installed on my Mac, finally I found Homebrew Python GitHub page https://github.com/Homebrew/homebrew-python it contains lots of helpful/useful brew formula including one for Scapy that worked like a charm for me.

    brew tap Homebrew/python
    brew install scapy
    

    I also had an issue with my pcapy which was solved by another formula in the repo for pypcap, so same procedure.

    brew install pypcap
    
    0 讨论(0)
  • 2021-02-04 09:26

    MAC install follow the instructions here in case if you want to install it in a virtualenv by first going into the virtualenv and then just using python setup.py install instead of sudo.

    0 讨论(0)
  • 2021-02-04 09:28

    I have collected all the libraries needed for network programming in Python for Windows and made a single integrated installer. Its on Google Code. Just extract and run the installer after reading the installation file, installs all the dependencies needed for running Scapy on Py2.6.

    0 讨论(0)
  • 2021-02-04 09:36

    Install libdnet:http://libdnet.sourceforge.net/ and python-libpcat: http://sourceforge.net/projects/pylibpcap/

    For libdent:

    CFLAGS='-arch i386 -arch x86_64' ./configure --prefix=/usr
    archargs='-arch i386 -arch x86_64' make
    sudo make install
    cd python
    sudo python setup.py install
    
    0 讨论(0)
  • 2021-02-04 09:39

    I was able to get this working by #commenting out the route6 import statment in all.py within the scapy mod directory.

    After that, I was able to bring up the interactive scapy prompt.

    So the real solution to this issue is to make sure you have a compatible route6 mod.

    0 讨论(0)
  • 2021-02-04 09:40

    Follow these instructions from scapy website. There are dependencies that you must resolve before doing the install. It worked like a charm for me on a Windows machine.

    http://www.secdev.org/projects/scapy/doc/installation.html#mac-os-x

    0 讨论(0)
提交回复
热议问题