--To view this discussion on the web visit https://groups.google.com/d/msg/zaproxy-users/-/PuBVyNCg4ewJ.
You received this message because you are subscribed to the Google Groups "zaproxy-users" group.
To post to this group, send email to zaprox...@googlegroups.com.
To unsubscribe from this group, send email to zaproxy-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/zaproxy-users?hl=en.
Hi Christofer,
Got those already :)
There a bit about them on the wiki: http://code.google.com/p/zaproxy/wiki/ApiAnt
So the Ant tasks are part of the Java API.
The scripts linked off there explain in comments how to import the tasks into Eclipse.
I'm afraid I dont know how to do that for Netbeans - if you work it out please let me know and I'll add that to the wiki :)
The ZAP API is a simple REST one, so you can drive it directly, using the Java API, Ant tasks or Python API.
They all have the same functionality.
And if you fancy writing an API in any other language I'll be pleased to 'officialize' that ;)
And yes you can run ZAP in headless mode - use the "-daemon" switch from the command line.
To stop a ZAP daemon you need to use the API ;)
You can save the session to a set of files via the API, or access all of the alerts.
Cheers,
Simon
On Thu, Jul 12, 2012 at 5:03 PM, Christofer Huber <christofer.huber@googlemail.com> wrote:
Hello Simon!Thanks for the quick response ;)Now I set up the following configuration (running on Win 7)+ ZAP 1.4.0.1+ Firefox 13 with Selenium Plugin+ Netbeans 7.1 with Ant Plugin+ Selenium Test-Case specified+ ZAP is tracking the traffic on localhostMy next task would also be writting a little build.ant script to start ZAP and all other processes as mentioned in your post. Did you already have a basic script or maybe a resource, where i can find the commands and parameters i need to use in the ant-script to start ZAP, Selenium and the other tools for example :)What i didn't understand right now is how to setup ZAP on a web-server. You wrote that there is a python client, i'm not familiar with python, so i am not sure how the client or the python script can be executed. But would it be possible to run ZAP "headless" on a linux-machine and logging the results into a log-file or something?Thank you and best regards,Christofer--To view this discussion on the web visit https://groups.google.com/d/msg/zaproxy-users/-/PuBVyNCg4ewJ.
You received this message because you are subscribed to the Google Groups "zaproxy-users" group.
To unsubscribe from this group, send email to zaproxy-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/zaproxy-users/-/sbnysxS0m48J.
To unsubscribe from this group, send email to zaproxy-user...@googlegroups.com.
On Thu, Jul 12, 2012 at 5:03 PM, Christofer Huber <christof...@googlemail.com> wrote:
Hello Simon!Thanks for the quick response ;)Now I set up the following configuration (running on Win 7)+ ZAP 1.4.0.1+ Firefox 13 with Selenium Plugin+ Netbeans 7.1 with Ant Plugin+ Selenium Test-Case specified+ ZAP is tracking the traffic on localhostMy next task would also be writting a little build.ant script to start ZAP and all other processes as mentioned in your post. Did you already have a basic script or maybe a resource, where i can find the commands and parameters i need to use in the ant-script to start ZAP, Selenium and the other tools for example :)What i didn't understand right now is how to setup ZAP on a web-server. You wrote that there is a python client, i'm not familiar with python, so i am not sure how the client or the python script can be executed. But would it be possible to run ZAP "headless" on a linux-machine and logging the results into a log-file or something?Thank you and best regards,Christofer--To view this discussion on the web visit https://groups.google.com/d/msg/zaproxy-users/-/PuBVyNCg4ewJ.
You received this message because you are subscribed to the Google Groups "zaproxy-users" group.
To unsubscribe from this group, send email to zaproxy-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/zaproxy-users?hl=en.
--
OWASP ZAP: Toolsmith Tool of the Year 2011
To view this discussion on the web visit https://groups.google.com/d/msg/zaproxy-users/-/sbnysxS0m48J.--
You received this message because you are subscribed to the Google Groups "zaproxy-users" group.
To post to this group, send email to zaprox...@googlegroups.com.
To unsubscribe from this group, send email to zaproxy-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/zaproxy-users?hl=en.
/K start java -jar selenium-server.jar -Dhttp.proxyHost=${zapaddr} -Dhttp.proxyPort=${zapport} -port ${seleniumPort} -multiwindow -htmlSuite [...]
<java jar="${seleniumDir}/selenium-server.jar" fork="true" spawn="true">
<jvmarg value="-Dhttp.proxyHost=${zapaddr}" />
<jvmarg value="-Dhttp.proxyPort=${zapport}" />
<arg line="-port ${seleniumPort} -multiwindow -htmlSuite [...]" />
</java>
user_pref("network.proxy.http", "localhost");
user_pref("network.proxy.http_port", 8080);
user_pref("network.proxy.ssl", "localhost");
user_pref("network.proxy.ssl_port", 8080);
user_pref("network.proxy.type", 1);
-firefoxProfileTemplate 'X:\path\to\dir\with\firefox\profile\'
<property name="firefoxProfileDir" value="X:\path\to\dir\with\firefox\profile\" />
<echo file="${firefoxProfileDir}/prefs.js">
user_pref("network.proxy.http", "${zapaddr}");
user_pref("network.proxy.http_port", ${zapport});
user_pref("network.proxy.ssl", "${zapaddr}");
user_pref("network.proxy.ssl_port", ${zapport});
user_pref("network.proxy.type", 1);
</echo>
<java jar="${seleniumDir}/selenium-server.jar" fork="true" spawn="true">
<arg line="-port ${seleniumPort} -multiwindow -firefoxProfileTemplate '${firefoxProfileDir}' -htmlSuite [...]" />
</java>