From f072b324cc6f3a28721f85e063e9c3a5a5d7ac4d Mon Sep 17 00:00:00 2001 From: squall Date: Thu, 2 Dec 2021 11:22:54 +0800 Subject: [PATCH] fixed classname mismatch --- src/main/java/io/zhile/research/ja/netfilter/Initializer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/zhile/research/ja/netfilter/Initializer.java b/src/main/java/io/zhile/research/ja/netfilter/Initializer.java index 39d8ba5..a9637c8 100644 --- a/src/main/java/io/zhile/research/ja/netfilter/Initializer.java +++ b/src/main/java/io/zhile/research/ja/netfilter/Initializer.java @@ -32,7 +32,7 @@ public class Initializer { Set classSet = Dispatcher.getInstance().getHookClassNames(); for (Class c : inst.getAllLoadedClasses()) { String name = c.getName(); - if (!classSet.contains(name.replace('/', '.'))) { + if (!classSet.contains(name.replace('.', '/'))) { continue; }