hvqzao / sqli-testbed

SQL injection testbed designed for sqlmap practice (MySQL backend)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sqli-testbed

SQL injection testbed designed for sqlmap practice (MySQL backend)

Usage

  1. Clone repository:
cd /var/www/html ; git clone https://github.com/hvqzao/sqli-testbed sqli
  1. Change password:
newpass=`apg -M NCL -m 12 -n 1` ; echo -e "New password: $newpass\nPress Enter to proceed, ^C to cancel." ; read ; sed -i "s/zoacUtOvee/$newpass/g" index.php
  1. Setup MySQL (commands included in index.php)

  2. Configure "Setup", "Drop" and "Filter" sections (uncomment appropriate entries in index.php)

  3. Goal: Dump table with user passwords

Union based: http://127.0.0.1/sqli/?u=1

Boolean based: http://127.0.0.1/sqli/?b=1

Example use: https://www.youtube.com/watch?v=KSiS5c83-y0

License

MIT License

About

SQL injection testbed designed for sqlmap practice (MySQL backend)

License:MIT License


Languages

Language:PHP 100.0%