Drozer não inicia no Kali Linux 2.0

1

Estou tentando lançar o drozer em um Kali Linux 2.0 de 64 bits e estou recebendo os seguintes problemas:

Traceback (most recent call last):
    File "/usr/local/bin/drozer", line 4, in <module>
        __import__('pkg_resources').run_script('drozer==2.3.4', 'drozer')
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2876,     in <module>
        working_set = WorkingSet._build_master()
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 451,    in _build_master
        return cls._build_from_requirements(__requires__)
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 464,   in _build_from_requirements
        dists = ws.resolve(reqs, Environment())
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 639, in resolve
        raise DistributionNotFound(req)
    pkg_resources.DistributionNotFound: pyopenssl==0.13

Eu olhei pela rede e fiz o seguinte:

sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev

sudo easy_install greenlet
sudo easy_install gevent
easy_install ./drozer-2.3.4-py2.7.egg

sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi
sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi
sudo apt-get install build-essential python-dev

sudo apt-get install libxml2-dev
sudo apt-get install libxslt1-dev

Mas tudo que eu obtenho é a mesma coisa.

    
por beegee Assem 15.11.2015 / 16:44

1 resposta

1

  • Faça o download da pyOpenSSL versão 0.13:

    wget https://pypi.python.org/packages/8b/20/8f4230b281a2a9d0ee9e24fd89aeded0b25d40c84b3d61100a96438e1626/pyOpenSSL-0.13.tar.gz#md5=767bca18a71178ca353dff9e10941929
    
  • Descompacte o arquivo:

    tar -xvzf pyOpenSSL-0.13.tar.gz
    
  • Digite o diretório do pacote:

    cd pyOpenSSL-0.13
    
  • Corrija a constante X509_REVOKED_dup no pacote:

    sed -e 's/X509_REVOKED_dup/X509_REVOKED_dupe/g' -i OpenSSL/crypto/crl.c
    
  • Instale o pacote:

    python ./setup.py install
    

    Essas etapas devem resolver esse problema.

O problema com X509_REVOKED_dup - > X509_REVOKED_dupe foi corrigido em pyOpenSSl 0.14 , mas como você precisa exatamente da versão 0.13 , é necessário executar a correção acima para compilá-la.

Esse é um problema de compilação que foi corrigido neste problema do github

    
por 28.07.2016 / 21:21

Tags