四川大学本科教务系统选课脚本简析

旧版选课系统服务器已变化,而且不再用于选课,本文只用于技术分享

当时我写在Github上的,懒得再翻译成中文了,将就看吧。(英语水平不高,出现错误欢迎大家在评论区指出)

It is a brief illustration about how to just POST data to the server without browser the webpage to choose course.

Login

POST your ID and your password to this address to login

http://202.115.47.141/loginAction.do
Parameters Value Example
zjh Your School Number 2017123456789
mm Your Password 123456

Select Course

POST the following data to this address to choose course

http://202.115.47.141/xkAction.do

Firstly, post these data as URL parameters

Parameters Value Example
kch Your Course Number 999000000
cxkxh Your Course Index 01
kcm Keep It Empty
skjs Keep It Empty
kkxsjc Keep It Empty
skxq Keep It Empty
skjc Keep It Empty
pageNumber Do It As Example Do -2
preActionType Do It As Example Do 2
actionType Do It As Example Do 5

Then post these data as URL parameters

Parameters Value Example
kcld Your Course And Your Course Index With A Underline Between Them 999000000_01
preActionType Do It As Example Do 5
actionType Do It As Example Do 9

After that you can use GET method to get the page to check whether you have successfully choose the course.

http://202.115.47.141/xkAction.do
sunyq

sunyq

一个苦逼的程序员,一不小心入了安全的坑,从此再也无法从坑里走出来。每天被大佬按在地上摩擦,希望大佬放过这个简陋的小站,别日了。

1 Comment

  • image

    POST data to the server without [browser] the webpage to choose course==>POST data to the server without [browsing] to choose course

    After that you can use GET method to get the page to check whether you have successfully [choose] the course.==>After that you can use GET method to get the page to check whether you have successfully [chosen] the course.

留下你的评论

*评论支持代码高亮<pre class="prettyprint linenums">代码</pre>

相关推荐

暂无内容!