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

时间:2023-03-10 05:35:52
如何实现浏览器向服务器伪造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/

 Request URL:https://www.getwnmp.org/
Request Method:GET
Status Code:304
Remote Address:127.0.0.1:50894 Response Headers
date:Mon, 15 Aug 2016 16:10:10 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"
referer:https://www.google.com.hk/
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 :  wnmp

发问:

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