Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

河海大学5.2.1D版config文件 #342

Open
DobbyZhu opened this issue Sep 3, 2019 · 7 comments
Open

河海大学5.2.1D版config文件 #342

DobbyZhu opened this issue Sep 3, 2019 · 7 comments

Comments

@DobbyZhu
Copy link

DobbyZhu commented Sep 3, 2019

server = '172.17.0.5'
username=''
password=''
CONTROLCHECKSTATUS = '\x20'
ADAPTERNUM = '\x03'
host_ip = '10.98.36.234'
IPDOG = '\x01'
host_name = 'GILIGILIEYE'
PRIMARY_DNS = '114.114.114.114'
dhcp_server = '10.98.0.1'
AUTH_VERSION = '\x1d\x00'
mac = 0x001cb3c43e18
host_os = 'NOTE7'
KEEP_ALIVE_VERSION = '\xdc\x02'
ror_version = False

@LinusWang01
Copy link

贵校马上要放弃DrCOM认证方式了

@Xiderowg
Copy link

Xiderowg commented Sep 3, 2019

贵校马上要放弃DrCOM认证方式了

计信院大佬么,本部学生宿舍已经换成集成Web认证了,那个比DRCOM好搞多了,用户名密码Post过去就可以了。

@JamesPei0916
Copy link

JamesPei0916 commented Sep 3, 2019 via email

@Xiderowg
Copy link

Xiderowg commented Sep 3, 2019

Web怎么post? Xider notifications@github.com 于2019年9月3日周二 下午2:42写道:

贵校马上要放弃DrCOM认证方式了 计信院大佬么,本部学生宿舍已经换成集成Web认证了,那个比DRCOM好搞多了,用户名密码Post过去就可以了。 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#342?email_source=notifications&email_token=AKDD23AW4ON6IODUXDUAMB3QHYBOLA5CNFSM4ITCEXVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5XFZJI#issuecomment-527326373>, or mute the thread https://github.com/notifications/unsubscribe-auth/AKDD23DYY22673CYUSRI3WLQHYBOLANCNFSM4ITCEXVA .

河海大学用的集成Web认证不是哆点的哈,是学校自建的平台,如果你问的是河海Web认证流程的话,我前几天抓了个包粗略地看了一下,GET一个URL获得参数以后POST结合明文账户密码就大致OK了,没细看,可能流程会更复杂一点。

@JamesPei0916
Copy link

JamesPei0916 commented Sep 3, 2019 via email

@DobbyZhu
Copy link
Author

Web怎么post? Xider notifications@github.com 于2019年9月3日周二 下午2:42写道:

贵校马上要放弃DrCOM认证方式了 计信院大佬么,本部学生宿舍已经换成集成Web认证了,那个比DRCOM好搞多了,用户名密码Post过去就可以了。 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#342?email_source=notifications&email_token=AKDD23AW4ON6IODUXDUAMB3QHYBOLA5CNFSM4ITCEXVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5XFZJI#issuecomment-527326373>, or mute the thread https://github.com/notifications/unsubscribe-auth/AKDD23DYY22673CYUSRI3WLQHYBOLANCNFSM4ITCEXVA .

河海大学用的集成Web认证不是哆点的哈,是学校自建的平台,如果你问的是河海Web认证流程的话,我前几天抓了个包粗略地看了一下,GET一个URL获得参数以后POST结合明文账户密码就大致OK了,没细看,可能流程会更复杂一点。

大神,希望出个教程,教学区也改成WEB认证了

@Xiderowg
Copy link

目前的WEB认证我觉得没有继续做一个客户端的必要了吧。首先,没有路由器、WIFI检测,其次,WEB认证提供了无感认证功能,连网即认证,已经能做到无缝连接网络了。如果是想多终端登录的话,那倒是值得研究一下。

如果有想了解WEB登录流程的同学,我简单说一下吧。

登录界面上的queryString很容易获得,随便GET一个网页一步步跟着304走就能拿到。

/eportal/interface/index_files/pc/login_bch.js

是登陆按钮实现的具体代码,其中包含了如何构造出登录函数使用的参数等。

/eportal/interface/index_files/js/AuthInterFace.js

其中包含了登录逻辑的函数,其中密码加密传输的部分在

/eportal/interface/index_files/js/RSA.js

但目前可以不用考虑这个,目前密码都是明文传输的。

此外,在用户名文本框onchange后,会向

/eportal/userV2.do?method=getServices

发送一个POST Request,登陆需要的service参数可以从这里拿到。

目前系统还在做调整,上面这些随时可能发生变化,仅供参考哈。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants