Commit ddab66f1 authored by jiahua.liu's avatar jiahua.liu

Captcha supporting

parent a44874a2
...@@ -222,7 +222,7 @@ internal object LoginPacket : PacketFactory<LoginPacket.LoginPacketResponse>("wt ...@@ -222,7 +222,7 @@ internal object LoginPacket : PacketFactory<LoginPacket.LoginPacketResponse>("wt
// val ret = tlvMap[0x104]?.let { println(it.toUHexString()) } // val ret = tlvMap[0x104]?.let { println(it.toUHexString()) }
println() println()
val question = tlvMap[0x165] ?: error("CAPTCHA QUESTION UNKNOWN") val question = tlvMap[0x165] ?: error("CAPTCHA QUESTION UNKNOWN")
when (question[18].toUHexString()) { when(question[18].toUHexString()){
"36" -> { "36" -> {
//图片验证 //图片验证
debugPrint("是一个图片验证码") debugPrint("是一个图片验证码")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment