Comments (4)
Make sure you have version 2.5.1 of ldap3 library, newer versions show this error
from ldapdomaindump.
Hello Dirk-jan,
I just checked and it is.
# apt show python-ldap3
Package: python-ldap3
Version: 2.5.1-0kali1
Priority: optional
Section: python
Maintainer: Debian Python Modules Team <[email protected]>
Installed-Size: 2,081 kB
Depends: python-pyasn1 (>= 0.1.8), python:any (<< 2.8), python:any (>= 2.7~)
Breaks: python-tldap (<< 0.3.8~)
Homepage: https://github.com/cannatag/ldap3
Download-Size: 221 kB
APT-Manual-Installed: no
APT-Sources: http://http.kali.org/kali kali-rolling/main amd64 Packages
Description: Pure Python LDAP client library
A pure Python 3 LDAP version 3 strictly conforming to RFC4511 released under
the LGPL v3 open source license. RFC4511 is the current LDAP specification
(June 2006) from IETF and obsoletes the previous LDAP RFCs 2251, 2830, 3771
(December 1997)
.
This package contains the Python 2.7 version of the library.
# python -V
Python 2.7.16
from ldapdomaindump.
I've check with 'pip' and the version was 2.5.2..
# pip install ldap3 dnspython
Requirement already satisfied: ldap3 in /usr/local/lib/python2.7/dist-packages (2.5.2)
Requirement already satisfied: dnspython in /usr/lib/python2.7/dist-packages (1.16.0)
Requirement already satisfied: pyasn1>=0.1.8 in /usr/local/lib/python2.7/dist-packages (from ldap3) (0.4.6)
So I've just ran the command pip install --upgrade ldap3==2.5.1
and it solved my problem :)
Maybe it could be an idea to add a requirements.txt
file to your project to prevent this problem in the future for other users as well.
I've also seen that the package version I have is the 0.9.1-0kali1
from the kali package. It might be also an idea to add a -V
option to check which version of your tool we are running.
from ldapdomaindump.
Good to hear you fixed it, the package version is fixed in setup.py
Line 9 in edb2a6a
I'll consider the -V option, I didn't even know ldapdomaindump is part of Kali nowadays 😄
from ldapdomaindump.
Related Issues (20)
- Bad operation type HOT 5
- TypeError: a bytes-like object is required, not 'str' HOT 2
- Requests domain even when domain is specified HOT 2
- Error installing from source HOT 1
- Deprecation warning due to invalid escape sequences HOT 1
- UnicodeDecodeError HOT 1
- MemoryError During handling of the above exception, another exception occurred: HOT 1
- I read your post https://dirkjanm.io/active-directory-forest-trusts-part-one-how-does-sid-filtering-work/, and here is some questions I want to ask HOT 1
- TypeError: Missing required parameter 'digestmod' HOT 2
- [EXCEPTION] Tool throw exception while dumping HOT 3
- Output formatter error HOT 1
- Dependencies in readme.md incorrect.
- How to use with Davmail? HOT 1
- AttributeError: 'list' object has no attribute 'replace' HOT 2
- TypeError: bad operand type for abs(): 'str'
- Dependency on future
- Error when running ldapdomaindump HOT 6
- Simple Authentication Error with UID username HOT 1
- Generating HTML Replace Issue and No HTML
- gid = int(group.objectSid.value.split('-')[-1]) TypeError: a bytes-like object is required, not 'str' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ldapdomaindump.