看到别人有一个产品,里面貌似嵌入了一个ASP的服务器,仔细抓包看了里面数据,好奇这个方案需要了解什么知识才能完成!想以后实现类似的项目!!!下面是一些抓包的数据,求能看懂的大神讲解一下, 谢谢!!
抓包数据--》
PC请求:
POST /password.asp HTTP/1.1
Host: 192.168.2.234
Connection: keep-alive
Content-Length: 22
Cache-Control: no-cache
Origin: file://
If-Modified-Since: 0
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.31 Safari/537.36
Content-Type: text/xml
Accept: */*
Accept-Encoding: gzip,deflate
Accept-Language: en-us,en
XXXX=0000&end=END
设备回复:
HTTP/1.1 200 OK
Server: XXXWebserver
Content-type: text/plain
Connection: close
Content-Length: 14
password=pw_ok
PC请求:
GET /config.xml HTTP/1.1
Host: 192.168.2.234
Connection: keep-alive
Cache-Control: no-cache
If-Modified-Since: 0
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.31 Safari/537.36
Content-Type: text/xml
Accept: */*
Accept-Encoding: gzip,deflate
Accept-Language: en-us,en
设备回复:
HTTP/1.1 200 OK
Server: LightWebserver
Content-type: text/xml
Connection: close
Content-Length: 1518
<?xml version="1.0" encoding="UTF-8"?>
<!----->
<root>
<config>
<devName>XXX</devName>
<projectName>NEX Lighting Control</projectName>
.........
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>