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"

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

Reply via email to