moxie0 / sslstrip

A tool for exploiting Moxie Marlinspike's SSL "stripping" attack.
http://www.thoughtcrime.org/software/sslstrip/
GNU General Public License v3.0
1.93k stars 432 forks source link

pycparser error all required packages is install but this error occured #38

Open Thunderbeast000 opened 3 years ago

Thunderbeast000 commented 3 years ago

Traceback (most recent call last): File "/usr/local/bin/sslstrip", line 30, in from sslstrip.StrippingProxy import StrippingProxy File "/usr/local/lib/python2.7/dist-packages/sslstrip/StrippingProxy.py", line 20, in from ClientRequest import ClientRequest File "/usr/local/lib/python2.7/dist-packages/sslstrip/ClientRequest.py", line 25, in from twisted.internet import ssl File "/usr/lib/python2.7/dist-packages/twisted/internet/ssl.py", line 59, in from OpenSSL import SSL File "/usr/lib/python2.7/dist-packages/OpenSSL/init.py", line 8, in from OpenSSL import rand, crypto, SSL File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in from OpenSSL._util import ( File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 6, in from cryptography.hazmat.bindings.openssl.binding import Binding File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 60, in class Binding(object): File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 109, in Binding libraries=_get_libraries(sys.platform) File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/utils.py", line 97, in build_ffi_for_binding extra_link_args=extra_link_args, File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/utils.py", line 105, in build_ffi ffi = FFI() File "/usr/lib/python2.7/dist-packages/cffi/api.py", line 65, in init from . import cparser File "/usr/lib/python2.7/dist-packages/cffi/cparser.py", line 7, in import pycparser ImportError: No module named pycparser

micwoj92 commented 3 years ago

Do you have python2-pycparser installed?