/usr/local/bin/ldapdomaindump:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.htmlimport('pkg_resources').run_script('ldapdomaindump==0.9.4', 'ldapdomaindump')
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ldap3/core/server.py", line 114, in init
port = int(hostport) or port
^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '//192.168.202.132'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/ldapdomaindump", line 4, in import('pkg_resources').run_script('ldapdomaindump==0.9.4', 'ldapdomaindump')
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 722, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1561, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python3.11/dist-packages/ldapdomaindump-0.9.4-py3.11.egg/EGG-INFO/scripts/ldapdomaindump", line 3, in
ldapdomaindump.main()
File "/usr/local/lib/python3.11/dist-packages/ldapdomaindump-0.9.4-py3.11.egg/ldapdomaindump/init.py", line 940, in main
s = Server(args.host, get_info=ALL)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/ldap3/core/server.py", line 118, in init
raise LDAPInvalidPortError('port must be an integer')
ldap3.core.exceptions.LDAPInvalidPortError: port must be an integer
kali@kali:~/AD/LDAP/ldapdomaindump$ sudo ldapdomaindump lkdaps://192.168.202.132 -u 'ADLAB\s1account' -p User1@123
/usr/local/bin/ldapdomaindump:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import('pkg_resources').run_script('ldapdomaindump==0.9.4', 'ldapdomaindump') Traceback (most recent call last): File "/usr/lib/python3/dist-packages/ldap3/core/server.py", line 114, in init port = int(hostport) or port ^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: '//192.168.202.132'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/bin/ldapdomaindump", line 4, in
import('pkg_resources').run_script('ldapdomaindump==0.9.4', 'ldapdomaindump')
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 722, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1561, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python3.11/dist-packages/ldapdomaindump-0.9.4-py3.11.egg/EGG-INFO/scripts/ldapdomaindump", line 3, in
ldapdomaindump.main()
File "/usr/local/lib/python3.11/dist-packages/ldapdomaindump-0.9.4-py3.11.egg/ldapdomaindump/init.py", line 940, in main
s = Server(args.host, get_info=ALL)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/ldap3/core/server.py", line 118, in init
raise LDAPInvalidPortError('port must be an integer')
ldap3.core.exceptions.LDAPInvalidPortError: port must be an integer