0.前言
海康威视主要涉足安防领域,视频监控是其核心业务,客户主要面向政府职能部门,如:公安系统等,曾参与北京奥运会、60年国庆大阅兵和上海世博会的安保工作。
1.请求分析。
1.1 Http请求:Http请求分为 请求方法URI协议/版本、请求头、请求正文。登录用的用户名密码信息不是放在请求URL里面就是放在请求正文里面。
下面以最常见的POST请求与GET请求为例:
post
POST( http://(URL在此隐去)/loginAction.do) HTTP/1.1
Accept: text/html, application/xhtml+xml, image/jxr, /
Referer: http://(URL在此隐去)/
Accept-Language: zh-CN
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; >rv:11.0) like Gecko
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Content-Length: 24
Host: IP在此隐去
Connection: Keep-Alive