Results 1 to 13 of 13

Thread: w3af can't workable after apt-get update && apt-get dist-upgrade

  1. #1
    Join Date
    2013-Apr
    Posts
    182

    w3af can't workable after apt-get update && apt-get dist-upgrade

    w3af can't workable after apt-get update && apt-get dist-upgrade

    root@debian:~# w3af_console
    Your python installation needs the following modules to run w3af:
    esmre

    After installing any missing operating system packages, use pip to install the remaining modules:
    sudo pip install esmre

    A script with these commands has been created for you at /tmp/w3af_dependency_install.sh
    root@debian:~# sudo pip install esmre
    sudo: pip: command not found


    Could anyone can help with this ?

  2. #2
    Join Date
    2013-Mar
    Posts
    8
    first you must install pip! sudo apt-get install pip

  3. #3
    Join Date
    2013-Apr
    Posts
    182
    Quote Originally Posted by kaliuser View Post
    first you must install pip! sudo apt-get install pip
    i download the the esmre source code and install it manually ,

    then i remove /usr/share/w3af

    cd /usr/share/


    and

    git clone https://github.com/andresriancho/w3af.git
    cd w3af
    w3af

    it workable ,

  4. #4
    Join Date
    2013-Mar
    Location
    Brazil
    Posts
    52
    I'm using: Linux kali 3.12-kali1-686-pae #1 SMP Debian 3.12.6-2kali1 (2014-01-06) i686 GNU/Linux

    The latest w3af it's not working.

  5. #5
    Join Date
    2013-Mar
    Location
    Brazil
    Posts
    52
    Git clonning to a temporary folder and removing /root/.w3af before starting w3af_gui is a way to make it work until kali team fix this issue.

  6. #6
    Join Date
    2014-Feb
    Posts
    2
    I am having this same problem. The bug report on this issue has been closed but not resolved.

    Here is some information on my system, program, and related dependency:

    # uname -a
    Linux kali 3.12-kali1-686-pae #1 SMP Debian 3.12.6-2kali1 (2014-01-06) i686 GNU/Linux
    # apt-cache show python-esmre
    Package: python-esmre
    Version: 0.3.1-1kali2
    Architecture: all
    Maintainer: Devon Kearns <[email protected]>
    Installed-Size: 152
    Depends: python
    Homepage: http://code.google.com/p/esmre/
    Priority: optional
    Section: python
    Filename: pool/main/p/python-esmre/python-esmre_0.3.1-1kali2_all.deb
    Size: 35500
    SHA256: 6723537ef556d4052be557601a64e90c862fe1a2b605e6dbff 8ea042c13418b4
    SHA1: 6b2d38b46caacd8eb923b82ba7478b099e4cde78
    MD5sum: 68a5e254c47160ee5869a29bd8cf7bb7
    # dpkg -l python-esmre
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description
    +++-==============-============-============-=================================
    ii python-esmre 0.3.1-1kali2 all Regular expression acceleration i
    # apt-cache show w3af
    Package: w3af
    Version: 1.5-0kali1
    Architecture: all
    Maintainer: Luciano Bello <[email protected]>
    Installed-Size: 1027
    Depends: python, python-support (>= 0.90.0), w3af-console (>= 1.5-0kali1), python-gtk2 (>= 2.12), graphviz, python-gtksourceview2, python-webkit, python-xdot
    Homepage: http://w3af.sourceforge.net/
    Priority: extra
    Section: net
    Filename: pool/main/w/w3af/w3af_1.5-0kali1_all.deb
    Size: 411562
    SHA256: 27d108ab1fa5a5c5449c3ba0fa7fc5ecd44c2fa0748c41fede 62f43da6bf3a7f
    SHA1: b12ee920971d718fb7a499ea1c572809ef6d39d4
    MD5sum: 984ffc5dcacb0a06f33b8c575d0bf12b
    # dpkg -l w3af
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description
    +++-===================-==============-==============-============================================
    ii w3af 1.5-0kali1 all framework to find and exploit web applicatio
    $ reportbug --template w3af-console
    No protocol specified
    /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
    warnings.warn(str(e), _gtk.Warning)
    Warning: no reportbug configuration found. Proceeding in novice mode.
    Detected character set: UTF-8

    -- System Information:
    Debian Release: Kali Linux 1.0.6
    Architecture: i386 (i686)

    Kernel: Linux 3.12-kali1-686-pae (SMP w/2 CPU cores)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
    Shell: /bin/sh linked to /bin/dash

    Versions of packages w3af-console depends on:
    ii msgpack-python 0.1.10-1
    ii python 2.7.3-4+deb7u1
    ii python-beautifulsoup 3.2.1-1
    ii python-bloomfiltermmap 0.3.11-1kali3
    ii python-chardet 2.0.1-2
    ii python-clamd 1.0.1-1kali0
    ii python-cluster 1.1.1b3-1
    ii python-concurrent.futures 2.1.2-1
    ii python-esmre 0.3.1-1kali2
    ii python-git 0.3.2~RC1-1
    ii python-guess-language 0.2+svn20130917-1kali1
    ii python-lxml 2.3.2-1
    ii python-nltk 2.0.4-0kali1
    ii python-ntlm 1.0.1+svn20130917-1kali0
    ii python-openssl 0.13-2+deb7u1
    ii python-pdfminer 20110515+dfsg-1
    ii python-phply 0.1~git20130813-1kali1
    ii python-pygithub 1.23.0-0kali0
    ii python-pypdf 1.13-1
    ii python-pysqlite2 2.6.3-3
    ii python-scapy 2.2.0-1
    ii python-simplejson 2.5.2-1
    ii python-six 1.1.0-2
    ii python-soappy 0.12.0-4
    ii python-svn 1.7.5-1.1
    $ reportbug --template w3af
    No protocol specified
    /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
    warnings.warn(str(e), _gtk.Warning)
    Warning: no reportbug configuration found. Proceeding in novice mode.
    Detected character set: UTF-8

    -- System Information:
    Debian Release: Kali Linux 1.0.6
    Architecture: i386 (i686)

    Kernel: Linux 3.12-kali1-686-pae (SMP w/2 CPU cores)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
    Shell: /bin/sh linked to /bin/dash

    Versions of packages w3af depends on:
    ii graphviz 2.26.3-14+deb7u1
    ii python 2.7.3-4+deb7u1
    ii python-gtk2 2.24.0-3+b1
    ii python-gtksourceview2 2.10.1-2
    ii python-support 1.0.15
    ii python-webkit 1.1.8-2
    ii python-xdot 0.5-1kali0
    ii w3af-console 1.5-0kali1
    Last edited by 0x90shell; 2014-02-13 at 21:42.

  7. #7
    Join Date
    2013-Mar
    Location
    unknown
    Posts
    61
    i have the same problem
    i upgrade the w3af and i have the s
    Your python installation needs the following modules to run w3af:
    esmre

    After installing any missing operating system packages, use pip to install the remaining modules:
    sudo pip install esmre

    A script with these commands has been created for you at /tmp/w3af_dependency_install.sh

  8. #8
    Join Date
    2013-Mar
    Location
    Brazil
    Posts
    52
    Today I had a new update on w3af, but didn't work.

    Linux: Linux kali 3.12-kali1-686-pae #1 SMP Debian 3.12.6-2kali1 (2014-01-06) i686 GNU/Linux

    When executing w3af_gui the error is:

    Starting w3af, running on:
    Python version: 2.7.3 (default, Jan 2 2013, 16:53:07) [GCC 4.7.2]
    GTK version: 2.24.10
    PyGTK version: 2.24.0
    w3af version:
    w3af - Web Application Attack and Audit Framework
    Version: 1.6
    Revision: unknown
    Distribution: Debian
    Author: Andres Riancho and the w3af team.
    Traceback (most recent call last):
    File "/usr/share/w3af/w3af_gui", line 91, in <module>
    err_code = main()
    File "/usr/share/w3af/w3af_gui", line 88, in main
    core.ui.gui.main.main(profile, doupdate)
    File "/usr/share/w3af/core/ui/gui/main.py", line 907, in main
    MainApp(profile, do_upd)
    File "/usr/share/w3af/core/ui/gui/main.py", line 404, in __init__
    self.pcbody = pluginconfig.PluginConfigBody(self, self.w3af)
    File "/usr/share/w3af/core/ui/gui/pluginconfig.py", line 620, in __init__
    self.pan = self._buildpan()
    File "/usr/share/w3af/core/ui/gui/pluginconfig.py", line 640, in _buildpan
    self.w3af, "standard", self.config_panel)
    File "/usr/share/w3af/core/ui/gui/pluginconfig.py", line 226, in __init__
    activated = set(w3af.plugins.get_enabled_plugins(plugintype))
    File "/usr/share/w3af/core/controllers/core_helpers/plugins.py", line 128, in get_enabled_plugins
    return self._plugins_names_dict[plugin_type]
    KeyError: 'discovery'

  9. #9
    Join Date
    2013-Apr
    Posts
    182
    root@debian:~# w3af
    Starting w3af, running on:
    Python version: 2.7.3 (default, Jan 2 2013, 16:53:07) [GCC 4.7.2]
    GTK version: 2.24.10
    PyGTK version: 2.24.0
    w3af version:
    w3af - Web Application Attack and Audit Framework
    Version: 1.6
    Revision: 33d1f0e5b8 - 29 Jan 2014 12:39
    Author: Andres Riancho and the w3af team.
    Changing socket options of ProxyServer to (socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
    Using proxy handler: core.controllers.daemons.localproxy.w3afLocalProxy Handler.
    Proxy server listening on 127.0.0.1:8080.
    Calling stop of proxy daemon.
    Local proxy daemon handling request: localhost - "QUIT / HTTP/1.1" 200 -
    Handled QUIT request.
    Exiting proxy server serve_forever(); stop() was successful.
    Sent QUIT request.
    Called w3afCore.start()
    Enabling _dns_cache()
    Called build_openers
    DNS response from DNS server for domain: www.globaltyz.com
    Exception while inserting request/response to the database: Expected dict, got Headers
    The request/response that generated the error is: 1 http://www.******.com/ 200

    **IMPORTANT** The following error was detected by w3af and couldn't be resolved:
    The remote web server is not answering our HTTP requests, multiple errors have been found while trying to GET a response from the server.

    In most cases this means that the configured target is incorrect, the port is closed, there is a firewall blocking our packets or there is no HTTP daemon listening on that port.

    Please verify your target configuration and try again.

    Scan finished in 1 second.


    every website is the same

  10. #10
    Join Date
    2014-Feb
    Posts
    1
    Quote Originally Posted by when123 View Post

    every website is the same
    Fail... You are only supposed to be using it on website's that have given you there permission!

    ergo.. No permission, then you are doing something illegal.

  11. #11
    Join Date
    2013-Apr
    Posts
    8
    An easy quick-fix for esmre is to comment out dependency_check() in w3af_gui or w3af_console. Worked for me.

  12. #12
    Join Date
    2013-Mar
    Location
    Brazil
    Posts
    52
    Still not working.

  13. #13
    Join Date
    2013-Jun
    Location
    USA
    Posts
    20
    I can confirm this with the latest Kali version.

    I did the whole apt-get remove w3af

    deleted /usr/share/w3af

    did the whole git clone.

    I still get the error That have quoted. I tried it on a local web server, a remote server and site that I own, etc.

    Any fix?


    Quote Originally Posted by when123 View Post
    root@debian:~# w3af
    Starting w3af, running on:
    Python version: 2.7.3 (default, Jan 2 2013, 16:53:07) [GCC 4.7.2]
    GTK version: 2.24.10
    PyGTK version: 2.24.0
    w3af version:
    w3af - Web Application Attack and Audit Framework
    Version: 1.6
    Revision: 33d1f0e5b8 - 29 Jan 2014 12:39
    Author: Andres Riancho and the w3af team.
    Changing socket options of ProxyServer to (socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
    Using proxy handler: core.controllers.daemons.localproxy.w3afLocalProxy Handler.
    Proxy server listening on 127.0.0.1:8080.
    Calling stop of proxy daemon.
    Local proxy daemon handling request: localhost - "QUIT / HTTP/1.1" 200 -
    Handled QUIT request.
    Exiting proxy server serve_forever(); stop() was successful.
    Sent QUIT request.
    Called w3afCore.start()
    Enabling _dns_cache()
    Called build_openers
    DNS response from DNS server for domain: www.globaltyz.com
    Exception while inserting request/response to the database: Expected dict, got Headers
    The request/response that generated the error is: 1 http://www.******.com/ 200

    **IMPORTANT** The following error was detected by w3af and couldn't be resolved:
    The remote web server is not answering our HTTP requests, multiple errors have been found while trying to GET a response from the server.

    In most cases this means that the configured target is incorrect, the port is closed, there is a firewall blocking our packets or there is no HTTP daemon listening on that port.

    Please verify your target configuration and try again.

    Scan finished in 1 second.


    every website is the same
    Check out my Youtube Channel! Search NetSecNow
    Check out my Facebook! - Search NetSecNow
    Check out my Blog! learnetsec@blogspot

    Like and Subscribe! New videos every week!

Similar Threads

  1. [w3af error] after update+upgrade
    By Edelweiss in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2016-10-28, 12:36
  2. W3AF fails to load after update/upgrade
    By HackR2D2 in forum Installing Archive
    Replies: 5
    Last Post: 2014-11-10, 04:14
  3. w3af can't workable
    By when123 in forum General Archive
    Replies: 6
    Last Post: 2014-05-22, 12:17
  4. Replies: 8
    Last Post: 2014-01-21, 12:05

Posting Permissions

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