SimpleHTTPServerWithUpload icon indicating copy to clipboard operation
SimpleHTTPServerWithUpload copied to clipboard

an arbitrary file upload vulnerability

Open lomo5 opened this issue 1 year ago • 1 comments

Based on the description of this article , it is suggested that the parameter re.findall() at line 127 be changed.Change to: fn = re.findall(r'Content-Disposition.*name="file"; filename="([^\/]*)"', line)

lomo5 avatar Jul 23 '24 07:07 lomo5

Based on the description of this article , it is suggested that the parameter re.findall() at line 127 be changed.Change to: fn = re.findall(r'Content-Disposition.*name="file"; filename="([^\/]*)"', line)

line should be changed into line.decode() since it is a byte-like object.

red78massive1573 avatar Mar 03 '25 04:03 red78massive1573