Andres, We have already found same workaround but with text log :) In the future we will get on this topic if we will need e.g. to view current status of scan in percent. I mean that in the future we will need deeper process handling.
30.01.2012 21:47, Andres Riancho пишет: > Taras, > > On Wed, Jan 18, 2012 at 10:16 AM, Taras<ox...@oxdef.info> wrote: >> Hi, all! >> >> In our webui we run w3af_console with subprocess.Popen(). >> There is frequent task to stop current scan and save at least partly >> results of it. We use HTML output plugin for it which buffers results to >> make nice HTML at the end. The problem is how to correctly stop such >> scan. Currently we send KILL signal to this process but we lose report >> in this case :( We also tried to send SIGINT but it no always works! >> Some time report is completed but sometimes is not. Especially when w3af >> run more then one mode, e.g. discovery then audit. So what we can do in >> this case? Implement more usable signal handling in w3af. Currently only >> SIGINT is catched because of catching Ctrl-C in w3af_console > > Maybe we could achieve the same goal in a completely different > way? Just thinking out loud but... what about writing w3af's results / > logs / findings to some kind of "on-disk JSON array" as soon as they > are found and have an HTML/JS that will have the format the content > and read the "JSON array"? That way we could write everything to disk > as soon it is found and don't care about crashes, signals, etc. > > Regards, > >> >> >> -- >> Taras >> http://oxdef.info >> >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> W3af-develop mailing list >> W3af-develop@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/w3af-develop > > > -- Taras http://oxdef.info ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ W3af-develop mailing list W3af-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/w3af-develop