Anirban, On Thu, Mar 26, 2009 at 8:11 PM, Anirban Banerjee <[email protected]> wrote: > Dear Andres, > I could not clearly get what you meant by the > console_session :-). I have attached the contents of my test.w3af file > and the commands I used below. > > =======commands used==== > ../w3af_console -s ./test.w3af > Failed to open file : ./test.w3af > > ======================== > > =======test.w3af======== > # internal testing > http-settings > set userAgent USERAGENT > back > plugins > output console,htmlFile > output > output config htmlFile > set fileName PATH/FNAME > back > output config htmlFile > set httpFileName PATH/FNAME > back > > audit all > audit > > discovery webSpider, wsdlFinder, userDir > discovery > back > > target > set target http://TARGET > back > start > exit > ================================= > > Hope this is of some help.
Right after executing "./w3af_console -s ./test.w3af" is you run "head ./test.w3af" you get this?: # internal testing http-settings set userAgent USERAGENT back plugins output console,htmlFile output output config htmlFile set fileName PATH/FNAME back Also an important question, could you please tell me what OS, w3af version, python version you are using? PS: Please don't use top posting. Use inline. > -A > > On Thu, 2009-03-26 at 19:59 -0300, Andres Riancho wrote: >> Anirban, >> >> On Thu, Mar 26, 2009 at 6:47 PM, Anirban Banerjee <[email protected]> >> wrote: >> > Hello all, >> > While playing around with w3af it seems to me that there might >> > be a slight issue with the way relative path(s) to input file(s) are >> > being handled. For example, I tried >> > >> > u...@test# w3af_console -s ./test.w3af >> > and got >> > Failed to open file : ./test.w3af >> > >> > even though the file is present. When I replace the ./ with the absolute >> > path things work fine :-). This issue is hardly a problem at all, but >> > might be good to include changes which can handle these kinds of >> > relative paths too. Of course, being a relative n00b at w3af, I might >> > have overlooked flags which can do this :-D >> >> hmmm, it works for me, could you please send us a complete copy+paste >> of the console session? Thanks! =) >> >> Cheers, >> >> > Cheers, >> > -a >> > >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > _______________________________________________ >> > W3af-users mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/w3af-users >> > >> >> >> > > > -- Andrés Riancho http://www.bonsai-sec.com/ http://w3af.sourceforge.net/ ------------------------------------------------------------------------------ _______________________________________________ W3af-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/w3af-users
