fc37a6759b
ChangeLog for 0.9.22: Library improvements Added implementation of RPC over HTTP v2 protocol (by @mohemiv). Added MS-NSPI, MS-OXNSPI and MS-OXABREF protocol implementations (by @mohemiv). Improved the multi-page results in LDAP queries (by @ThePirateWhoSmellsOfSunflowers). NDR parser optimization (by @mohemiv). Improved serialization of WMI method parameters (by @tshmul). Introduce the MS-NLMP 2.2.2.10 VERSION structure in NTLMAuthNegotiate messages (by @franferrax). Added some NETLOGON structs for NetrServerPasswordSet2 (by @dirkjanm). Python 3.8 support. Examples improvements atexec.py: Fixed after MS patches related to RPC attacks (by @mohemiv). dpapi.py: Added -no-pass, pass-the-hash and AES Key support for backup subcommand. GetNPUsers.py: Added ability to enumerate targets with Kerberos KRB5CC (by @rmaksimov). GetUserSPNs.py: Added new features for kerberoasting (by @mohemiv). ntlmrelayx.py: Added ability to relay on new Windows versions that have SMB guest access disabled by default. Added option to specify the NTLM Server Challenge used when receiving a connection. Added relaying to RPC support (by @mohemiv). Implemented WCFRelayServer (by @cnotin). Added Zerologon DCSync Relay Client (by @dirkjanm). Fixed issue in ldapattack.py when relaying and creating computer in CN=Computers (by @Hackndo). rpcdump.py: Added RPC over HTTP v2 support (by @mohemiv). secretsdump.py: Added ability to specifically delete a shadow based on its ID (by @phefley). Dump plaintext machine account password when dumping the local registry secrets(by @dirkjanm). New examples exchanger.py: A tool for connecting to MS Exchange via RPC over HTTP v2 (by @mohemiv). rpcmap.py: Scan for listening DCE/RPC interfaces (by @mohemiv).
68 lines
2.9 KiB
Makefile
68 lines
2.9 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2021/01/20 09:08:46 adam Exp $
|
|
|
|
DISTNAME= impacket-0.9.22
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= net python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=i/impacket/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.secureauth.com/labs/open-source-tools/impacket
|
|
COMMENT= Collection of Python classes for working with network protocols
|
|
LICENSE= apache-1.1
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.13.1:../../security/py-OpenSSL
|
|
DEPENDS+= ${PYPKGPREFIX}-asn1>=0.2.3:../../security/py-asn1
|
|
DEPENDS+= ${PYPKGPREFIX}-cryptodome-[0-9]*:../../security/py-cryptodome
|
|
DEPENDS+= ${PYPKGPREFIX}-flask>=1.0:../../www/py-flask
|
|
DEPENDS+= ${PYPKGPREFIX}-ldap3>=2.6:../../databases/py-ldap3
|
|
DEPENDS+= ${PYPKGPREFIX}-ldapdomaindump>=0.9.0:../../net/py-ldapdomaindump
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.if ${_PYTHON_VERSION} == 27
|
|
DEPENDS+= ${PYPKGPREFIX}-argparse-[0-9]*:../../devel/py-argparse
|
|
.endif
|
|
|
|
SUBST_CLASSES+= crypto
|
|
SUBST_STAGE.crypto= pre-configure
|
|
SUBST_MESSAGE.crypto= Switching from py-cryptodomex to py-cryptodome.
|
|
SUBST_FILES.crypto+= examples/dpapi.py
|
|
SUBST_FILES.crypto+= examples/goldenPac.py
|
|
SUBST_FILES.crypto+= examples/mimikatz.py
|
|
SUBST_FILES.crypto+= examples/rdp_check.py
|
|
SUBST_FILES.crypto+= examples/smbrelayx.py
|
|
SUBST_FILES.crypto+= impacket/crypto.py
|
|
SUBST_FILES.crypto+= impacket/dcerpc/v5/drsuapi.py
|
|
SUBST_FILES.crypto+= impacket/dcerpc/v5/nrpc.py
|
|
SUBST_FILES.crypto+= impacket/dcerpc/v5/rpcrt.py
|
|
SUBST_FILES.crypto+= impacket/dcerpc/v5/samr.py
|
|
SUBST_FILES.crypto+= impacket/dpapi.py
|
|
SUBST_FILES.crypto+= impacket/examples/ntlmrelayx/attacks/ldapattack.py
|
|
SUBST_FILES.crypto+= impacket/examples/secretsdump.py
|
|
SUBST_FILES.crypto+= impacket/krb5/crypto.py
|
|
SUBST_FILES.crypto+= impacket/krb5/gssapi.py
|
|
SUBST_FILES.crypto+= impacket/ntlm.py
|
|
SUBST_FILES.crypto+= impacket/smb3.py
|
|
SUBST_FILES.crypto+= tests/SMB_RPC/test_mimilib.py
|
|
SUBST_FILES.crypto+= tests/SMB_RPC/test_nrpc.py
|
|
SUBST_FILES.crypto+= tests/SMB_RPC/test_ntlm.py
|
|
SUBST_FILES.crypto+= tests/SMB_RPC/test_samr.py
|
|
SUBST_FILES.crypto+= tests/misc/test_dpapi.py
|
|
SUBST_SED.crypto= -e 's,Cryptodome,Crypto,'
|
|
|
|
post-install:
|
|
.for bin in GetADUsers GetNPUsers GetUserSPNs addcomputer atexec dcomexec dpapi \
|
|
esentutl exchanger findDelegation getArch getPac getST getTGT goldenPac karmaSMB \
|
|
kintercept lookupsid mimikatz mqtt_check mssqlclient mssqlinstance netview \
|
|
nmapAnswerMachine ntfs-read ntlmrelayx ping ping6 psexec raiseChild \
|
|
rdp_check reg registry-read rpcdump sambaPipe samrdump secretsdump services \
|
|
smbclient smbexec smbrelayx smbserver sniff sniffer split ticketConverter \
|
|
ticketer wmiexec wmipersist wmiquery
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} ${bin}.py ${bin}-${PYVERSSUFFIX}.py || ${TRUE}
|
|
.endfor
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|