Skip to content

script that uses a list of common API endpoints and payloads to fuzz test an API for vulnerabilities. This script should automate sending various payloads to API endpoints and identify potential issues like SQL injection, cross-site scripting (XSS), and other security vulnerabilities.

Notifications You must be signed in to change notification settings

tadash10/API-Fuzzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API-Fuzzer

script that uses a list of common API endpoints and payloads to fuzz test an API for vulnerabilities. This script should automate sending various payloads to API endpoints and identify potential issues like SQL injection, cross-site scripting (XSS), and other security vulnerabilities.

API Fuzzer - Security Testing Tool

Overview

API Fuzzer is a Python script designed for security testing of APIs. It automates sending various payloads to API endpoints and identifies potential vulnerabilities. Please note that this tool should only be used on systems for which you have explicit authorization to test, and it is intended for educational purposes only. Evoid legal troubles.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/api-fuzzer.git
    cd api-fuzzer
    

(Optional) Create a virtual environment to isolate dependencies:

bash

python -m venv venv source venv/bin/activate # On Windows, use venv\Scripts\activate

Install the required dependencies using pip:

bash

pip install -r requirements.txt

Usage

Run the API Fuzzer script with the desired options. Here are some common usage examples:

    To analyze API responses for security vulnerabilities:

    bash

python api_fuzzer.py --analyze-responses

To perform concurrent requests for performance testing:

bash

python api_fuzzer.py --concurrency-testing

To test authentication mechanisms with valid and invalid credentials:

bash

python api_fuzzer.py --auth-testing

To test session management with a session cookie:

bash

python api_fuzzer.py --session-management

To test parameterized payloads for security vulnerabilities:

bash

    python api_fuzzer.py --parameterized-payloads

Customize the script by modifying the configuration options in the api_fuzzer.py file.

Review the script's output for findings and potential vulnerabilities.

Configuration

You can configure the API Fuzzer by modifying the following options in the api_fuzzer.py script:

api_endpoints: List of API endpoints to test.
payloads: List of payloads for security testing.
base_url: Base URL of the target API.
Additional options such as request headers, timeouts, and verbosity level.

Disclaimer

This tool is provided for educational purposes only. Use it responsibly and ensure that you have proper authorization to test the target system. Unauthorized testing can have legal and ethical implications. License

This project is licensed under the MIT License.

About

script that uses a list of common API endpoints and payloads to fuzz test an API for vulnerabilities. This script should automate sending various payloads to API endpoints and identify potential issues like SQL injection, cross-site scripting (XSS), and other security vulnerabilities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages