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).
- PowerShell 5.1 or later
- A controlled test environment (e.g., local WordPress instance or DVWA)
- Test credentials for the target system
- Clone the repository:
git clone https://github.com/hlonip/powershell-sqli-demo.git
- Modify
SQLInjectionDemo.ps1to include your test environment’s URL and credentials. - Run the script in PowerShell:
.\SQLInjectionDemo.ps1
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.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please submit a pull request or open an issue to discuss improvements.
- Author: hlonip
- GitHub: https://github.com/hlonip