[W3af-users] pass in target

2014-07-09 Thread Geoff Galitz


Hi.

I'm looking for the best way to pass in a target from the shell to
w3af_console.  Recommendations?  I have a script file that I want to
iterate over numerous hosts which are generated dynamically.


-G



--
Geoff Galitz
http://www.galitz.org


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
W3af-users mailing list
W3af-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-users


Re: [W3af-users] pass in target

2014-07-09 Thread Andres Riancho
Geoff,

I remember answering this question before, and a small thread
about this (not sure if it was in the mailing list). The best solution
for me is to use some kind of templating system to generate the
scripts. Example:

// template.w3af file
# plugin configuration
target
set target http://__TARGET__/
back

// generator.py
for target in TARGET_LIST:
template = file('template.w3af').read()
template = template.replace('__TARGET__', target)
file('%s.w3af', 'w').write(template)

And then you run the generated scripts.

Regards,

On Wed, Jul 9, 2014 at 6:20 AM, Geoff Galitz ge...@galitz.org wrote:


 Hi.

 I'm looking for the best way to pass in a target from the shell to
 w3af_console.  Recommendations?  I have a script file that I want to
 iterate over numerous hosts which are generated dynamically.


 -G



 --
 Geoff Galitz
 http://www.galitz.org


 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft
 ___
 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

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
W3af-users mailing list
W3af-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-users