h0wl / APIFuzzer

Fuzz your application using you Swagger or API Blueprint definition without coding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies Known Vulnerabilities Join the chat at https://gitter.im/API-Fuzzer/Lobby Codacy Badge CII Best Practices Maintainability

APIFuzzer — HTTP API Testing Framework

APIFuzzer reads your API description and step by step fuzzes the fields to validate if you application can cope with the fuzzed parameters. Does not require coding.

Supported API Description Formats

Work in progress

Installation

Fetch the most recent code from GitHub

$ git clone https://github.com/KissPeter/APIFuzzer.git

Install requirements. If you don't have pip installed, then sudo apt-get install python-pip -y

$ pip2.7 install -r APIFuzzer/requirements.txt

Quick Start

Check the help (some of them are not implemented yet):

$ python2.7  fuzzer.py -h
usage: fuzzer.py [-h] -s SRC_FILE [-r REPORT_DIR] [-l LEVEL]
                 [-u ALTERNATE_URL] [-t TEST_RESULT_DST]

API fuzzer configuration

optional arguments:
  -h, --help        show this help message and exit
  -s SRC_FILE, --src_file SRC_FILE
                    API definition file path
  -r REPORT_DIR, --report_dir REPORT_DIR
                    Directory where error reports will be saved, default:
                    /tmp/
  -l LEVEL, --level LEVEL
                    Test deepness: [1,2], higher is the deeper !!!Not
                    implemented!!!
  -u ALTERNATE_URL, --url ALTERNATE_URL
                    Use CLI defined url instead compile the url from the API
                    definition. Useful for testing
  -t TEST_RESULT_DST, --test_report TEST_RESULT_DST
                    JUnit test result xml save path !!!Not implemented!!!

Start fuzzing:

$ python2.7  fuzzer.py -s your_swagger_definition.json -u http://localhost:8080/

About

Fuzz your application using you Swagger or API Blueprint definition without coding

License:MIT License


Languages

Language:Python 100.0%