Open zengfr opened 2 years ago
imsiMd5 is not passwordMD5
imsiMd5 is not passwordMD5
is use MiraiAndroid app , login qq in android , and export device json info imsiMd5 size is 32. qq app version >=8.8.98.8410 in android
"imsiMd5": "87f7dfc99c16fb10e17b6c3e25d3d730",
滑行验证助手已失效,请使用MiraiAndroid https://install.appcenter.ms/users/mzdluo123/apps/miraiandroid/distribution_groups/release
In fact, the TxCaptchaHelper can still be used to solve qq login swipe captcha
@mzdluo123 any ideas?
@mzdluo123 any ideas?
MiraiAndroid导出的设备文件来自于mirai core自动生成,且ma目前并没有更新到最新的core版本,如果core在2.8.0之后对md5长度进行了修改则可能出现这个问题
这个是没有改的,那理应不会出现这个问题
"imsiMd5": "5df6e66cc541fe594f228c889cd7828b"
"imsiMd5": "87f7dfc99c16fb10e17b6c3e25d3d730"
original hex string length is 32, decoded byte array size is 16.
Maybe the device file exported by MiraiAndroid is wrong. @mzdluo123
Please upload the device file if possible (by upload via GitHub or just paste it as raw text with comment). @zengfr
"imsiMd5": "5df6e66cc541fe594f228c889cd7828b" "imsiMd5": "87f7dfc99c16fb10e17b6c3e25d3d730"
original hex string length is 32, decoded byte array size is 16.
Maybe the device file exported by MiraiAndroid is wrong. @mzdluo123
Please upload the device file if possible (by upload via GitHub or just paste it as raw text with comment). @zengfr
不可能导出出错,导出仅仅是复制了core的数据文件
问题描述
Exception: Bad
imsiMd5.size
. Required 16, given 32Err Reason:
imsiMd5.size in qq old version is 16 .
but in qq new version size is 32.
Bugs in file: https://github.com/mamoe/mirai/blob/dev/mirai-core-api/src/commonMain/kotlin/utils/DeviceInfo.kt
init { require(imsiMd5.size == 16) { "Bad
imsiMd5.size
. Required 16, given ${imsiMd5.size}." } }复现
also see imsiMd5.size is 32 in https://simbot.forte.love/docs/component-overview/mirai/bot-config
"version": { "incremental": "5891938", "release": "10", "codename": "REL", "sdk": 29 }, "simInfo": "T-Mobile", "osType": "android", "macAddress": "02:00:00:00:00:00", "wifiBSSID": "02:00:00:00:00:00", "wifiSSID": "",
"imsiMd5": "5df6e66cc541fe594f228c889cd7828b",
"imei": "078869213288891",
"apn": "wifi"
}
mirai-core 版本
3.0.0
bot-protocol
ANDROID_PHONE
其他组件版本
No response
系统日志
No response
网络日志
No response
补充信息
No response