restore: 恢复 11-06~11-09 本地未提交改动
- libs: 新增 hr_sdk / hotel_report / dingtalk,更新 desktopauto - controlplane-next: SDK 管理模块(controller/entity/migrations)与前端视图 - electron-shell: 插件同步、注册表、runner 调整 - plugins: XQ0035/XQ0041/XQ0042/XQ0045_XQ0046/XQ0048/XQ0076/XQ0078 等版本更新 - tests/tools: 新增 SDK 兼容性检查与打包工具(sdk_pack.py、sdk_compat_check.py)
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
"""临时探针 2:分析已下载 bundle 中的加密实现与接口地址(用完即删)。"""
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
if hasattr(sys.stdout, "reconfigure"):
|
||||
sys.stdout.reconfigure(encoding="utf-8", errors="replace")
|
||||
|
||||
JS = os.path.join(os.environ.get("TEMP", "."), "tianque_js", "umi.4ba392fc.js")
|
||||
text = open(JS, encoding="utf-8", errors="replace").read()
|
||||
print("len", len(text))
|
||||
|
||||
|
||||
def show(kw, before=600, after=1200, limit=3):
|
||||
print("\n" + "#" * 40, kw)
|
||||
n = 0
|
||||
for m in re.finditer(re.escape(kw), text):
|
||||
print("-" * 20, f"@{m.start()}")
|
||||
print(text[max(0, m.start() - before): m.start() + after].replace("\n", " "))
|
||||
n += 1
|
||||
if n >= limit:
|
||||
break
|
||||
if not n:
|
||||
print("(not found)")
|
||||
|
||||
|
||||
show("abcdefgabcdefg12")
|
||||
show("transForm/login", 800, 400)
|
||||
show("bankLogin", 300, 300, 2)
|
||||
show("mode:r.ECB", 600, 300, 2)
|
||||
show("ECB", 300, 300, 3)
|
||||
Reference in New Issue
Block a user