From b9c842198798701263966df6380a4655edfbdd13 Mon Sep 17 00:00:00 2001 From: yoloyyh <1764163852@qq.com> Date: Fri, 29 Nov 2024 17:05:54 +0800 Subject: [PATCH] add getMethod --- .../java/com/security/smith/SmithProbe.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/rasp/jvm/JVMProbe/src/main/java/com/security/smith/SmithProbe.java b/rasp/jvm/JVMProbe/src/main/java/com/security/smith/SmithProbe.java index 30ac5cf5a..d2e1b40a1 100644 --- a/rasp/jvm/JVMProbe/src/main/java/com/security/smith/SmithProbe.java +++ b/rasp/jvm/JVMProbe/src/main/java/com/security/smith/SmithProbe.java @@ -215,6 +215,26 @@ public Object getSmithProbeProxy() { return smithProxy; } + public Map getSwitchConfig() { + return this.switchConfig; + } + + public Map, Filter> getFilter() { + return this.filters; + } + + public Rule_Mgr getRuleMgr() { + return this.rulemgr; + } + + public Rule_Config getRuleConfig() { + return this.ruleconfig; + } + + public SmithProbeProxy getSmithProxy() { + return this.smithProxy; + } + public void setClassLoader(Object classLoaderObj) { xClassLoaderObj = classLoaderObj; } @@ -237,6 +257,10 @@ public String getProbePath() { } + public Set[][] getHookTypes() { + return hookTypes; + } + public void init() { AttachInfo.info(); SmithLogger.loggerProberInit();