feat: support H2 packer

This commit is contained in:
ReaJason
2025-06-28 13:16:52 +08:00
parent aba057572c
commit b71cd4a676
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);
}
}