README.md in owasp_zap-0.0.92 vs README.md in owasp_zap-0.0.93
- old
+ new
@@ -26,11 +26,12 @@
require 'owasp_zap'
include OwaspZap
- z = Zap.new :target=>'http://xxx.xxx.xxx' #create new Zap instance with default params
- z = Zap.new :target=>'http://yyy.yyy.yyy', :zap=>"/usr/share/owasp-zap/zap.sh" #if you got my obs package
+ z = Zap.new :target=>'http://xxx.xxx.xxx' # create new Zap instance with default params
+ z = Zap.new :target=>'http://yyy.yyy.yyy', :zap=>"/usr/share/owasp-zap/zap.sh" # if you got my obs package
+ z = Zap.new :output=>'logfile.txt' # it will log the stdout log from Zap Proxy to a file
z.start # start interactive
# TODO
# document it further :)
z.start :daemon=>true # start in daemon mode
z.shutdown # stop the proxy