Codebase list python-ldapdomaindump / 39b06c2
Update for new upstream release 0.9.1 Sophie Brun 5 years ago
7 changed file(s) with 20 addition(s) and 41 deletion(s). Raw diff Collapse all Expand all
0 python-ldapdomaindump (0.8.7-0kali1) kali-dev; urgency=medium
0 python-ldapdomaindump (0.9.1-0kali1) kali-dev; urgency=medium
11
22 * Initial release
33 * Package Python 2 version for new impacket release (not ready for Python 3
44 now)
55
6 -- Sophie Brun <[email protected]> Thu, 14 Mar 2019 14:51:09 +0100
6 -- Sophie Brun <[email protected]> Thu, 14 Mar 2019 14:53:20 +0100
+0
-1
debian/compat less more
0 11
22 Priority: optional
33 Maintainer: Kali Developers <[email protected]>
44 Uploaders: Sophie Brun <[email protected]>
5 Build-Depends: debhelper (>= 11), dh-python, python-all, python-setuptools, python3-all, python3-setuptools, python-ldap3, python3-ldap3, python-dnspython, python3-dnspython
6 Standards-Version: 4.2.1
5 Build-Depends: debhelper-compat (= 12),
6 dh-python,
7 python-all,
8 python-dnspython,
9 python-future,
10 python-ldap3,
11 python-setuptools,
12 python3-all,
13 python3-dnspython,
14 python3-future,
15 python3-ldap3,
16 python3-setuptools
17 Standards-Version: 4.3.0
718 Homepage: https://github.com/dirkjanm/ldapdomaindump
819 Vcs-Browser: http://git.kali.org/gitweb/?p=packages/python-ldapdomaindump;a=summary
920 Vcs-Git: git://git.kali.org/packages/python-ldapdomaindump.git
1122
1223 Package: python-ldapdomaindump
1324 Architecture: all
14 Depends: ${python:Depends}, ${misc:Depends}
25 Depends: ${misc:Depends}, ${python:Depends}
1526 Description: Active Directory information dumper via LDAP (Python 2)
1627 This package contains an Active Directory information dumper via LDAP. In an
1728 Active Directory domain, a lot of interesting information can be retrieved via
2839
2940 Package: python3-ldapdomaindump
3041 Architecture: all
31 Depends: ${python3:Depends}, ${misc:Depends}
42 Depends: ${misc:Depends}, ${python3:Depends}
3243 Description: Active Directory information dumper via LDAP (Python 3)
3344 This package contains an Active Directory information dumper via LDAP. In an
3445 Active Directory domain, a lot of interesting information can be retrieved via
66 License: MIT
77
88 Files: debian/*
9 Copyright: 2018 Sophie Brun <[email protected]>
9 Copyright: 2018-2019 Sophie Brun <[email protected]>
1010 License: MIT
1111
1212 License: MIT
+0
-30
debian/patches/prepare-for-python3.patch less more
0 --- a/ldapdomaindump/__init__.py
1 +++ b/ldapdomaindump/__init__.py
2 @@ -25,7 +25,11 @@
3 import sys, os, re, codecs, json, argparse, getpass, base64
4 # import class and constants
5 from datetime import datetime
6 -from urllib import quote_plus
7 +# Handle python3: urllib has been split into parts
8 +try:
9 + from urllib import quote_plus
10 +except:
11 + from urllib.parse import quote_plus
12
13 import ldap3
14 from ldap3 import Server, Connection, SIMPLE, SYNC, ALL, SASL, NTLM
15 @@ -799,11 +803,11 @@ class reportWriter(object):
16
17 #Some quick logging helpers
18 def log_warn(text):
19 - print '[!] %s' % text
20 + print ('[!] %s' % text)
21 def log_info(text):
22 - print '[*] %s' % text
23 + print ('[*] %s' % text)
24 def log_success(text):
25 - print '[+] %s' % text
26 + print ('[+] %s' % text)
27
28 def main():
29 parser = argparse.ArgumentParser(description='Domain information dumper via LDAP. Dumps users/computers/groups and OS/membership information to HTML/JSON/greppable output.')
+0
-1
debian/patches/series less more
0 prepare-for-python3.patch
99 dh_install
1010 # don't install the python2 binaries to avoid conflicts between
1111 # Python2 and Python3 packages.
12 rm debian/python2-ldapdomaindump/usr/bin/ldapdomaindump
13 rm debian/python2-ldapdomaindump/usr/bin/ldd2bloodhound
12 rm debian/python-ldapdomaindump/usr/bin/ldapdomaindump
13 rm debian/python-ldapdomaindump/usr/bin/ldd2bloodhound