终端输入:
代码:
ubuntu@ubuntu:~$ curl http://forum.ubuntu.org.cn -I
HTTP/1.1 200 OK
Server: nginx/1.1.19
Date: Tue, 09 Jun 2015 07:04:08 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Powered-By: PHP/5.3.10-1ubuntu3.18
Set-Cookie: ubuntuforum_u=1; expires=Wed, 08-Jun-2016 07:04:07 GMT; path=/; HttpOnly
Set-Cookie: ubuntuforum_k=; expires=Wed, 08-Jun-2016 07:04:07 GMT; path=/; HttpOnly
Set-Cookie: ubuntuforum_sid=bd8e137aca8e4f0a4fe07d281aed0c57; expires=Wed, 08-Jun-2016 07:04:07 GMT; path=/; HttpOnly
Cache-Control: private, no-cache="set-cookie"
Expires: 0
Pragma: no-cache
Content-Encoding: gzip
Vary: Accept-Encoding
终端输入:
代码:
ubuntu@ubuntu:~$ curl https://forum.ubuntu.org.cn -I
HTTP/1.1 200 OK
Server: nginx/1.1.19
Date: Tue, 09 Jun 2015 07:04:42 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Powered-By: PHP/5.3.10-1ubuntu3.18
Set-Cookie: ubuntuforum_u=1; expires=Wed, 08-Jun-2016 07:04:41 GMT; path=/; HttpOnly
Set-Cookie: ubuntuforum_k=; expires=Wed, 08-Jun-2016 07:04:41 GMT; path=/; HttpOnly
Set-Cookie: ubuntuforum_sid=c0371a60157b76e2235989f60009b6dc; expires=Wed, 08-Jun-2016 07:04:41 GMT; path=/; HttpOnly
Cache-Control: private, no-cache="set-cookie"
Expires: 0
Pragma: no-cache
Content-Encoding: gzip
Vary: Accept-Encoding
问题:
1.用命令:curl
http://forum.ubuntu.org.cn -I,
及命令:curl
https://forum.ubunru.org.cn -I
可以查出服务器,是否被
HTTP劫持(ISP)?
网站:forum.ubuntu.org.cn,有问题么?
2.如果,HTTP劫持,会显示些什么?