diff --git a/rasp/jvm/JVMAgent/src/main/java/com/security/smithloader/SmithAgent.java b/rasp/jvm/JVMAgent/src/main/java/com/security/smithloader/SmithAgent.java index 53e323c01..de0dedafe 100644 --- a/rasp/jvm/JVMAgent/src/main/java/com/security/smithloader/SmithAgent.java +++ b/rasp/jvm/JVMAgent/src/main/java/com/security/smithloader/SmithAgent.java @@ -2,6 +2,7 @@ import java.util.jar.Manifest; +import com.security.smithloader.common.JarUtil; import com.security.smithloader.common.ParseParameter; import com.security.smithloader.common.Reflection; import com.security.smithloader.log.SmithAgentLogger; @@ -270,13 +271,11 @@ public static void agentmain(String agentArgs, Instrumentation inst) { SmithAgentLogger.logger.info("checksumStr:" + checksumStr); SmithAgentLogger.logger.info("proberPath:" + proberPath); - /* if (!JarUtil.checkJarFile(proberPath,checksumStr)) { System.setProperty("smith.status", proberPath + " check fail"); SmithAgentLogger.logger.warning(proberPath + " check fail!"); return ; } - */ if(instrumentation == null) { instrumentation = inst;