Skip to main content

Some automatic scripts to against formalism

Project description

SG-Toolkit

使用科技手段对抗形式主义,提供了一些自动化脚本。能够帮助你完成网上学堂刷课、安全知识考试自动答题,等

怎么用?

网上学堂刷课

browser = FuckGWXT(
    "san.zhang",
    "1q2w!Q@W",
    "美国能源",
    "http://localhost/www/command/CollegeControl?flag=collegeTC&tcID=ef8afbf81de&tab=collTcLesson&type=&worktypeid=&pageNo1=15&pageSize1=10&comewho=null"
)
browser.process()

安全知识答题

代码示例

browser = FuckAnGui(
    "san.zhang",
    "1qaz@WSX",
    "http://localhost/comlogin/routeLogin.html",
    "./题库.xlsx"
)
browser.process()

题库格式

题型题干选项答案
单选题你今天吃的什么早点?A-豆浆|B-八宝粥|C-胡辣汤|D-肉夹馍A
多选题你今天吃的什么早点?A-豆浆|B-八宝粥|C-胡辣汤|D-肉夹馍BCD
判断题今天的早点有豆浆A-正确|B-错误A

注意事项

第一次运行程序必定失败,在弹出的窗口输入用户名、密码、验证码,点击登录,浏览器将自动保存登录信息。下次运行即可自动答题。

环境要求

  • Chrome浏览器
  • Chrome WebDriver(版本需与浏览器保持一致)
  • Python
  • Python第三方库(见requirements.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sg_toolkit-0.2.0.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sg_toolkit-0.2.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file sg_toolkit-0.2.0.tar.gz.

File metadata

  • Download URL: sg_toolkit-0.2.0.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for sg_toolkit-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0312c8480e8477d622792881d49f857d2c5bdc50cd2da2f4d369d179f651e0fc
MD5 4a5c6ce55273a22d9d4116c48e8dd48f
BLAKE2b-256 c1ca9c1d3e7a138c38350f0f74c7419aab0746d531803720e0f8ede347857efb

See more details on using hashes here.

File details

Details for the file sg_toolkit-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: sg_toolkit-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for sg_toolkit-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34982b2cde579fa3ed5f5c308c9832eac76ada9e22f60fe51388667987e25715
MD5 c5894626b9a814fe0a69c1d410c651ee
BLAKE2b-256 53f66d64eefd6949948cb25dda2d752b51dcb769ce40bac10903402b4a09a4dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page