Results 1 to 3 of 3

Thread: Python-configrparse issues?

  1. #1
    Join Date
    2015-May
    Posts
    4

    Question Python-configrparse issues?

    I am not sure if this is a python-configrparse issue or if it is something else.

    I installed MITMf, owtf and a few other pyton scripts and I get these errors

    Code:
    Traceback (most recent call last):
      File "./mitmf.py", line 27, in <module>
        from twisted.web import http
      File "/usr/local/lib/python2.7/dist-packages/Twisted-10.2.0-py2.7-linux-x86_64.egg/twisted/web/http.py", line 34, in <module>
        from twisted.internet import interfaces, reactor, protocol, address
      File "/usr/local/lib/python2.7/dist-packages/Twisted-10.2.0-py2.7-linux-x86_64.egg/twisted/internet/reactor.py", line 37, in <module>
        from twisted.internet import selectreactor
      File "/usr/local/lib/python2.7/dist-packages/Twisted-10.2.0-py2.7-linux-x86_64.egg/twisted/internet/selectreactor.py", line 21, in <module>
        from twisted.internet import posixbase
      File "/usr/local/lib/python2.7/dist-packages/Twisted-10.2.0-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 22, in <module>
        from twisted.internet import tcp, udp
      File "/usr/local/lib/python2.7/dist-packages/Twisted-10.2.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 24, in <module>
        from OpenSSL import SSL
      File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
        from OpenSSL import rand, crypto, SSL
      File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in <module>
        from OpenSSL._util import (
      File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 3, in <module>
        from cryptography.hazmat.bindings.openssl.binding import Binding
      File "/usr/local/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 60, in <module>
        class Binding(object):
      File "/usr/local/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 108, in Binding
        libraries=_get_libraries(sys.platform)
      File "/usr/local/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/local/lib/python2.7/dist-packages/cryptography/hazmat/bindings/utils.py", line 105, in build_ffi
        ffi = FFI()
      File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 58, in __init__
        assert backend.__version__ == __version__
    AssertionError
    when I search for a fix I found this https://bugs.kali.org/view.php?id=1998 and it says it has been fixed...

    any ideas on how to fix this would be great thanks in advance.

    3.18.0-kali3-amd64

    PRETTY_NAME="Kali GNU/Linux 1.1.0 (moto)"
    NAME="Kali GNU/Linux"
    ID=kali
    VERSION="1.1.0 (moto)"
    VERSION_ID="1.1.0"
    ID_LIKE=debian
    ANSI_COLOR="1;31"
    HOME_URL="http://www.kali.org/"
    SUPPORT_URL="http://forums.kali.org/"
    BUG_REPORT_URL="http://bugs.kali.org/"

    Python 2.7.3 (default, Mar 13 2014, 11:03:55)
    [GCC 4.7.2] on linux2

    # Regular repos
    deb http://repo.kali.org/kali kali main non-free contrib
    deb http://security.kali.org/kali-security kali/updates main contrib non-free

    # Source repos
    deb-src http://repo.kali.org/kali kali main non-free contrib
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

    # Bleeding Edge repos
    deb http://repo.kali.org/kali kali-bleeding-edge main

    let me know if any other info is needed

  2. #2
    Join Date
    2015-May
    Posts
    4
    Sorry for posting in the wrong area of the forums, Update: I have found this issue in a few other programs like mitmproxy & faraday.

  3. #3
    Join Date
    2015-May
    Posts
    4
    Okay I figured it out something went wrong with pip

    Code:
    Fixed with : "easy_install -U setuptools" and then "pip install --upgrade setuptools"
    Now all works again.

Similar Threads

  1. Replies: 0
    Last Post: 2021-03-23, 12:33
  2. Python-configrparse issues?
    By Random User in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2015-05-23, 15:26
  3. Replies: 5
    Last Post: 2014-11-09, 19:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •