Skip to content

Latest commit

 

History

History

README.md

Example Scripts for Invision Community SQLi Exploit

This directory contains example scripts demonstrating various use cases and extensions of the main exploit.

Contents

  1. custom_query_example.py - How to extract custom data from the database
  2. batch_testing_example.py - Test multiple targets from a file
  3. proxy_example.py - Use the exploit through a proxy

Prerequisites

All examples require the main exploit dependencies:

pip install -r ../requirements.txt

Usage Examples

1. Custom Query Example

Extract specific data beyond admin credentials:

python custom_query_example.py -u http://target.com/forum/ -q "SELECT version()"

2. Batch Testing Example

Test multiple targets from a file:

# Create targets.txt with URLs (one per line)
echo "http://target1.com/forum/" >> targets.txt
echo "http://target2.com/forum/" >> targets.txt

# Run batch test
python batch_testing_example.py -f targets.txt

3. Proxy Example

Route traffic through a proxy:

python proxy_example.py -u http://target.com/forum/ -p http://127.0.0.1:8080

Customization

These examples are templates. Feel free to modify them for your specific authorized testing needs.

Legal Notice

These scripts are for authorized security testing only. See the main README.md for full disclaimer.