Erro com o verificador de identidade de serviço para pyOpenSSL.

1. Erro com o verificador de identidade de serviço para pyOpenSSL.

phul
phul

(usa Outra)

Enviado em 05/10/2018 - 16:13h

Toda vez que executo o comando: sslstrip -l 10000 a ferramenta faz uma ressalva:

:0: UserWarning: You do not have a working installation of the service_identity module: 'cannot import name opentype'. Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied. Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected.
'
Acontece que o serviço está instalado:

pip3 install service_identity --force --upgrade
Collecting service_identity
Using cached https://files.pythonhosted.org/packages/29/fa/995e364220979e577e7ca232440961db0bf996b6edaf586a7d1bd1...
Collecting pyopenssl>=0.12 (from service_identity)
Using cached https://files.pythonhosted.org/packages/96/af/9d29e6bd40823061aea2e0574ccb2fcf72bfd6130ce53d32773ec3...
Collecting pyasn1 (from service_identity)
Using cached https://files.pythonhosted.org/packages/d1/a1/7790cc85db38daa874f6a2e6308131b9953feb1367f2ae2d1123bb...
Collecting attrs (from service_identity)
Using cached https://files.pythonhosted.org/packages/3a/e1/5f9023cc983f1a628a8c2fd051ad19e76ff7b142a0faf329336f9a...
Collecting pyasn1-modules (from service_identity)
Using cached https://files.pythonhosted.org/packages/19/02/fa63f7ba30a0d7b925ca29d034510fc1ffde53264b71b4155022dd...
Collecting cryptography>=2.2.1 (from pyopenssl>=0.12->service_identity)
Using cached https://files.pythonhosted.org/packages/59/32/92cade62c645756a83598edf56289e9b19aae5370642a7ce690cd0...
Collecting six>=1.5.2 (from pyopenssl>=0.12->service_identity)
Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe30...
Collecting asn1crypto>=0.21.0 (from cryptography>=2.2.1->pyopenssl>=0.12->service_identity)
Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7c...
Collecting idna>=2.1 (from cryptography>=2.2.1->pyopenssl>=0.12->service_identity)
Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b...
Collecting cffi!=1.11.3,>=1.7 (from cryptography>=2.2.1->pyopenssl>=0.12->service_identity)
Using cached https://files.pythonhosted.org/packages/51/7b/d1014289d0578c3522b2798b9cb87c65e5b36798bd3ae68a75fa1f...
Collecting pycparser (from cffi!=1.11.3,>=1.7->cryptography>=2.2.1->pyopenssl>=0.12->service_identity)
Installing collected packages: asn1crypto, six, idna, pycparser, cffi, cryptography, pyopenssl, pyasn1, attrs, pyasn1-modules, service-identity
Found existing installation: asn1crypto 0.24.0
Uninstalling asn1crypto-0.24.0:
Successfully uninstalled asn1crypto-0.24.0
Found existing installation: six 1.11.0
Uninstalling six-1.11.0:
Successfully uninstalled six-1.11.0
Found existing installation: idna 2.7
Uninstalling idna-2.7:
Successfully uninstalled idna-2.7
Found existing installation: pycparser 2.19
Uninstalling pycparser-2.19:
Successfully uninstalled pycparser-2.19
Found existing installation: cffi 1.11.5
Uninstalling cffi-1.11.5:
Successfully uninstalled cffi-1.11.5
Found existing installation: cryptography 2.3.1
Uninstalling cryptography-2.3.1:
Successfully uninstalled cryptography-2.3.1
Found existing installation: pyOpenSSL 18.0.0
Uninstalling pyOpenSSL-18.0.0:
Successfully uninstalled pyOpenSSL-18.0.0
Found existing installation: pyasn1 0.4.4
Uninstalling pyasn1-0.4.4:
Successfully uninstalled pyasn1-0.4.4
Found existing installation: attrs 18.2.0
Uninstalling attrs-18.2.0:
Successfully uninstalled attrs-18.2.0
Found existing installation: pyasn1-modules 0.2.2
Uninstalling pyasn1-modules-0.2.2:
Successfully uninstalled pyasn1-modules-0.2.2
Found existing installation: service-identity 17.0.0
Uninstalling service-identity-17.0.0:
Successfully uninstalled service-identity-17.0.0
Successfully installed asn1crypto-0.24.0 attrs-18.2.0 cffi-1.11.5 cryptography-2.3.1 idna-2.7 pyasn1-0.4.4 pyasn1-modules-0.2.2 pycparser-2.19 pyopenssl-18.0.0 service-identity-17.0.0 six-1.11.0





  


2. Re: Erro com o verificador de identidade de serviço para pyOpenSSL.

Lisandro Guerra
Lisandro

(usa Arch Linux)

Enviado em 20/10/2018 - 01:31h

Como está executando? Por um script em arquivo, no console?
Exemplo!

Abraço






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts