Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldap报错 #3

Open
kuron3k0 opened this issue Jan 11, 2019 · 2 comments
Open

ldap报错 #3

kuron3k0 opened this issue Jan 11, 2019 · 2 comments

Comments

@kuron3k0
Copy link

搭了个ldap服务器,payload发过去之后返回了:
java.lang.ClassCastException: com.sun.jndi.ldap.LdapCtx incompatible with javax.sql.DataSource ?
是因为java版本太高了吗?

@kuron3k0
Copy link
Author

发送的json payload,ldap://ip改成ldap://ip/Exploit,之后变成了j
ava.lang.ClassCastException: javax.naming.Reference incompatible with javax.sql.DataSource

@strawberrybiscuits
Copy link

你jdk版本高于jdk1.8 u181 后面客户端需要配置 System.setProperty("com.sun.jndi.ldap.object.trustURLCodebase", "true"); 才可访问

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants