Git Product home page Git Product logo

sqli-vulnerability-exploitation's Introduction

SQL Injection Exploit

This Python script demonstrates an SQL injection exploit. It exploits a vulnerability in a target API endpoint to retrieve sensitive information by injecting malicious SQL queries.

Usage

  1. Ensure that Python3 is installed on your system.
  2. Install the required dependencies by running the following command:
pip install requests
  1. Open the sql-inject.py file and replace the IP address (10.10.10.10) in the URL with the target API endpoint.
  2. Run the script using the following command:
python3 sql-inject.py

The script will execute the exploit and display the results.

Demo:

image

Disclaimer

USE AT YOUR OWN RISK! This script is provided for educational purposes only. It is essential to obtain proper authorization before conducting any security testing on systems you do not own. The author and OpenAI disclaim any responsibility for misuse or damage caused by this script.

Features

  • Exploits an SQL injection vulnerability in the target API endpoint.
  • Retrieves sensitive information by injecting malicious SQL queries.
  • Implements a simple retry mechanism to bypass Web Application Firewalls (WAFs).
  • Discovers the target domain and Domain SID using UNION-based SQL injection.
  • Enumerates user accounts associated with the Domain SID.
  • Utilizes hexadecimal encoding and Unicode escape sequences for payload injection.

Limitations

  • This script assumes a specific vulnerability and may not work against all SQL injection scenarios.
  • It is designed for educational purposes and may require modifications for use in real-world scenarios.
  • Use with caution and only on systems where you have proper authorization.

Credits

This script was created by David Forsythe.

sqli-vulnerability-exploitation's People

Contributors

thesinghsec avatar

Watchers

 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.