mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
Shamrock
: 更新逆検出
Signed-off-by: WhiteChi <whitechi73@outlook.com>
This commit is contained in:
parent
ae1684a885
commit
184064d199
@ -68,7 +68,7 @@ internal object GroupSvc: BaseSvc() {
|
|||||||
}.getOrThrow()
|
}.getOrThrow()
|
||||||
}
|
}
|
||||||
|
|
||||||
getGroupInfo(groupId, refresh).onSuccess {
|
getGroupInfo(groupId, true).onSuccess {
|
||||||
if(it.wMemberNum > memberList.size) {
|
if(it.wMemberNum > memberList.size) {
|
||||||
return getGroupMemberList(groupId, true)
|
return getGroupMemberList(groupId, true)
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,13 @@ class AntiDetection: IAction {
|
|||||||
return className.contains("fuqiuluo") || className.contains("shamrock") || className.contains("whitechi")
|
return className.contains("fuqiuluo") || className.contains("shamrock") || className.contains("whitechi")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Thread::class.java.hookMethod("getName").after {
|
||||||
|
val result = it.result as String
|
||||||
|
if (result.contains("fuqiuluo") || result.contains("shamrock") || result.contains("whitechi")) {
|
||||||
|
it.result = "android"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Thread::class.java.hookMethod("getStackTrace").after {
|
Thread::class.java.hookMethod("getStackTrace").after {
|
||||||
val result = it.result as Array<StackTraceElement>
|
val result = it.result as Array<StackTraceElement>
|
||||||
it.result = result.filter {
|
it.result = result.filter {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user