Hi,

when launching the latest w3af with this script, on mac os x (packages
installed with macports) :
-------
misc-settings
    set maxDiscoveryTime 1200
    set maxThreads 0
    set exportFuzzableRequests FuzzableRequests.csv
    set fuzzFormComboValues t
    back
plugins
    output htmlFile, textFile, console, xmlFile
    back
plugins
    discovery webSpider
    discovery config webSpider
        set onlyForward True
        set ignoreRegex
(?i).*[.](pdf|doc|ram|mp3|mov|ppt|gif|jpg|png|ico)|.*75[rs]/senate/archive|.*75[rs]/senate/members/dist[0-9]*/pr|.*req_inv[.]php|.*req_svc[.]php|.*req_survey01[.]php|.*req_survey02[.]php|.*survey001[.]php|.*survey002[.]php|.*req_signup01[.]php|.*C820handler[.]php|.*distemailhandler[.]php|.*distemailhandler2[.]php|.*FHdists[.]php|.*FHwebadmin[.]php|.*harrisQhandler[.]php|.*ltgovhandler[.]php|.*NLhandler[.]php|.*QH090001[.]php|.*QH120001[.]php|.*QH230001[.]php|.*QH230002[.]php|.*SRChandler[.]php|.*webadminhandler[.]php|.*adminform[.]php|.*logout.*
        back
    back
target
    set target http://127.0.0.1:8080/~alejandr02/xss-type-1/
    set targetOS unix
    back
start
-------

i get the following error message:


-------------
The target URL: http://127.0.0.1:8080/~wtf/xss-type-1/ is unreachable
because of an unhandled exception.
Error description: "". See debug output for more information.
Traceback for this error: Traceback (most recent call last):
  File "...w3af/core/controllers/coreHelpers/strategy.py", line 220,
in _pre_discovery
    is_404(response)
  File "...w3af/core/controllers/coreHelpers/fingerprint_404.py", line
351, in is_404
    return fp_404_db.is_404(http_response)
  File "...w3af/core/controllers/coreHelpers/fingerprint_404.py", line
241, in is_404
    self.generate_404_knowledge( http_response.getURL() )
  File "...w3af/core/controllers/coreHelpers/fingerprint_404.py", line
144, in generate_404_knowledge
    self._fingerprinted_paths.add(domain_path)
  File "...w3af/core/data/bloomfilter/bloomfilter.py", line 210, in add
    error_rate=self.error_rate * (self.ratio ** num_filters))
  File "...w3af/core/data/bloomfilter/bloomfilter.py", line 80, in __init__
    self.bf = mmap_filter(capacity, error_rate, temp_file)
  File "pybloomfilter.pyx", line 125, in
pybloomfilter.BloomFilter.__cinit__ (src/pybloomfilter.c:2349)
MemoryError

New URL found by webSpider plugin: http://127.0.0.1:8080/~wtf/xss-type-1/
Python threw a MemoryError, this means that your OS is running very
low in memory. w3af is going to stop.
Scan finished in 0 seconds.
Exception in thread Thread-26:
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py",
line 532, in __bootstrap_inner
    self.run()
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py",
line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "...w3af/core/ui/consoleUi/rootMenu.py", line 114, in _real_start
    self._w3af.start()
  File "...w3af/core/controllers/w3afCore.py", line 119, in start
    self.strategy.start()
  File "...w3af/core/controllers/coreHelpers/strategy.py", line 80, in start
    self._fuzzable_request_set.update( self._discover_and_bruteforce() )
  File "...w3af/core/controllers/coreHelpers/strategy.py", line 280,
in _discover_and_bruteforce
    discovered_fr_list = self._discover( tmp_set )
  File "...w3af/core/controllers/coreHelpers/strategy.py", line 335,
in _discover
    result = self._discover_worker( to_walk )
  File "...w3af/core/controllers/coreHelpers/strategy.py", line 443,
in _discover_worker
    exec_info, enabled_plugins )
  File "...w3af/core/controllers/coreHelpers/strategy.py", line 420,
in _discover_worker
    plugin_result = plugin.discover_wrapper(fr)
  File "...w3af/core/controllers/basePlugin/baseDiscoveryPlugin.py",
line 47, in discover_wrapper
    return self.discover( fuzzable_request_copy )
  File "...w3af/plugins/discovery/webSpider.py", line 110, in discover
    fuzzable_req = self._fill_form(fuzzable_req)
  File "...w3af/plugins/discovery/webSpider.py", line 199, in _fill_form
    self._already_filled_form.add(fuzzable_req.getURL())
  File "...w3af/core/data/bloomfilter/bloomfilter.py", line 210, in add
    error_rate=self.error_rate * (self.ratio ** num_filters))
  File "...w3af/core/data/bloomfilter/bloomfilter.py", line 80, in __init__
    self.bf = mmap_filter(capacity, error_rate, temp_file)
  File "pybloomfilter.pyx", line 125, in
pybloomfilter.BloomFilter.__cinit__ (src/pybloomfilter.c:2349)
MemoryError
---------

please note that i modified ./w3af_console
by setting the first line to:
#!/usr/bin/env python2.6

since my default python executable is:
python --version
Python 3.2.3

any idea?

cheers.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
W3af-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/w3af-users

Reply via email to