If i want to try a scan without cookies i get this:

TypeError: 'target' is an invalid keyword argument for this function

Traceback (most recent call last):
  File "/opt/.   /w3af/core/controllers/misc/timeout_function.py", line 76, in 
run
    self._result_ = function(*args, **kwds)
  File "/opt/.   /w3af/core/controllers/basePlugin/baseGrepPlugin.py", line 61, 
in grep_wrapper
    self.grep(fuzzableRequest, response)
  File "/opt/.   /w3af/plugins/grep/httpAuthDetect.py", line 151, in grep
    self._find_auth_uri(response)
  File "/opt/.   /w3af/plugins/grep/httpAuthDetect.py", line 186, in 
_find_auth_uri
    documentParser = dpCache.dpc.getDocumentParserFor(response)
  File "/opt/.   /w3af/core/data/parsers/dpCache.py", line 69, in 
getDocumentParserFor
    res = documentParser.documentParser(httpResponse)
  File "/opt/.   /w3af/core/data/parsers/documentParser.py", line 54, in 
__init__
    parser = htmlParser.HTMLParser(httpResponse)
  File "/opt/.   /w3af/core/data/parsers/htmlParser.py", line 51, in __init__
    SGMLParser.__init__(self, http_resp)
  File "/opt/.   /w3af/core/data/parsers/sgmlParser.py", line 73, in __init__
    self._parse(http_resp)
  File "/opt/.   /w3af/core/data/parsers/sgmlParser.py", line 128, in _parse
    parser = etree.HTMLParser(target=self, recover=True)
TypeError: 'target' is an invalid keyword argument for this function




Finished grep_worker for response: <httpResponse | 200 | http://www.xxxxxx.xx/ 
| id:1>
Starting "error500" grep_worker for response: <httpResponse | 200 | 
http://www.xxxxxxx/ | id:1>
Finished grep_worker for response: <httpResponse | 200 | http://www.xxxxxxxx/ | 
id:1>
The target URL: http://wwxxxxxxxxx/ is unreachable because of an unhandled 
exception.
Error description: "'target' is an invalid keyword argument for this function". 
See debug output for more information.
Traceback for this error: Traceback (most recent call last):
  File "/opt/.   /w3af/core/controllers/w3afCore.py", line 511, in _realStart
    get_curr_scope_pages, createFuzzableRequests(response))
  File "/opt/.   /w3af/core/data/request/frFactory.py", line 78, in 
createFuzzableRequests
    dp = dpCache.dpc.getDocumentParserFor(http_resp)
  File "/opt/.   /w3af/core/data/parsers/dpCache.py", line 69, in 
getDocumentParserFor
    res = documentParser.documentParser(httpResponse)
  File "/opt/.   /w3af/core/data/parsers/documentParser.py", line 54, in 
__init__
    parser = htmlParser.HTMLParser(httpResponse)
  File "/opt/.   /w3af/core/data/parsers/htmlParser.py", line 51, in __init__
    SGMLParser.__init__(self, http_resp)
  File "/opt/.   /w3af/core/data/parsers/sgmlParser.py", line 73, in __init__
    self._parse(http_resp)
  File "/opt/.   /w3af/core/data/parsers/sgmlParser.py", line 128, in _parse
    parser = etree.HTMLParser(target=self, recover=True)
TypeError: 'target' is an invalid keyword argument for this function

Called _discoverWorker()
Called _bruteforce()
No URLs found by discovery.
Cleared urllib2 local cache.
Enabling _dnsCache()
Calling join on all daemon threads
Scan finished in 1 second.







________________________________
 From: Adi Mutu <[email protected]>
To: Andres Riancho <[email protected]> 
Cc: "[email protected]" <[email protected]> 
Sent: Saturday, November 26, 2011 3:44 PM
Subject: Re: [W3af-users] error when starting console.
 



Now i finally got it start it (don't know exactly how) but i get another error.
While using option cookieJarFile i get this error:


Error while loading cookiejar file. Description: 'cookies.txt' does not look 
like a Netscape format cookies file


My file looks like this:
www.domain.comFALSE/FALSE1330347788psidc53dd475e1a5dcebcacb31608bf12b07
www.domain.comFALSE/FALSE1322398987confirm-access1

Thanks,





________________________________
 From: Andres Riancho <[email protected]>
To: Adi Mutu <[email protected]> 
Cc: "[email protected]" <[email protected]> 
Sent: Wednesday, November 23, 2011 3:02 PM
Subject: Re: [W3af-users] error when starting console.
 
On Wed, Nov 23, 2011 at 5:57 AM, Adi Mutu <[email protected]> wrote:
>
>
> Hi,
> I get the following error when starting console.
> ./w3af_console
>   File "./w3af_console", line 117
>     rev = 0 if (a == 'HEAD') else -1
>              ^
> SyntaxError: invalid syntax

Looks like something is broken there, did you made any changes? How
did you install w3af?

> Thanks,
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common
 sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> W3af-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/w3af-users
>
>



-- 
Andrés Riancho
Director of Web Security at Rapid7 LLC
Founder at Bonsai Information Security
Project Leader at w3af



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
W3af-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/w3af-users
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
W3af-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/w3af-users

Reply via email to