pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   nikita
Date:           Thu Apr 30 11:48:42 UTC 2020

Modified Files:
        pkgsrc/net: Makefile
Added Files:
        pkgsrc/net/py-ldapdomaindump: DESCR Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.1323 -r1.1324 pkgsrc/net/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-ldapdomaindump/DESCR \
    pkgsrc/net/py-ldapdomaindump/Makefile pkgsrc/net/py-ldapdomaindump/PLIST \
    pkgsrc/net/py-ldapdomaindump/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/Makefile
diff -u pkgsrc/net/Makefile:1.1323 pkgsrc/net/Makefile:1.1324
--- pkgsrc/net/Makefile:1.1323  Thu Apr 30 11:43:27 2020
+++ pkgsrc/net/Makefile Thu Apr 30 11:48:42 2020
@@ -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-irclib
 SUBDIR+=       py-junos-eznc
 SUBDIR+=       py-kenosis
 SUBDIR+=       py-kombu
+SUBDIR+=       py-ldapdomaindump
 SUBDIR+=       py-lexicon
 SUBDIR+=       py-libdnet
 SUBDIR+=       py-libpcap

Added files:

Index: pkgsrc/net/py-ldapdomaindump/DESCR
diff -u /dev/null pkgsrc/net/py-ldapdomaindump/DESCR:1.1
--- /dev/null   Thu Apr 30 11:48:42 2020
+++ pkgsrc/net/py-ldapdomaindump/DESCR  Thu Apr 30 11:48:42 2020
@@ -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
Index: pkgsrc/net/py-ldapdomaindump/Makefile
diff -u /dev/null pkgsrc/net/py-ldapdomaindump/Makefile:1.1
--- /dev/null   Thu Apr 30 11:48:42 2020
+++ pkgsrc/net/py-ldapdomaindump/Makefile       Thu Apr 30 11:48:42 2020
@@ -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"
Index: pkgsrc/net/py-ldapdomaindump/PLIST
diff -u /dev/null pkgsrc/net/py-ldapdomaindump/PLIST:1.1
--- /dev/null   Thu Apr 30 11:48:42 2020
+++ pkgsrc/net/py-ldapdomaindump/PLIST  Thu Apr 30 11:48:42 2020
@@ -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
Index: pkgsrc/net/py-ldapdomaindump/distinfo
diff -u /dev/null pkgsrc/net/py-ldapdomaindump/distinfo:1.1
--- /dev/null   Thu Apr 30 11:48:42 2020
+++ pkgsrc/net/py-ldapdomaindump/distinfo       Thu Apr 30 11:48:42 2020
@@ -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