-
Notifications
You must be signed in to change notification settings - Fork 118
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
ImportError: No module named asn1 #30
Comments
Hello, I am seeing the same issue like above, can someone please help me? bash-4.1# python scanner.py localhost 443 bash-4.1# pip install scapy-ssl_tls Any help will be greatly appreciated. Thanks |
This workaround worked for me. The problem is the older version of
This installs a helper script that creates standalone python installs which can have modules added or removed without affecting the rest of the system. Sounds like what you need to do, eh? The rest can (should) be done as non-root.
|
Hello there, With your sugestion I got other module missing. Traceback (most recent call last): |
Note the "pip" command inside the virtualenv should install
|
Thanks @sbonds it worked for me, however I am seeing below error: (drown)bash-4.1$ python scanner.py google.com 443 |
Here's the GMP I'm using and I don't see that warning, even though it's version 4:
Since you're using this as a client and aren't sending any sensitive info, I don't see how that warning would be a problem. Still... might want to double check that the source host is fully patched. |
okay, alright. Thanks for help @sbonds |
Dear Steve, Thank you so much for helping other users, much appreciated. best, |
@sbonds Steve there's a typo in your answer ... 'virtualdev' should be 'virtualenv' |
@sbonds Steve after that, everything went smoothly ... thanks very much birdjumper |
Edited Steve's answer. Thanks! |
Hello there,
I' running CentOS 6 and after reading this and installing all modules that are told here #17 , I still have no idea how to solve this output error:
[root@xxx public_drown_scanner]# python scanner.py www.sapo.pt
Import Error - most likely due to missing pycrypto libraries - disabling crypto functionality
ImportError('cannot import name PKCS1_v1_5',)
Traceback (most recent call last):
File "scanner.py", line 26, in
import ssl_tls_crypto
File "/downloads/public_drown_scanner/scapy-ssl_tls/ssl_tls_crypto.py", line 7, in
from Crypto.Util.asn1 import DerSequence
ImportError: No module named asn1
Any help in this?
Thanks,
LP
The text was updated successfully, but these errors were encountered: