mirror of
https://github.com/qi4L/JYso.git
synced 2026-09-21 22:40:43 +08:00
fix: 修复 ELProcessor 路由bug
This commit is contained in:
@@ -20,10 +20,9 @@ public class Starter {
|
||||
public static boolean JYsoMode = false;
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
logo();
|
||||
|
||||
// 如果参数中包含-j,则启动LDAP、HTTP、RMI服务
|
||||
if (args.length > 0 && args[0].equals("-j")) {
|
||||
logo();
|
||||
Config.applyCmdArgs(args);
|
||||
if (Config.TLSProxy) {
|
||||
TLSProxy.start();
|
||||
|
||||
@@ -22,7 +22,7 @@ import java.lang.reflect.Field;
|
||||
import static org.fusesource.jansi.Ansi.ansi;
|
||||
|
||||
|
||||
@LdapMapping(uri = {"/ELProcessor"})
|
||||
@LdapMapping(uri = {"/elprocessor"})
|
||||
public class ELProcessorController implements LdapController {
|
||||
private String payloadType;
|
||||
private String[] params;
|
||||
|
||||
@@ -13,6 +13,7 @@ import java.io.FileOutputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.util.*;
|
||||
|
||||
import static com.qi4l.JYso.gadgets.Config.Config.logo;
|
||||
import static com.qi4l.JYso.gadgets.utils.HexUtils.generatePassword;
|
||||
import static com.qi4l.JYso.gadgets.utils.StringUtil.isFromExploit;
|
||||
|
||||
@@ -240,7 +241,7 @@ public class ysoserial {
|
||||
}
|
||||
|
||||
private static void printUsage(Options options) {
|
||||
|
||||
logo();
|
||||
System.err.println("[root]#~ Usage: java -jar JYso-[version].jar -y -g [payload] -p [command] [options]");
|
||||
System.err.println("[root]#~ Available payload types:");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user