發現

請求包隨意,回應包資訊如下:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Fri, 17 Apr 2020 03:09:15 GMT
Connection: close
Content-Length: 43251
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
...
特征:
# 回應頭有這4個欄位
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
關閉options方案
關閉options得根據服務器使用的WEB容器種類來決定方法,下面列舉主流的,
-
ngixn 參考:
https://blog.csdn.net/doIt999/article/details/51160871 -
tomcat 參考:
https://blog.csdn.net/IOSWEB/article/details/81487866
https://blog.csdn.net/hzygcs/article/details/88527763 -
iis 參考:
http://www.2cto.com/article/201209/157201.html
https://www.cnblogs.com/johnblogs/p/8854929.html
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/24515.html
標籤:其他
上一篇:day07 域
