Coder Social home page Coder Social logo

Comments (8)

Mmx233 avatar Mmx233 commented on July 18, 2024 1

这很奇怪,我们的深澜版本是一模一样的。建议观察贵校原登录网页是否在登录流程添加了额外的接口或者修改了参数名称

from bitsrunlogingo.

Mmx233 avatar Mmx233 commented on July 18, 2024

请核对meta参数与运营商类型

from bitsrunlogingo.

Alkaidcc avatar Alkaidcc commented on July 18, 2024

请核对meta参数与运营商类型

meta参数根据浏览器 网络中的数据已经核对并修改了,并未找到meta中的enc字段值,并且经修改后重新运行仍然报同样的错误。
在登录状态下运行可以检测到已登录的状态。

from bitsrunlogingo.

Mmx233 avatar Mmx233 commented on July 18, 2024

如果使用的是路由器,请尝试进行一次校时

from bitsrunlogingo.

Mmx233 avatar Mmx233 commented on July 18, 2024

image
这个错误我只在校园网崩溃的时候见过,摸不着头脑(

from bitsrunlogingo.

Mmx233 avatar Mmx233 commented on July 18, 2024

image
env参数确实在请求无法找到,只能在jquery.srun.portal1.js中通过搜索定位,因为都是相同的值所以没写进readme

from bitsrunlogingo.

Alkaidcc avatar Alkaidcc commented on July 18, 2024

找到问题所在了,学校的登录参数和该项目的参数不一样。经过打开浏览器中的网络数据包发现:
image
callback的参数和作者实现的貌似不一致?(多了奇怪的数字和下划线)。项目里的实现貌似是 callback := "jQuery" + timestamp

但是根据报错 login error 来看,问题应该出在登录部分:
image
也许是checksum校验失败导致的。

不过已经找到替代的项目了:https://github.com/Debuffxb/srun-go

感谢❤️!

from bitsrunlogingo.

Mmx233 avatar Mmx233 commented on July 18, 2024

找到问题所在了,学校的登录参数和该项目的参数不一样。经过打开浏览器中的网络数据包发现: image callback的参数和作者实现的貌似不一致?(多了奇怪的数字和下划线)。项目里的实现貌似是 callback := "jQuery" + timestamp

但是根据报错 login error 来看,问题应该出在登录部分: image 也许是checksum校验失败导致的。

不过已经找到替代的项目了:https://github.com/Debuffxb/srun-go

感谢❤️!

看了下,确实是chksum算法不一样

https://github.com/Debuffxb/srun-go/blob/2737f6903b3b936bcd66abb6417974f7725fc8c6/main.go#L49

G.EncryptedInfo = "{SRBX1}" + util.Base64(util.XEncode(string(info), G.Token))

from bitsrunlogingo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.