Giter VIP home page Giter VIP logo

blind-sqli-dumper's Introduction

Automated Blind SQLi Data Dumper

Overview

This project is a Python-based tool designed to automate the process of data dumping via blind SQL injections using binary search to narrow down the count of requests. Some example payloads and requests can be found in /examples

Features

  • Easy configuration through payload.txt and request.req
  • Match by status code or response body

Requirements

  • Python 3.x
  • Working payload
  • Working copy of a request to vulnerable page

Installation

  1. Clone the repository: git clone https://github.com/aetuul/blind_dumper.git cd blind_dumper
  2. Install the requited Python libraries pip install -r requirements.txt

Configuration

  1. Configure payload.txt - Replace the value you want to fuzz with the keyword FUZZ2 and the index with FUZZ1
  2. Configure request.req - Easiest way is to copy the exploit request from Burp Suite. Insert the keyword FUZZ into your request where the payload should go

Usage

python3 dump.py -req <path_to_req_file> -target <target_url without endpoint> -payload <path_to_payload_file> -length <data_length> [-mc <http_status_code>] [-mt <response_text>]

Arguments

-req (required): Path to the .req file used for making the requests. -target (required): The target URL. -payload (required): The payload to use with fuzzing values. -length (required): The length of the data you're trying to dump. -mc (optional): HTTP status code to indicate a successful request. -mt (optional): Text in the HTTP response to indicate a successful request.

Example usage

  1. Dump data from the target using the specified request and payload, expecting the data length to be 20 characters and using HTTP status code 500 to identify successful requests python3 dump.py -req request.req -target "https://<target>" -payload payload.txt -length 20 -mc 500
  2. Extract data from the target using the specified request and payload, expecting a data length of 20 characters and identifying successful responses by the keyword "Welcome back" in the HTTP response body python3 dump.py -req request.req -target "https://<target>" -payload payload.txt -length 20 -mt "Welcome back"

Disclaimer

Education purposes only.

blind-sqli-dumper's People

Contributors

aetuul avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.