GithubHelp home page GithubHelp logo

Comments (5)

dirkjanm avatar dirkjanm commented on July 19, 2024

Which version of ldap3 is this? Sounds like a non-compatible version

from ldapdomaindump.

Pascal-0x90 avatar Pascal-0x90 commented on July 19, 2024

I am having a similar issue using ldapdomaindump with similar output as what @mubix got.
OS: Kali Linux 5.3.0-kali3-amd64 #1 SMP Debian 5.3.15-1kali1 (2019-12-09) x86_64 GNU/Linux

Command ran: python3 ldapdomaindump.py 10.10.10.172
Output:

[*] Connecting as anonymous user, dumping will probably fail. Consider specifying a username/password to login with
[*] Connecting to host...
[*] Binding to host
[+] Bind OK
[*] Starting domain dump
Traceback (most recent call last):
  File "ldapdomaindump.py", line 3, in <module>
    ldapdomaindump.main()
  File "/root/Documents/htb/monteverde/recon/ldapdomaindump/ldapdomaindump/__init__.py", line 944, in main
    dd.domainDump()
  File "/root/Documents/htb/monteverde/recon/ldapdomaindump/ldapdomaindump/__init__.py", line 422, in domainDump
    rw.generateUsersReport(self)
  File "/root/Documents/htb/monteverde/recon/ldapdomaindump/ldapdomaindump/__init__.py", line 789, in generateUsersReport
    dd.mapGroupsIdsToDns()
  File "/root/Documents/htb/monteverde/recon/ldapdomaindump/ldapdomaindump/__init__.py", line 350, in mapGroupsIdsToDns
    gid = int(group.objectSid.value.split('-')[-1])
TypeError: a bytes-like object is required, not 'str'

This is the output of pip3 show ldap3:

Name: ldap3
Version: 2.5.1
Summary: A strictly RFC 4510 conforming LDAP V3 pure Python client library
Home-page: https://github.com/cannatag/ldap3
Author: Giovanni Cannata
Author-email: [email protected]
License: LGPL v3
Location: /usr/lib/python3/dist-packages
Requires: 
Required-by: 

from ldapdomaindump.

dirkjanm avatar dirkjanm commented on July 19, 2024

@Pascal-0x90 you're likely running into the issue described in #26

from ldapdomaindump.

Pascal-0x90 avatar Pascal-0x90 commented on July 19, 2024

Ah so it seems. Sorry for that. I should have looked further into it. Thank you!

from ldapdomaindump.

dirkjanm avatar dirkjanm commented on July 19, 2024

Closing due to lack of feedback

from ldapdomaindump.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.