mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
feat: support mvel packer
This commit is contained in:
+1
@@ -146,6 +146,7 @@ public class ShellAssertionTool {
|
||||
case EL -> VulTool.postData(url + "/el", content);
|
||||
case SpEL -> VulTool.postData(url + "/spel", content);
|
||||
case OGNL -> VulTool.postData(url + "/ognl", content);
|
||||
case MVEL -> VulTool.postData(url + "/mvel", content);
|
||||
case Freemarker -> VulTool.postData(url + "/freemarker", content);
|
||||
case Velocity -> VulTool.postData(url + "/velocity", content);
|
||||
case Deserialize -> VulTool.postData(url + "/java_deserialize", content);
|
||||
|
||||
+1
-1
@@ -32,7 +32,6 @@ import static org.junit.jupiter.params.provider.Arguments.arguments;
|
||||
public class Tomcat8ContainerTest {
|
||||
public static final String imageName = "tomcat:8-jre8";
|
||||
|
||||
|
||||
@Container
|
||||
public final static GenericContainer<?> container = new GenericContainer<>(imageName)
|
||||
.withCopyToContainer(warExpressionFile, "/usr/local/tomcat/webapps/app.war")
|
||||
@@ -82,6 +81,7 @@ public class Tomcat8ContainerTest {
|
||||
arguments(imageName, Constants.FILTER, ShellTool.Godzilla, Packers.EL),
|
||||
arguments(imageName, Constants.FILTER, ShellTool.Godzilla, Packers.OGNL),
|
||||
arguments(imageName, Constants.FILTER, ShellTool.Godzilla, Packers.SpEL),
|
||||
arguments(imageName, Constants.FILTER, ShellTool.Godzilla, Packers.MVEL),
|
||||
arguments(imageName, Constants.FILTER, ShellTool.Godzilla, Packers.Freemarker),
|
||||
arguments(imageName, Constants.FILTER, ShellTool.Godzilla, Packers.Velocity),
|
||||
arguments(imageName, Constants.AGENT_FILTER_CHAIN, ShellTool.Command, Packers.AgentJar),
|
||||
|
||||
Reference in New Issue
Block a user