From 7c7c4c3af7878fedc778da8214fd6681c4d2cdf5 Mon Sep 17 00:00:00 2001 From: yoloyyh <1764163852@qq.com> Date: Thu, 7 Dec 2023 15:54:00 +0800 Subject: [PATCH] feat ProcessImpl. hook --- .gitignore | 5 ++++ .../JVMProbe/src/main/resources/class.yaml | 27 ++++++++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index cd3cd1016..b587a6bae 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,8 @@ output *.local.yml target Cargo.lock +*.js +*.json +*CMakeFiles* +*vcpkg_installed +*node_modules \ No newline at end of file diff --git a/rasp/jvm/JVMProbe/src/main/resources/class.yaml b/rasp/jvm/JVMProbe/src/main/resources/class.yaml index e0b52924a..f8a5e65a0 100644 --- a/rasp/jvm/JVMProbe/src/main/resources/class.yaml +++ b/rasp/jvm/JVMProbe/src/main/resources/class.yaml @@ -14,6 +14,13 @@ - id: 3 name: getErrorStream desc: ()Ljava/io/InputStream; + - id: 4 + name: + desc: ([B[BI[BI[B[IZZ)V + - id: 5 + name: + desc: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[JZ)V + - id: 1 name: java.io.FileInputStream methods: @@ -163,4 +170,22 @@ desc: (Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path; - id: 1 name: move - desc: (Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path; \ No newline at end of file + desc: (Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path; +- id: 14 + name: org.apache.catalina.core.ContainerBase + methods: + - id: 0 + name: addValve + desc: (Lorg/apache/catalina/Valve;)V +- id: 15 + name: org.apache.catalina.core.StandardContext + methods: + - id: 0 + name: addServletMapping + desc: (Ljava/lang/String;Ljava/lang/String;Z)V + - id: 1 + name: addApplicationEventListener + desc: (Ljava/lang/Object;)V + - id: 2 + name: addFilterDef + desc: (Lorg/apache/tomcat/util/descriptor/web/FilterDef;)V \ No newline at end of file