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

Unable to create json #5

Open
BakaValen opened this issue Sep 21, 2023 · 5 comments
Open

Unable to create json #5

BakaValen opened this issue Sep 21, 2023 · 5 comments

Comments

@BakaValen
Copy link

BakaValen commented Sep 21, 2023

Just installed on a fully updated Kali instance.
exactly as your documentation described.

image

The image describes my error.

What info or logs will you require to help debug please?
All the requirements were installed by your documented methods or were already there via kali repo.

EDIT: I have also done this on Parrot OS and the same error occurs.

@BakaValen
Copy link
Author

[+] Authenticating to LDAP server
[-] Got error: Connection.init() got an unexpected keyword argument 'channel_binding'
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/entry.py", line 60, in main
actionsoptions.action
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/commands/parsers/find.py", line 12, in entry
find.entry(options)
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/commands/find.py", line 1179, in entry
find.find()
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/commands/find.py", line 165, in find
connection = self.connection
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/commands/find.py", line 124, in connection
self._connection.connect()
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/lib/ldap.py", line 77, in connect
self.connect(version=ssl.PROTOCOL_TLSv1_2)
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/lib/ldap.py", line 125, in connect
ldap_conn = ldap3.Connection(
^^^^^^^^^^^^^^^^^
TypeError: Connection.init() got an unexpected keyword argument 'channel_binding'

This after running certipy on its own.

Did something change in certipy?

@BakaValen
Copy link
Author

BakaValen commented Sep 21, 2023

rolling back certipy to certipy-ad 4.7.0 OR 4.8.0 allows things to run but still end up with the original issue of (see image)
image

where it says it cant find a target.

@BakaValen
Copy link
Author

changing the to a forked version of ldap3 (pip3 install git+https://github.com/ly4k/ldap3) allows everything to run but still dies at:

certipy relay: error: the following arguments are required: -target

@sec13b
Copy link

sec13b commented Dec 22, 2023

did you solve ?

@BakaValen
Copy link
Author

did you solve ?

No. There is no progress on this bug. Neither by this author or by certipy author.

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