pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/py-impacket



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov 11 14:09:00 UTC 2025

Modified Files:
        pkgsrc/net/py-impacket: Makefile PLIST distinfo

Log Message:
py-impacket: updated to 0.13.0

Impacket v0.13.0 (Oct 2025):

1. Library improvements

* Major SMB client/server refactor adds setInfo support, CIFS datetime helpers, and safer default share access to enable remote attribute and timestamp management. (@covertivy)

* Introduced per-structure encoding selectors and UTF-8-aware SMB structures so non-Latin resource names round-trip correctly. (@alexisbalbachan)

* Strengthened LDAP/Kerberos handling with channel binding plus signing, schema alignment with ldap3, and LDAPS-based LAPS retrieval against Windows Server 2025 DCs. (@zblurx, @alexisbalbachan, 
@Ibrahim8879)

* Improved DCE/RPC coverage with Netlogon authenticator fixes, updated DRS bind flags, expanded EVEN6 decoding, and a new ICPR interface to support relay-aware RPC workflows. 
(@ThePirateWhoSmellsOfSunflowers, @h3-josh-the-engineer, @NtAlexio2, @rtpt-romankarwacik)

* Corrected SMB negotiation edge cases by fixing response padding, Unicode pipe lookups, and keyboard interrupts in SMB servers. (@rtpt-erikgeiser, @Abyss-emmm, @exploide)

* SMB Server enhancements to align Impacket's implementation with standard (@jborean93)

2. Authentication & relay tooling

* Added WinRMS relay clients/servers. (@Defte_)

* Improved IPv6 support, richer logging, and consistent console status reporting, plus an identity log to track compromised principals ( @gabrielg5)

* Introduced an RPC relay server with Endpoint Mapper discovery . (@rtpt-romankarwacik)

* Delivered SCCM Management/Distribution Point relay attacks. (@q-roland)

* Enhanced shadow credentials, SOCKS plugins, and target rotation with better IPv6 awareness and stability. (@anadrianmanrique, @gabrielg5)

* Added options to strip SSP from Net-NTLMv1 captures and write relay-captured hashes for cracking workflows. (@TurtleARM, @p0rtL6)

3. Examples improvements

* secretsdump.py gained a WMI shadow snapshot path, export hive boot key recovery, safer DRS flags, user-status reporting, and refined NTDS parsing. (@PeterGabaldon, @MaxToffy, @h3-josh-the-engineer, 
@Markb1337, @snovvcrash)

* MSSQL tooling gained channel binding tokens, restored reliable connections, richer linked-server file transfers, and inline command execution. (@Defte_, @rtpt-romankarwacik, @trietend, @kiriknik, 
@Signum21)

* Directory ACL helpers (`dacledit`, `owneredit`, `rbcd`, `ldapshell`) picked up mask selection, safer queries, and consistent `-dc-host` handling. (@dadevel, @shellinvictus, @Fabrizzio53, 
@ICheer_No0M, @gabrielg5)

* SMB operator utilities add reconnect and autocomplete options in smbclient and prevent smbexec from hanging on completion. (@daddycocoaman, @trietend, @Vincent550102)

* Remote access helpers such as rdp_check and wmiexec now support IPv6 targets and display created Process IDs for easier triage. (@gabrielg5, @alexisbalbachan)

4. New examples

* [attrib.py](examples/attrib.py) manipulates file attributes over SMB to showcase the new setInfo workflow. (@covertivy)

* [filetime.py](examples/filetime.py) inspects and updates SMB file timestamps using the refreshed SMBConnection APIs. (@covertivy)

* [badsuccessor.py](examples/badsuccessor.py) demonstrates the AD CS “bad successor” attack path. (@fulc2um)

* [regsecrets.py](examples/regsecrets.py) extracts LSA secrets from remote registry hives through [MS-RRP]. (@laxaa, @laxa)

* [samedit.py](examples/samedit.py) edits local SAM password hashes offline. (@iorpim)

* [CheckLDAPStatus.py](examples/CheckLDAPStatus.py) checks LDAP signing status and LDAPS channel binding status. (@zblurx)

5. Project & packaging

* Added the `impacket.mssql` namespace, relaxed the pyOpenSSL pin, and declared Python 3.13 support while dropping 3.8. (@anadrianmanrique, @Defte_)

* Replaced pkg_resources with importlib.metadata for lightweight version discovery. (@AdrianVollmer)


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/net/py-impacket/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/net/py-impacket/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/net/py-impacket/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/py-impacket/Makefile
diff -u pkgsrc/net/py-impacket/Makefile:1.15 pkgsrc/net/py-impacket/Makefile:1.16
--- pkgsrc/net/py-impacket/Makefile:1.15        Tue Apr 15 08:15:58 2025
+++ pkgsrc/net/py-impacket/Makefile     Tue Nov 11 14:09:00 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2025/04/15 08:15:58 adam Exp $
+# $NetBSD: Makefile,v 1.16 2025/11/11 14:09:00 adam Exp $
 
-DISTNAME=      impacket-0.12.0
+DISTNAME=      impacket-0.13.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/impacket/}
 

Index: pkgsrc/net/py-impacket/PLIST
diff -u pkgsrc/net/py-impacket/PLIST:1.11 pkgsrc/net/py-impacket/PLIST:1.12
--- pkgsrc/net/py-impacket/PLIST:1.11   Tue Apr 15 08:15:58 2025
+++ pkgsrc/net/py-impacket/PLIST        Tue Nov 11 14:09:00 2025
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.11 2025/04/15 08:15:58 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2025/11/11 14:09:00 adam Exp $
+bin/CheckLDAPStatus.py
 bin/DumpNTLMInfo-${PYVERSSUFFIX}.py
 bin/Get-GPPPassword-${PYVERSSUFFIX}.py
 bin/GetADComputers-${PYVERSSUFFIX}.py
@@ -8,6 +9,8 @@ bin/GetNPUsers-${PYVERSSUFFIX}.py
 bin/GetUserSPNs-${PYVERSSUFFIX}.py
 bin/addcomputer-${PYVERSSUFFIX}.py
 bin/atexec-${PYVERSSUFFIX}.py
+bin/attrib.py
+bin/badsuccessor.py
 bin/changepasswd-${PYVERSSUFFIX}.py
 bin/dacledit-${PYVERSSUFFIX}.py
 bin/dcomexec-${PYVERSSUFFIX}.py
@@ -15,6 +18,7 @@ bin/describeTicket-${PYVERSSUFFIX}.py
 bin/dpapi-${PYVERSSUFFIX}.py
 bin/esentutl-${PYVERSSUFFIX}.py
 bin/exchanger-${PYVERSSUFFIX}.py
+bin/filetime.py
 bin/findDelegation-${PYVERSSUFFIX}.py
 bin/getArch-${PYVERSSUFFIX}.py
 bin/getPac-${PYVERSSUFFIX}.py
@@ -43,9 +47,11 @@ bin/rbcd-${PYVERSSUFFIX}.py
 bin/rdp_check-${PYVERSSUFFIX}.py
 bin/reg-${PYVERSSUFFIX}.py
 bin/registry-read-${PYVERSSUFFIX}.py
+bin/regsecrets.py
 bin/rpcdump-${PYVERSSUFFIX}.py
 bin/rpcmap-${PYVERSSUFFIX}.py
 bin/sambaPipe-${PYVERSSUFFIX}.py
+bin/samedit.py
 bin/samrdump-${PYVERSSUFFIX}.py
 bin/secretsdump-${PYVERSSUFFIX}.py
 bin/services-${PYVERSSUFFIX}.py
@@ -162,6 +168,9 @@ ${PYSITELIB}/impacket/dcerpc/v5/even6.py
 ${PYSITELIB}/impacket/dcerpc/v5/gkdi.py
 ${PYSITELIB}/impacket/dcerpc/v5/gkdi.pyc
 ${PYSITELIB}/impacket/dcerpc/v5/gkdi.pyo
+${PYSITELIB}/impacket/dcerpc/v5/icpr.py
+${PYSITELIB}/impacket/dcerpc/v5/icpr.pyc
+${PYSITELIB}/impacket/dcerpc/v5/icpr.pyo
 ${PYSITELIB}/impacket/dcerpc/v5/iphlp.py
 ${PYSITELIB}/impacket/dcerpc/v5/iphlp.pyc
 ${PYSITELIB}/impacket/dcerpc/v5/iphlp.pyo
@@ -279,6 +288,12 @@ ${PYSITELIB}/impacket/examples/ntlmrelay
 ${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/httpattacks/adcsattack.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/httpattacks/adcsattack.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/httpattacks/adcsattack.pyo
+${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/httpattacks/sccmdpattack.py
+${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/httpattacks/sccmdpattack.pyc
+${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/httpattacks/sccmdpattack.pyo
+${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/httpattacks/sccmpoliciesattack.py
+${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/httpattacks/sccmpoliciesattack.pyc
+${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/httpattacks/sccmpoliciesattack.pyo
 ${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/imapattack.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/imapattack.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/imapattack.pyo
@@ -294,6 +309,9 @@ ${PYSITELIB}/impacket/examples/ntlmrelay
 ${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/smbattack.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/smbattack.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/smbattack.pyo
+${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/winrmattack.py
+${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/winrmattack.pyc
+${PYSITELIB}/impacket/examples/ntlmrelayx/attacks/winrmattack.pyo
 ${PYSITELIB}/impacket/examples/ntlmrelayx/clients/__init__.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/clients/__init__.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/clients/__init__.pyo
@@ -321,6 +339,9 @@ ${PYSITELIB}/impacket/examples/ntlmrelay
 ${PYSITELIB}/impacket/examples/ntlmrelayx/clients/smtprelayclient.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/clients/smtprelayclient.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/clients/smtprelayclient.pyo
+${PYSITELIB}/impacket/examples/ntlmrelayx/clients/winrmrelayclient.py
+${PYSITELIB}/impacket/examples/ntlmrelayx/clients/winrmrelayclient.pyc
+${PYSITELIB}/impacket/examples/ntlmrelayx/clients/winrmrelayclient.pyo
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/__init__.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/__init__.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/__init__.pyo
@@ -330,6 +351,9 @@ ${PYSITELIB}/impacket/examples/ntlmrelay
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/rawrelayserver.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/rawrelayserver.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/rawrelayserver.pyo
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/rpcrelayserver.py
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/rpcrelayserver.pyc
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/rpcrelayserver.pyo
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/smbrelayserver.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/smbrelayserver.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/smbrelayserver.pyo
@@ -348,6 +372,12 @@ ${PYSITELIB}/impacket/examples/ntlmrelay
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/socksplugins/imaps.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/socksplugins/imaps.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/socksplugins/imaps.pyo
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/socksplugins/ldap.py
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/socksplugins/ldap.pyc
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/socksplugins/ldap.pyo
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/socksplugins/ldaps.py
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/socksplugins/ldaps.pyc
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/socksplugins/ldaps.pyo
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/socksplugins/mssql.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/socksplugins/mssql.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/socksplugins/mssql.pyo
@@ -363,6 +393,12 @@ ${PYSITELIB}/impacket/examples/ntlmrelay
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/wcfrelayserver.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/wcfrelayserver.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/servers/wcfrelayserver.pyo
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/winrmrelayserver.py
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/winrmrelayserver.pyc
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/winrmrelayserver.pyo
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/winrmsrelayserver.py
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/winrmsrelayserver.pyc
+${PYSITELIB}/impacket/examples/ntlmrelayx/servers/winrmsrelayserver.pyo
 ${PYSITELIB}/impacket/examples/ntlmrelayx/utils/__init__.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/utils/__init__.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/utils/__init__.pyo
@@ -372,6 +408,9 @@ ${PYSITELIB}/impacket/examples/ntlmrelay
 ${PYSITELIB}/impacket/examples/ntlmrelayx/utils/enum.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/utils/enum.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/utils/enum.pyo
+${PYSITELIB}/impacket/examples/ntlmrelayx/utils/identity_log.py
+${PYSITELIB}/impacket/examples/ntlmrelayx/utils/identity_log.pyc
+${PYSITELIB}/impacket/examples/ntlmrelayx/utils/identity_log.pyo
 ${PYSITELIB}/impacket/examples/ntlmrelayx/utils/shadow_credentials.py
 ${PYSITELIB}/impacket/examples/ntlmrelayx/utils/shadow_credentials.pyc
 ${PYSITELIB}/impacket/examples/ntlmrelayx/utils/shadow_credentials.pyo
@@ -387,6 +426,9 @@ ${PYSITELIB}/impacket/examples/ntlmrelay
 ${PYSITELIB}/impacket/examples/os_ident.py
 ${PYSITELIB}/impacket/examples/os_ident.pyc
 ${PYSITELIB}/impacket/examples/os_ident.pyo
+${PYSITELIB}/impacket/examples/regsecrets.py
+${PYSITELIB}/impacket/examples/regsecrets.pyc
+${PYSITELIB}/impacket/examples/regsecrets.pyo
 ${PYSITELIB}/impacket/examples/remcomsvc.py
 ${PYSITELIB}/impacket/examples/remcomsvc.pyc
 ${PYSITELIB}/impacket/examples/remcomsvc.pyo
@@ -468,6 +510,9 @@ ${PYSITELIB}/impacket/mqtt.pyo
 ${PYSITELIB}/impacket/msada_guids.py
 ${PYSITELIB}/impacket/msada_guids.pyc
 ${PYSITELIB}/impacket/msada_guids.pyo
+${PYSITELIB}/impacket/mssql/version.py
+${PYSITELIB}/impacket/mssql/version.pyc
+${PYSITELIB}/impacket/mssql/version.pyo
 ${PYSITELIB}/impacket/nmb.py
 ${PYSITELIB}/impacket/nmb.pyc
 ${PYSITELIB}/impacket/nmb.pyo

Index: pkgsrc/net/py-impacket/distinfo
diff -u pkgsrc/net/py-impacket/distinfo:1.9 pkgsrc/net/py-impacket/distinfo:1.10
--- pkgsrc/net/py-impacket/distinfo:1.9 Wed Sep 18 09:13:09 2024
+++ pkgsrc/net/py-impacket/distinfo     Tue Nov 11 14:09:00 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2024/09/18 09:13:09 adam Exp $
+$NetBSD: distinfo,v 1.10 2025/11/11 14:09:00 adam Exp $
 
-BLAKE2s (impacket-0.12.0.tar.gz) = c679d61e54cc0aa8c41f5715852f5d29f01778a02d8b00725b982d15a081ae45
-SHA512 (impacket-0.12.0.tar.gz) = 48db5e2973cebc87a84118f2d83202f9583f45b4294e7b17c49da32bd6aedcf4e704447dd9d87e03f754c3947a9759a39624e44c5849718daae9e96b04f9aeb0
-Size (impacket-0.12.0.tar.gz) = 1575482 bytes
+BLAKE2s (impacket-0.13.0.tar.gz) = c9f08e01bdf4114338e15b87d49196d4dffe5451e4051fcf32da2c9382c273ba
+SHA512 (impacket-0.13.0.tar.gz) = a02324d4b3370f501a9f3cd24704eaf04ce17e5c01fe843ce5199d053186003e4c2dd5e4cd1674c1313c8c9ef3fd8738f2d8cc4351a97b1d3deb2d658102b182
+Size (impacket-0.13.0.tar.gz) = 1664694 bytes
 SHA1 (patch-setup.py) = 5b7785ce39692150a0e6eb722ff4e2f710e1f9b2



Home | Main Index | Thread Index | Old Index