如何实现浏览器向服务器伪造refer?

Request URL:https://www.getwnmp.org/
Request Method:GET
Status Code:304 
Remote Address:45.55.134.251:443

Response Headers
date:Mon, 15 Aug 2016 16:08:20 GMT
etag:"5786713f-ef5"
last-modified:Wed, 13 Jul 2016 16:50:07 GMT
server:nginx
status:304
strict-transport-security:max-age=31536000; includeSubdomains; preload

Request Headers
:authority:www.getwnmp.org
:method:GET
:path:/
:scheme:https
accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
accept-encoding:gzip, deflate, sdch, br
accept-language:en-US,en;q=0.8,zh-CN;q=0.6,zh;q=0.4
cache-control:max-age=0
if-modified-since:Wed, 13 Jul 2016 16:50:07 GMT
if-none-match:W/"5786713f-ef5"
upgrade-insecure-requests:1
user-agent:Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

//address bar : https://www.getwnmp.org/

 1 Request URL:https://www.getwnmp.org/
 2 Request Method:GET
 3 Status Code:304 
 4 Remote Address:127.0.0.1:50894
 5 
 6 Response Headers
 7 date:Mon, 15 Aug 2016 16:10:10 GMT
 8 etag:"5786713f-ef5"
 9 last-modified:Wed, 13 Jul 2016 16:50:07 GMT
10 server:nginx
11 status:304
12 strict-transport-security:max-age=31536000; includeSubdomains; preload
13 
14 Request Headers
15 :authority:www.getwnmp.org
16 :method:GET
17 :path:/
18 :scheme:https
19 accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
20 accept-encoding:gzip, deflate, sdch, br
21 accept-language:en-US,en;q=0.8,zh-CN;q=0.6,zh;q=0.4
22 cache-control:max-age=0
23 if-modified-since:Wed, 13 Jul 2016 16:50:07 GMT
24 if-none-match:W/"5786713f-ef5"
25 referer:https://www.google.com.hk/
26 upgrade-insecure-requests:1
27 user-agent:Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

//address bar :  wnmp

发问:

0-如何实现浏览器向服务器伪造request?

 

posted @ 2016-08-16 00:17  papering  阅读(1857)  评论(0编辑  收藏  举报