{"id":13717917,"url":"https://github.com/vanpersiexp/chongding","last_synced_at":"2025-05-07T08:30:43.272Z","repository":{"id":139076285,"uuid":"118982290","full_name":"vanpersiexp/chongding","owner":"vanpersiexp","description":"冲顶大会/百万赢家/头脑王者/UC疯狂夺金：抓包获取题目(不用图像识别)，并搜索答案","archived":false,"fork":false,"pushed_at":"2020-02-08T12:05:19.000Z","size":11929,"stargazers_count":110,"open_issues_count":3,"forks_count":33,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T06:33:52.753Z","etag":null,"topics":["kali-linux","mitmproxy","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vanpersiexp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-01-26T00:02:48.000Z","updated_at":"2024-05-14T14:13:31.000Z","dependencies_parsed_at":"2024-01-17T09:22:11.250Z","dependency_job_id":"60b8c61d-5591-4740-9290-d76a0d463768","html_url":"https://github.com/vanpersiexp/chongding","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanpersiexp%2Fchongding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanpersiexp%2Fchongding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanpersiexp%2Fchongding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanpersiexp%2Fchongding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanpersiexp","download_url":"https://codeload.github.com/vanpersiexp/chongding/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252842370,"owners_count":21812656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kali-linux","mitmproxy","python3"],"created_at":"2024-08-03T00:01:29.111Z","updated_at":"2025-05-07T08:30:38.259Z","avatar_url":"https://github.com/vanpersiexp.png","language":"Python","readme":"# 冲顶大会/百万赢家/头脑王者/UC疯狂夺金答题辅助：抓包获取题目并搜索答案\n冲顶大会/百万赢家/头脑王者/UC疯狂夺金：抓包获取题目，不用图像识别:)\n\n测试环境：Kali Linux,Python3，Android\n\n需要的抓包工具：[mitmdump](https://github.com/mitmproxy/mitmproxy)\n\n[mitmdump官方文档](http://docs.mitmproxy.org/en/stable/index.html)\n\n## 使用方法\n[mitmproxy安装方法](http://docs.mitmproxy.org/en/stable/install.html)\n\n首次运行`mitmdump`或`mitmproxy`，在`.mitmproxy/`中获取证书`mitmproxy-ca-cert.cer`\n\n在Android手机中安装证书（**iPhone无法抓到数据包**)，与电脑处于同一wifi下，手动设置代理为电脑ip地址：192.168.1.100，端口（默认）：8080\n\n\tgit clone https://github.com/vanpersiexp/chongding.git\n    cd chongding/\n\tpip3 install -r related.txt\n\tmitmdump -s get_question.py\n\tpython3 search_question.py -h\n\t\n\tusage: search_question.py [-h] [-b {1,2,3,4}]\n\n\t冲顶大会/百万赢家/头脑王者/UC疯狂夺金:抓包获取题目并搜索答案。\n\n\toptional arguments:\n  \t-h, --help            \t\tshow this help message and exit\n  \t-b {1,2,3,4}, --brand {1,2,3,4}\t\t\n\t\t\t\t\t选择APP，1：冲顶大会；2：百万赢家；3：头脑王者；4：UC疯狂夺金\n\t\n\n## 抓包结果\n冲顶大会抓包结果：\n![冲顶大会](https://raw.githubusercontent.com/vanpersiexp/chongding/master/img/20180126_17.jpg)\n\n头脑王者抓包结果：\n![头脑王者](https://raw.githubusercontent.com/vanpersiexp/chongding/master/img/tounaowangzhe.jpg)\n\nUC疯狂夺金抓包结果：\n![疯狂夺金](https://raw.githubusercontent.com/vanpersiexp/chongding/master/img/fkdj_2.jpg)\n\n## 运行效果\n可以使用`example/`中的抓取的数据包*模拟测试程序*。\n\n`search_question.py`中的`main`函数，使用`tailer`模块循环读取最新的`/tmp/raw_data.txt`文件\n\n`tailer`模块的使用说明参考：[传送门](https://pypi.python.org/pypi/tailer)\n\n测试方法（以冲顶大会为例，问题选取自example/chongdingdahui.txt）：\n\n第一个终端运行：`python3 search_question.py -b 1`\n\n第二个终端运行：`echo '42[\"showQuestion\",{\"answerTime\":10,\"desc\":\"10.汉字“趸（dǔn）”的词性不包括以下哪个?\",\"displayOrder\":9,\"liveId\":164,\"options\":\"[\\\"动词\\\",\\\"名词\\\",\\\"副词\\\"]\",\"questionId\":1910,\"showTime\":16910135117165,\"status\":0,\"type\":\"showQuestion\"}]' \u003e\u003e /tmp/raw_data.txt`\n\n\n实时运行效果如图：\n\n冲顶大会：\n\n![冲顶大会](https://raw.githubusercontent.com/vanpersiexp/chongding/master/img/chongdingdahui.jpg)\n\n百万赢家：\n\n![百万赢家](https://raw.githubusercontent.com/vanpersiexp/chongding/master/img/baiwanyingjia.jpg)\n\n头脑王者：\n![头脑王者](https://raw.githubusercontent.com/vanpersiexp/chongding/master/img/tounao.jpg)\n\nUC疯狂夺金：\n![疯狂夺金](https://raw.githubusercontent.com/vanpersiexp/chongding/master/img/fkdj_1.jpg)\n\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanpersiexp%2Fchongding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanpersiexp%2Fchongding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanpersiexp%2Fchongding/lists"}