https://code-projects.org/online-shoe-store-using-php-source-code/
/details2.php - $id
paremeter.
The SQL Injection vulnerability exists in diretory /details2.php
where this function query the product id parameter into the SQL statement without any restriction, validation or sanitization. An attacker could exploit this vulnerability to get unauthorized access to the server database, or even perform Remote Code Execution (RCE).
<?php
if(isset($_GET['id'])){
$id = $_GET['id'];
$query = $conn->query("SELECT * FROM product WHERE product_id = '$id' ");
$row = $query->fetch_array();
?>
Enumerate all databases with sqlmap: