feat: support H2 packer

This commit is contained in:
ReaJason
2025-08-13 23:53:40 +08:00
parent bb4bcb956c
commit db96872fa4
22 changed files with 341 additions and 10 deletions
@@ -348,6 +348,7 @@ public class ShellAssertionTool {
case Hessian2Deserialize -> VulTool.postData(url + "/hessian2", content);
case Base64 -> VulTool.postData(url + "/b64", content);
case XxlJob -> VulTool.xxlJobExecutor(url + "/run", content);
case H2, H2JS, H2Javac -> VulTool.postData(url + "/jdbc", content);
default -> throw new IllegalStateException("Unexpected value: " + packer);
}
}