Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.52 KB

File metadata and controls

35 lines (27 loc) · 1.52 KB

PowerShell SQL Injection Demo

Overview

This repository contains a PowerShell script (SQLInjectionDemo.ps1) that demonstrates a simulated login to a test website and a SQL injection attempt for educational purposes only. It is intended for use in controlled, authorized environments (e.g., local test servers or vulnerable apps like Damn Vulnerable Web Application (DVWA)).

WARNING: Unauthorized use of this script against any system without explicit permission is illegal and unethical. Misuse may violate laws such as the U.S. Computer Fraud and Abuse Act (CFAA).

Prerequisites

  • PowerShell 5.1 or later
  • A controlled test environment (e.g., local WordPress instance or DVWA)
  • Test credentials for the target system

Usage

  1. Clone the repository:
    git clone https://github.com/hlonip/powershell-sqli-demo.git
  2. Modify SQLInjectionDemo.ps1 to include your test environment’s URL and credentials.
  3. Run the script in PowerShell:
    .\SQLInjectionDemo.ps1

Disclaimer

This script is provided for educational purposes only. The author and contributors are not responsible for any misuse or damage caused by this script. Always obtain explicit permission before testing any system.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss improvements.

Contact