Hi Andres & Co,

Had another error pop up today in the w3af_gui:

-------------------
Traceback (most recent call last):
  File "/home/christian/w3af/w3af/core/ui/gtkUi/scanrun.py", line 110,
in _showDesc
    self.kbbrowser.rrV.response.highlight( s, severity )
  File "/home/christian/w3af/w3af/core/ui/gtkUi/reqResViewer.py", line
416, in highlight
    pos = alltext.index(text, pos)
TypeError: expected a character buffer object
-------------------

The issue appeared to stem back to the incorrect call of
addToHighlight() method within plugins/grep/codeDisclosure.py. The
"res" output from the grep call is an object, to get the text from the
object you need to call "res.group()"

I found that be changing lines 108 and 121 from:

------------
v.addToHighlight(res)
------------

to

------------
v.addToHighlight(res.group())
------------

this resolved the problem.

Once again - I'm really enjoying your project and if there are any
other ways that I might be able to help let me know!

Regards,

Christian
-- 
Christian Frichot
e: xnt...@gmail.com
p: 0433 490 117
w: http://un-excogitate.org

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to