Christian, On Thu, Sep 3, 2009 at 6:02 AM, Christian Frichot<xnt...@gmail.com> wrote: > Hi Andres & Co,
Hi! > 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. Ahh, excellent! The patch worked fine, I just applied it to the 1.0 branch and to the trunk. Here [0] you can find a detail of what whas changed (your recommendations). > 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! If you've got time, please take a look at the discovery.webSpider plugin, that's working a little to slow in my opinion. It seems that it's requesting URLs more than once, and doing some other non-performant things. If you don't have time, just keep reporting bugs =) Thanks! [0] http://w3af.svn.sourceforge.net/viewvc/w3af?view=rev&revision=3027 > 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 > -- Andrés Riancho Founder, Bonsai - Information Security http://www.bonsai-sec.com/ http://w3af.sf.net/ ------------------------------------------------------------------------------ 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