seemanta, On Fri, May 29, 2009 at 9:37 AM, seemanta patnaik <seemantapatn...@yahoo.co.in> wrote: > Hello Everybody, > > I have a requirement to crawl a website from my base existing > software(program) and to push the output into an xml file. Please let me > know if there is any API on w3af which can be called from my base program > for crawling a website.
Nop, > Alternatively I wrote the following batch script & called it from my base > program (platform- w3af version 1.0-rc2 on Windows XP Professional OS):- > > plugins > discovery webSpider > output console, textFile, xmlFile > output config console > set verbose True > back > output config textFile > set verbose True > set fileName result2.txt > back > output config xmlFile > set fileName result2.xml > back > back > target > set target <URL> > back > start > > On executing the above w3af script it was observed that both textFile > (result2.txt) & xmlFile (result2.xml) are created. However result2.xml > contains no data while textFile contains the required output. I have already > tried various options but still facing the same problem. Are you waiting until the end of the w3af process? I think that the xml file is created in memory, and then written all at the end. > > > Please let me if i am missing something in the script. I don't think so, > > > Thanks, > > Seemanta > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > 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/ ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ W3af-develop mailing list W3af-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/w3af-develop