Andres,

We have verified everything and it looks fine.

Can you please let me know, if w3af, can run in background without console?

I have been asking this because, when I run manually , with all the
configurations with console live, then tool is working perfectly.

But, when I use crontab (which will not have a console), then I am facing
problems.

Please let me know, what can be done to solve this problem.

Thanks,
Sandeep


On Thu, Mar 6, 2014 at 12:51 AM, Andres Riancho <andres.rian...@gmail.com>wrote:

> Sandeep,
>
> On Tue, Mar 4, 2014 at 11:27 AM, sandeep kumar bandaru
> <bandarusandeepku...@gmail.com> wrote:
> > Hi,
> >
> > I have written couple of commands to trigger w3af using shell scripting.
> > Below is the same.
> >
> > When I manually run the script, it is triggering w3af and the commands
> > inside the script file are executing.
> >
> > But, when I schedule it through cron job, script is unable to trigger
> w3af
> > itself.
> >
> > Please let me know, how can we automate w3af for scanning our
> applications.
> >
> > Script Lines:
> >
> > var_path="path/to/w3af"
> > w3af_exec_path="$var_path/w3af/w3af_console"
> >
> > w3af_script_path="$var_path/w3af/scripts/w3af-basic-script.w3af"
> >
> > w3af_exec_command="$w3af_exec_path -s $w3af_script_path"
> >
> > exec $w3af_exec_command
> >
> > echo "Done Executing W3af Security Scan"
>
> At first sight this doesn't seem to be a w3af issue, if you're able to
> run it outside cron, it should run inside it. It is either a wrong
> path, permission, or a missing environment variable.
>
> Regards,
>
> > Thanks,
> > Sandeep
> >
> >
> ------------------------------------------------------------------------------
> > Subversion Kills Productivity. Get off Subversion & Make the Move to
> > Perforce.
> > With Perforce, you get hassle-free workflows. Merge that actually works.
> > Faster operations. Version large binaries.  Built-in WAN optimization and
> > the
> > freedom to use Git, Perforce or both. Make the move to Perforce.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> > _______________________________________________
> > 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
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
W3af-users mailing list
W3af-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-users

Reply via email to