From d4150b585946ff0a09f50c76521427015c62602d Mon Sep 17 00:00:00 2001
From: 15911075183ma <141103706+15911075183ma@users.noreply.github.com>
Date: Tue, 21 Nov 2023 16:24:32 +0800
Subject: [PATCH 1/2] =?UTF-8?q?docs=EF=BC=9A=20=E6=B7=BB=E5=8A=A0=E9=BB=91?=
=?UTF-8?q?=E5=90=8D=E5=8D=95=E5=88=A4=E6=96=AD=E6=B3=A8=E9=87=8A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../dongtai/iast/core/bytecode/IastClassFileTransformer.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dongtai-core/src/main/java/io/dongtai/iast/core/bytecode/IastClassFileTransformer.java b/dongtai-core/src/main/java/io/dongtai/iast/core/bytecode/IastClassFileTransformer.java
index 1aff694d6..602435cee 100755
--- a/dongtai-core/src/main/java/io/dongtai/iast/core/bytecode/IastClassFileTransformer.java
+++ b/dongtai-core/src/main/java/io/dongtai/iast/core/bytecode/IastClassFileTransformer.java
@@ -30,7 +30,6 @@
import java.security.ProtectionDomain;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
-import java.util.concurrent.ConcurrentSkipListSet;
import static org.apache.commons.io.FileUtils.writeByteArrayToFile;
import static org.objectweb.asm.ClassWriter.COMPUTE_FRAMES;
@@ -162,7 +161,7 @@ public byte[] transform(final ClassLoader loader,
ScaScanner.scanForSCA(location.getFile(), internalClassName);
}
}
-
+ //判断是否可以hook ,true可以 false不可以
if (null == classBeingRedefined && !configMatcher.canHook(internalClassName, this.policyManager)) {
return null;
}
From 80933be4a3d51209e6abf471fa0cf4264f525b7a Mon Sep 17 00:00:00 2001
From: 15911075183ma <141103706+15911075183ma@users.noreply.github.com>
Date: Tue, 21 Nov 2023 16:30:18 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0?=
=?UTF-8?q?=E4=B8=BA1.14.1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 8491cfbb3..1f013c243 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
- 1.14.0
+ 1.14.1
UTF-8
io.dongtai.iast.thirdparty