Skip to content

Dependencies on CentOS7 #17

@bobmclaren

Description

@bobmclaren

I just went through dependency hell on 4 different servers before I finally got this script to run on my CentOS 7 server.

In the hopes of saving someone else the torment I endured, here is a quick rundown of what I had to do. Bear in mind that this was on a pretty stripped down installation of CentOS, so a lot of things people take for granted (like gcc) were not installed.

(logged in as root)

yum install gcc gcc-c++ python-devel libpcap-devel
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python get-pip.py
pip install enum pcapy pyasn1 pycrypto scapy scapy-ssl-tls

After all this, I still receive the following warning message, but the script appears to be running as expected.

Import Error - most likely due to missing pycrypto libraries - disabling crypto functionality
ImportError('cannot import name TLSHandshake',)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions