GithubHelp home page GithubHelp logo

blind-sql-injection's Introduction

Blind SQL Injection Data Spoofer

This repository contains solutions to a Computer Security Challenge involving Blind SQL Injection Attack.

The solution includes 3 Python scripts:

  1. tables_spoofer.py: This script spoofs the attacked database's tables and their indexes and writes them into tables.txt.
  2. columns_spoofer.py: This script identifies the columns of specific tables and writes the result into columns.txt.
  3. flag_spoofer.py: This script identifies the attacked user's flag stored in a specific row and column of a table in the database and writes the flag into flag.txt.

Prerequisites

  • Python 3.6+
  • requests library for Python

Usage

Step 1. Modify the session_cookie in each script with your own cookie.

Step 2. Run tables_spoofer.py to find the table indexes and names.

python tables_spoofer.py

The output will be stored in tables.txt.

Step 3. Modify the tables_names variable in columns_spoofer.py with the tables you wish to know the columns of. Then, run the script:

python columns_spoofer.py

The output will be stored in columns.txt.

Step 4. In flag_spoofer.py, modify table_name_where_flag_is, column_name_where_flag_is, username_column_name, and attacked_username according to your needs. Then, run the script:

python flag_spoofer.py

The flag will be stored in flag.txt.

Disclaimer

These scripts are provided for educational purposes only. Unauthorized access to a computer system is illegal, and this repository does not condone or promote such actions.

blind-sql-injection's People

Contributors

engpap 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.