Sha256: 651e9c6bb23a442a875a0762924ab0b15d7874284ad412f85dcf5112c0838d81

Contents?: true

Size: 1.34 KB

Versions: 3

Compression:

Stored size: 1.34 KB

Contents

# OwaspZap


A ruby client to access the HTTP API from Zap Proxy (http://code.google.com/p/zaproxy)

if you need a rpm, check it here: https://build.opensuse.org/package/show/home:vpereirabr/owasp-zap

[![Build Status](https://travis-ci.org/vpereira/owasp_zap.png?branch=master)](https://travis-ci.org/vpereira/owasp_zap)
[![Code Climate](https://codeclimate.com/github/vpereira/owasp_zap.png)](https://codeclimate.com/github/vpereira/owasp_zap)

## Installation

Add this line to your application's Gemfile:

    gem 'owasp_zap'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install owasp_zap

## Usage

    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 :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

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
owasp_zap-0.0.95 README.md
owasp_zap-0.0.94 README.md
owasp_zap-0.0.93 README.md