东南大学DrCOM网关Web认证报文分析

通过开发者工具捕捉登录过程及认证报文内容,用于进行报文分析,开发HTTP协议登陆/退出程序。

东南大学DrCOM网关Web认证报文分析

1 Login

1.1 General

1
2
3
4
5
Request URL: https://w.seu.edu.cn:801/eportal/?c=Portal&a=login&callback=dr1003&login_method=1&user_account=%2C0%2C220184347&user_password=<password_plaintext>&wlan_user_ip=121.248.51.170&wlan_user_ipv6=&wlan_user_mac=000000000000&wlan_ac_ip=&wlan_ac_name=jlh_me60&jsVersion=3.3.2&v=2505
Request Method: GET
Status Code: 200 OK
Remote Address: 202.119.25.2:801
Referrer Policy: no-referrer-when-downgrade

1.2 Reponse Headers

1.2.1 view parsed

1
2
3
4
5
6
7
8
9
10
11
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/html
Date: Sat, 09 Nov 2019 08:11:39 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Server: OMPXY/1.4.7
Set-Cookie: _SpLangCookies=zh_CN; expires=Sun, 08-Nov-2020 08:11:39 GMT; path=/; domain=w.seu.edu.cn:801
Transfer-Encoding: chunked
X-Powered-By: PHP/5.4.45

1.2.2 view source

1
2
3
4
5
6
7
8
9
10
11
12
HTTP/1.1 200 OK
Server: OMPXY/1.4.7
Date: Sat, 09 Nov 2019 08:11:39 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.4.45
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: _SpLangCookies=zh_CN; expires=Sun, 08-Nov-2020 08:11:39 GMT; path=/; domain=w.seu.edu.cn:801
Content-Encoding: gzip

1.3 Request Headers

1.3.1 view parsed

1
2
3
4
5
6
7
8
9
10
11
12
13
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cache-Control: no-cache
Connection: keep-alive
Cookie: <private>
DNT: 1
Host: w.seu.edu.cn:801
Pragma: no-cache
Referer: https://w.seu.edu.cn/a79.htm?UserIP=121.248.51.170&wlanacname=jlh_me60
Sec-Fetch-Mode: no-cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36

1.3.2 view source

1
2
3
4
5
6
7
8
9
10
11
12
13
14
GET /eportal/?c=Portal&a=login&callback=dr1003&login_method=1&user_account=%2C0%2C220184347&user_password=Sjy626262seu&wlan_user_ip=121.248.51.170&wlan_user_ipv6=&wlan_user_mac=000000000000&wlan_ac_ip=&wlan_ac_name=jlh_me60&jsVersion=3.3.2&v=2505 HTTP/1.1
Host: w.seu.edu.cn:801
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
DNT: 1
Accept: */*
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: no-cors
Referer: https://w.seu.edu.cn/a79.htm?UserIP=121.248.51.170&wlanacname=jlh_me60
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: <private>

1.4 Query String Parameters

1.4.1 view parsed

1
2
3
4
5
6
7
8
9
10
11
12
13
c: Portal
a: login
callback: dr1003
login_method: 1
user_account: ,0,220184347
user_password: <password_plaintext>
wlan_user_ip: 121.248.51.170
wlan_user_ipv6:
wlan_user_mac: 000000000000
wlan_ac_ip:
wlan_ac_name: jlh_me60
jsVersion: 3.3.2
v: 2505

1.4.2 view source

1
c=Portal&a=login&callback=dr1003&login_method=1&user_account=%2C0%2C220184347&user_password=<password_plaintext>&wlan_user_ip=121.248.51.170&wlan_user_ipv6=&wlan_user_mac=000000000000&wlan_ac_ip=&wlan_ac_name=jlh_me60&jsVersion=3.3.2&v=2505

2 Logout

2.1 General

1
2
3
4
5
Request URL: https://w.seu.edu.cn:801/eportal/?c=Portal&a=unbind_mac&callback=dr1003&user_account=220184347&wlan_user_mac=309C23F71373&wlan_user_ip=121.248.49.136&jsVersion=3.3.2&v=2974
Request Method: GET
Status Code: 200 OK
Remote Address: 202.119.25.2:801
Referrer Policy: no-referrer-when-downgrade

2.2 Reponse Headers

2.2.1 view parsed

1
2
3
4
5
6
7
8
9
10
11
12
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/html
Date: Sat, 09 Nov 2019 08:02:21 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Server: OMPXY/1.4.7
Set-Cookie: _SpLangCookies=zh_CN; expires=Sun, 08-Nov-2020 08:02:21 GMT; path=/; domain=w.seu.edu.cn:801
Transfer-Encoding: chunked
X-Powered-By: PHP/5.4.45

2.2.2 view source

1
2
3
4
5
6
7
8
9
10
11
12
13
HTTP/1.1 200 OK
Server: OMPXY/1.4.7
Date: Sat, 09 Nov 2019 08:02:21 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.4.45
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: _SpLangCookies=zh_CN; expires=Sun, 08-Nov-2020 08:02:21 GMT; path=/; domain=w.seu.edu.cn:801
Content-Encoding: gzip

2.3 Request Headers

2.3.1 view parsed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cache-Control: no-cache
Connection: keep-alive
Cookie: <private>
DNT: 1
Host: w.seu.edu.cn:801
Pragma: no-cache
Referer: https://w.seu.edu.cn/
Sec-Fetch-Mode: no-cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36

2.3.2 view source

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
GET /eportal/?c=Portal&a=unbind_mac&callback=dr1003&user_account=220184347&wlan_user_mac=309C23F71373&wlan_user_ip=121.248.49.136&jsVersion=3.3.2&v=2974 HTTP/1.1
Host: w.seu.edu.cn:801
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
DNT: 1
Accept: */*
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: no-cors
Referer: https://w.seu.edu.cn/
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: <private>

2.4 Query String Parameters

2.4.1 view parsed

1
2
3
4
5
6
7
8
9
c: Portal
a: unbind_mac
callback: dr1003
user_account: 220184347
wlan_user_mac: 309C23F71373
wlan_user_ip: 121.248.49.136
jsVersion: 3.3.2
v: 2974

2.4.2 view source

1
2
c=Portal&a=unbind_mac&callback=dr1003&user_account=220184347&wlan_user_mac=309C23F71373&wlan_user_ip=121.248.49.136&jsVersion=3.3.2&v=2974