GithubHelp home page GithubHelp logo

analog-login's Introduction

Analog_Login

CUMT教务系统模拟登录,代码对post数据进行rsa加密后提交到服务器端

import login后继承Loginer父类,依次调用函数获取cookie后即可使用子类self.sessions进行后续操作

脚本中含有成绩获取代码

截止到2018.3.28教务系统版本可用,未来教务系统改版会持续修改代码

2019/8/1

因项目需要实现了Go版本登录代码, 用法同Python库,登录后直接调用Loginer.S。因静态语言类型精度问题,Go的实现版本中用32 bytes一组的循环big integer运算生成RSA公钥

至于原来的Python代码,越看越觉得like piece of shit :) 其实自己实现的hex_base64和那个大数RSA库都不是必需的,只是我写该库的时候太菜不知如何解决而已

但没什么大BUG也不想重写了,唯一需要注意的是,当用该库进行多用户登录时需修改requests.Session为实例成员

analog-login's People

Contributors

eddieivan01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

analog-login's Issues

question about this project

最近我也在做正方教务的模拟登陆,我用的是Java做的。然后现在提交上去显示验证失败,不知道这个项目还能成功运行吗!

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.