mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-23 13:50:12 +08:00
Captcha supporting
This commit is contained in:
parent
a44874a2f2
commit
ddab66f165
@ -222,7 +222,7 @@ internal object LoginPacket : PacketFactory<LoginPacket.LoginPacketResponse>("wt
|
||||
// val ret = tlvMap[0x104]?.let { println(it.toUHexString()) }
|
||||
println()
|
||||
val question = tlvMap[0x165] ?: error("CAPTCHA QUESTION UNKNOWN")
|
||||
when (question[18].toUHexString()) {
|
||||
when(question[18].toUHexString()){
|
||||
"36" -> {
|
||||
//图片验证
|
||||
debugPrint("是一个图片验证码")
|
||||
|
Loading…
Reference in New Issue
Block a user