Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net Add net/py-ldapdomaindump Version 0.9.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/0cfd7379a78d
branches: trunk
changeset: 430367:0cfd7379a78d
user: nikita <nikita%pkgsrc.org@localhost>
date: Thu Apr 30 11:48:42 2020 +0000
description:
Add net/py-ldapdomaindump Version 0.9.1
In an Active Directory domain, a lot of interesting information can be
retrieved via LDAP by any authenticated user (or machine). This makes
LDAP an interesting protocol for gathering information in the recon
phase of a pentest of an internal network. A problem is that data from
LDAP often is not available in an easy to read format.
ldapdomaindump is a tool which aims to solve this problem, by
collecting and parsing information available via LDAP and outputting
it in a human readable HTML format, as well as machine readable json
and csv/tsv/greppable files.
The tool was designed with the following goals in mind:
- Easy overview of all users/groups/computers/policies in the domain
- Authentication both via username and password, as with NTLM hashes
(requires ldap3 >=1.3.1)
- Possibility to run the tool with an existing authenticated
connection to an LDAP service, allowing for integration with
relaying tools such as impackets ntlmrelayx
The tool outputs several files containing an overview of objects in
the domain:
- domain_groups: List of groups in the domain
- domain_users: List of users in the domain
- domain_computers: List of computer accounts in the domain
- domain_policy: Domain policy such as password requirements and
lockout policy
- domain_trusts: Incoming and outgoing domain trusts, and their
properties
As well as two grouped files:
- domain_users_by_group: Domain users per group they are member of
- domain_computers_by_os: Domain computers sorted by Operating System
diffstat:
net/Makefile | 3 ++-
net/py-ldapdomaindump/DESCR | 32 ++++++++++++++++++++++++++++++++
net/py-ldapdomaindump/Makefile | 19 +++++++++++++++++++
net/py-ldapdomaindump/PLIST | 24 ++++++++++++++++++++++++
net/py-ldapdomaindump/distinfo | 6 ++++++
5 files changed, 83 insertions(+), 1 deletions(-)
diffs (114 lines):
diff -r a517b7bc98b3 -r 0cfd7379a78d net/Makefile
--- a/net/Makefile Thu Apr 30 11:47:45 2020 +0000
+++ b/net/Makefile Thu Apr 30 11:48:42 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1323 2020/04/30 11:43:27 nikita Exp $
+# $NetBSD: Makefile,v 1.1324 2020/04/30 11:48:42 nikita Exp $
#
COMMENT= Networking tools
@@ -692,6 +692,7 @@
SUBDIR+= py-junos-eznc
SUBDIR+= py-kenosis
SUBDIR+= py-kombu
+SUBDIR+= py-ldapdomaindump
SUBDIR+= py-lexicon
SUBDIR+= py-libdnet
SUBDIR+= py-libpcap
diff -r a517b7bc98b3 -r 0cfd7379a78d net/py-ldapdomaindump/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-ldapdomaindump/DESCR Thu Apr 30 11:48:42 2020 +0000
@@ -0,0 +1,32 @@
+In an Active Directory domain, a lot of interesting information can be
+retrieved via LDAP by any authenticated user (or machine). This makes
+LDAP an interesting protocol for gathering information in the recon
+phase of a pentest of an internal network. A problem is that data from
+LDAP often is not available in an easy to read format.
+
+ldapdomaindump is a tool which aims to solve this problem, by
+collecting and parsing information available via LDAP and outputting
+it in a human readable HTML format, as well as machine readable json
+and csv/tsv/greppable files.
+
+The tool was designed with the following goals in mind:
+- Easy overview of all users/groups/computers/policies in the domain
+- Authentication both via username and password, as with NTLM hashes
+ (requires ldap3 >=1.3.1)
+- Possibility to run the tool with an existing authenticated
+ connection to an LDAP service, allowing for integration with
+ relaying tools such as impackets ntlmrelayx
+
+The tool outputs several files containing an overview of objects in
+the domain:
+- domain_groups: List of groups in the domain
+- domain_users: List of users in the domain
+- domain_computers: List of computer accounts in the domain
+- domain_policy: Domain policy such as password requirements and
+ lockout policy
+- domain_trusts: Incoming and outgoing domain trusts, and their
+ properties
+
+As well as two grouped files:
+- domain_users_by_group: Domain users per group they are member of
+- domain_computers_by_os: Domain computers sorted by Operating System
diff -r a517b7bc98b3 -r 0cfd7379a78d net/py-ldapdomaindump/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-ldapdomaindump/Makefile Thu Apr 30 11:48:42 2020 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2020/04/30 11:48:42 nikita Exp $
+
+DISTNAME= ldapdomaindump-0.9.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= net python
+MASTER_SITES= ${MASTER_SITE_PYPI:=l/ldapdomaindump/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/dirkjanm/ldapdomaindump
+COMMENT= Collection of Python classes for working with network protocols
+LICENSE= apache-1.1
+
+DEPENDS+= ${PYPKGPREFIX}-ldap3-[0-9]*:../../databases/py-ldap3
+DEPENDS+= ${PYPKGPREFIX}-dnspython-[0-9]*:../../net/py-dnspython
+DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a517b7bc98b3 -r 0cfd7379a78d net/py-ldapdomaindump/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-ldapdomaindump/PLIST Thu Apr 30 11:48:42 2020 +0000
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/30 11:48:42 nikita Exp $
+bin/ldapdomaindump
+bin/ldd2bloodhound
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/ldapdomaindump/__init__.py
+${PYSITELIB}/ldapdomaindump/__main__.py
+${PYSITELIB}/ldapdomaindump/__init__.pyo
+${PYSITELIB}/ldapdomaindump/__init__.pyc
+${PYSITELIB}/ldapdomaindump/__main__.pyo
+${PYSITELIB}/ldapdomaindump/__main__.pyc
+${PYSITELIB}/ldapdomaindump/config.pyo
+${PYSITELIB}/ldapdomaindump/config.pyc
+${PYSITELIB}/ldapdomaindump/convert.pyo
+${PYSITELIB}/ldapdomaindump/convert.pyc
+${PYSITELIB}/ldapdomaindump/domaindumper.pyo
+${PYSITELIB}/ldapdomaindump/domaindumper.pyc
+${PYSITELIB}/ldapdomaindump/config.py
+${PYSITELIB}/ldapdomaindump/convert.py
+${PYSITELIB}/ldapdomaindump/domaindumper.py
+${PYSITELIB}/ldapdomaindump/style.css
diff -r a517b7bc98b3 -r 0cfd7379a78d net/py-ldapdomaindump/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-ldapdomaindump/distinfo Thu Apr 30 11:48:42 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/30 11:48:42 nikita Exp $
+
+SHA1 (ldapdomaindump-0.9.1.tar.gz) = 7309760f51f39ab4ab92c0fc57f7e6638e71baa7
+RMD160 (ldapdomaindump-0.9.1.tar.gz) = aeb50508eb2326dd0c5c1551181dea660fd47a00
+SHA512 (ldapdomaindump-0.9.1.tar.gz) = 952981d65366b1f243714ce5ed053bbb08e27174e3789d803a65010a7ff5ae2b9af88f4b91ad826c8b75b3f323bf0505a217dc42224ef7974e236ee8bc5f6c5e
+Size (ldapdomaindump-0.9.1.tar.gz) = 17764 bytes
Home |
Main Index |
Thread Index |
Old Index