测试账号密码 加密模式 1
18011210338 +
015871 -
测试2
1601120383
mimaHENFuza
打开网页
手机端
http://10.255.44.33/srun_portal_phone.php?ac_id=1&
电脑端
http://10.255.44.33/srun_portal_pc.php?ac_id=1&
游览器发出请求
GET http://10.255.44.33/srun_portal_pc.php?ac_id=1& HTTP/1.1 Host: 10.255.44.33 Connection: keep-alive Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 Accept-Encoding: gzip, deflate Accept-Language: zh-CN,zh;q=0.9
收到回应
HTTP/1.1 200 OK Server: nginx/1.8.0 Date: Sun, 09 Sep 2018 13:55:40 GMT Content-Type: text/html; charset=utf-8 Transfer-Encoding: chunked Connection: close X-Powered-By: PHP/5.5.23 1f36 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>登录</title>
-------------------------------------------------------
输入账号密码
发出响应
POST http://10.255.44.33/srun_portal_pc.php HTTP/1.1 Host: 10.255.44.33 Connection: keep-alive Content-Length: 93 Cache-Control: max-age=0 Origin: http://10.255.44.33 Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 Referer: http://10.255.44.33/srun_portal_pc.php?ac_id=1& Accept-Encoding: gzip, deflate Accept-Language: zh-CN,zh;q=0.9 action=login&ac_id=1&user_ip=&nas_ip=&user_mac=&url=&username=1601120383&password=mimaHENFuza
收到
HTTP/1.1 200 OK Server: nginx/1.8.0 Date: Sun, 09 Sep 2018 13:58:07 GMT Content-Type: text/html; charset=utf-8 Transfer-Encoding: chunked Connection: close X-Powered-By: PHP/5.5.23 1f36 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>登录</title>