Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies on CentOS7 #17

Closed
bobmclaren opened this issue Mar 1, 2016 · 4 comments
Closed

Dependencies on CentOS7 #17

bobmclaren opened this issue Mar 1, 2016 · 4 comments

Comments

@bobmclaren
Copy link

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',)

@nimia
Copy link
Owner

nimia commented Mar 2, 2016

Much appreciated!
I feel this is somewhat of a rare case, so the readme simply links to this issue.
Thanks a lot for taking the time to document this!

@biergaizi
Copy link

@Slammis

You downloaded the GitHub webpage instead of the source file, the solution should be easy 😆

@bobmclaren
Copy link
Author

@Slammis That looks to me like your scanner.py contains unexpected HTML content rather than the script content. Something has likely gone awry with your download.

@JZiemba
Copy link

JZiemba commented Mar 2, 2016

python-pyasn1 has been installed (CentOS 6.7) however also receiving "ImportError: No module named asn1" error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants