[admonition]转载请保留出处,严禁倒卖,倒卖者亲🐴biss[/admonition]
前言
去年发过的禁毒知识竞赛的满分脚本,今年还能用。重新发布一下。
按照下面使用方法使用可一键满分,不用进去答题。
有问题请进QQ群交流:1153448795
效果图:
使用方法
1、登录https://www.2-class.com/competition
2、按F12打开开发者工具,选择应用(Application) -> 左侧Cookie加号点开 -> 选择https://www.2-class.com/
3、复制右侧的asw_tc和sid的值
4、切换回控制台(Console) -> 在下方输入框里输入命令:window.__DATA__.reqtoken 并回车
5、复制双引号内的内容
6、运行脚本,依次输入以上3个数据。
代码
# -*- coding: utf-8 -*- import requests import json import time import random # 获取reqtoken的命令: window.__DATA__.reqtoken # cookie = 'acw_tc=76b20f6616659797159527027e3350e04399c20a051cfaf70874ad516c6900; sid=e993abc8-00ee-4173-9c36-abd5d059babd;' # reqtoken = '9f83d24e-7e12-4c47-a45b-b677694fa7a3' def yi_jian_man_fen(cookie, reqtoken): url = 'https://www.2-class.com/api/quiz/commit' headers = { 'Cookie': cookie, 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50' } time = random.randint(100, 350) data = { "list": [ { "questionId": 2986, "questionContent": "B" }, { "questionId": 2989, "questionContent": "C" }, { "questionId": 2990, "questionContent": "D" }, { "questionId": 2959, "questionContent": "C" }, { "questionId": 2928, "questionContent": "C" }, { "questionId": 2960, "questionContent": "A" }, { "questionId": 2961, "questionContent": "C" }, { "questionId": 2897, "questionContent": "B" }, { "questionId": 2930, "questionContent": "D" }, { "questionId": 2898, "questionContent": "B" }, { "questionId": 2963, "questionContent": "A" }, { "questionId": 2932, "questionContent": "D" }, { "questionId": 2901, "questionContent": "A" }, { "questionId": 2966, "questionContent": "D" }, { "questionId": 2934, "questionContent": "C" }, { "questionId": 2904, "questionContent": "D" }, { "questionId": 2907, "questionContent": "D" }, { "questionId": 2972, "questionContent": "C" }, { "questionId": 2973, "questionContent": "A" }, { "questionId": 2912, "questionContent": "B" } ], "time": time, "reqtoken": reqtoken } result = requests.post(url=url, data=json.dumps(data), headers=headers, verify=False) print(result.text) if __name__ == '__main__': acw_tc = input('请输入acw_tc:') sid = input('请输入sid:') reqtoken = input('请输入token:') cookie = f'acw_tc={acw_tc}; sid={sid};' yi_jian_man_fen(cookie, reqtoken)
其他
不欢迎任何商业行为。
司马52pojie,10年多了,封我账号,祝52pojie早日倒闭。
发表回复