diff --git a/dongtai-core/src/main/java/io/dongtai/iast/core/handler/hookpoint/vulscan/normal/AbstractNormalVulScan.java b/dongtai-core/src/main/java/io/dongtai/iast/core/handler/hookpoint/vulscan/normal/AbstractNormalVulScan.java index 8402fcbf7..d2056b039 100644 --- a/dongtai-core/src/main/java/io/dongtai/iast/core/handler/hookpoint/vulscan/normal/AbstractNormalVulScan.java +++ b/dongtai-core/src/main/java/io/dongtai/iast/core/handler/hookpoint/vulscan/normal/AbstractNormalVulScan.java @@ -7,12 +7,11 @@ import io.dongtai.iast.core.utils.Constants; import io.dongtai.iast.core.utils.StackUtils; import io.dongtai.iast.core.utils.base64.Base64Encoder; - -import java.util.Map; - import org.json.JSONArray; import org.json.JSONObject; +import java.util.Map; + /** * @author dongzhiyong@huoxian.cn */ @@ -57,7 +56,7 @@ public void sendReport(StackTraceElement[] stacks, String vulType) { } protected StackTraceElement[] getLatestStack() { - return StackUtils.createCallStack(10); + return StackUtils.createCallStack(0); } public static String getEncodedHeader(Map headers) {