Skip to content

my implementation of a vulnerable web application in php to practice sql injection

License

Notifications You must be signed in to change notification settings

tatumroaquin/the-gadget-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Gadget Shop

13/05/2022

gadget-shop

Description

A simple web application designed to be vulnerable to all kinds of SQL attacks. It is not safe to deploy this in any production server, use it at your own risk. I am not responsible for any damages that you might experience.

Instructions

  1. Install PHP 7.4.29
  • sudo apt install php7.4 php7.4-mysql php7.4-cli
  1. Install MySQL 8.0
  • sudo apt mysql-server
  1. Initialise the MySQL database
  • sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf
# append the following to the [mysqld] section excluding this comment
[mysqld]
secure_file_priv = ""
  • sudo mysql < db/init_db.sql
  1. Run the application
cd sql-injection-php
php -S localhost:5000

technologies used

bootstrap mysql php

About

my implementation of a vulnerable web application in php to practice sql injection

Topics

Resources

License

Stars

Watchers

Forks

Languages