Sergey, On Mon, Jan 19, 2015 at 8:12 AM, Sergey <w...@kovalev.com.ru> wrote: > Hi, everyone. > > I'm trying to execute w3af scans of multiple domains in parallel with > multiprocessing package http://pastebin.com/ha2K4NCP > > This script fails with AssertionError: No calls to SQLiteDBMS can be > made after stop(). > http://pastebin.com/G7vS63TG
There are parts of w3af which are run at module import (things such as the default database singleton), so you might want to move the line "from w3af.core.controllers.w3afCore import w3afCore" inside the multiprocessing target function > If I switch to multiprocessing.dummy (threads), script seems to work. Yes, that's because that uses threads, which share the same singleton > But I want to execute scans in isolation, that's why I'm trying to use > processes not threads. > > Is there some issue which prevents such usage of w3af library? > > And btw why does w3af forbid scanning of multiple domains? "You > specified more than one target domain: ... And w3af can only scan one > target domain at a time." Yes, this is an architectural decision. If you want to discuss this in depth, have good reasons and want to spend time with a pull-request, I might be open to accepting/merging it. > ------------------------------------------------------------------------------ > New Year. New Location. New Benefits. New Data Center in Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > _______________________________________________ > W3af-users mailing list > W3af-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/w3af-users -- Andrés Riancho Project Leader at w3af - http://w3af.org/ Web Application Attack and Audit Framework Twitter: @w3af GPG: 0x93C344F3 ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ W3af-users mailing list W3af-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/w3af-users