资源简介


资源截图

代码片段和文件信息

import requests
url=‘http://localhost/upload_json.ashx‘
files = {‘imgFile‘: (“outfile.png“ open(r‘outfile.png‘ ‘rb‘)“image/png“)}
str=‘globaluid=623098236a204be6849609af1b8f0035; Hm_lvt_50759d39fd0ed20d2b93fb54bc947a4e=1575414813%2C1575510024%2C1575593940%2C1575593952; bdshare_firstime=1575632220046; Hm_lpvt_50759d39fd0ed20d2b93fb54bc947a4e=1575593952; ASP.NET_SessionId=en4dnb14r2g24o3x2d3c0rfo; .ASPXAUTH=742D6A7D9FB64CBBB01446FF333DAD4A9CA23AEEE75EADF14EDD41F5F481CB661AD21CECA015B9DD2C652EC7C520A13F2D7FDB464E35C80E052F911BF6BEF5D6DE43D215BC39FA9AFAA85825CED9EE16FA311BF8C1775883A6920DFEEE6CF925CE4345D47488A64D2E0E615F10F2A9DCD8DE78928F24CB1632DCAEBF79B81DD45F6AAD3C7F9C2F437A5437BF20247F1D; Hm_lvt_50759d39fd0ed20d2b93fb54bc947a4e=1575414813%2C1575510024%2C1575593940%2C15755939521576213136; Hm_lpvt_50759d39fd0ed20d2b93fb54bc947a4e=1576213136‘;
cookies = dict(x.split(“=“) for x in str.split(“;“))
r=requests.post(urlfiles=filescookies=cookies);
if r.content.decode().find(‘/atta

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        1057  2019-12-13 14:00  postfile.py
     文件        2491  2019-12-13 14:00  upload_json.ashx
     文件       84621  2019-12-13 13:48  outfile.png

评论

共有 条评论