./net/py-impacket, Collection of Python classes for working with network protocols

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.9.24nb2, Package name: py39-impacket-0.9.24nb2, Maintainer: pkgsrc-users

Impacket is a collection of Python classes for working with network
protocols. Impacket is mostly focused on providing low-level
programmatic access to the packets, however some protocols (for
instance NMB and SMB) are implemented in a higher level as a
foundation for other protocols. Packets can be constructed from
scratch, as well as parsed from raw data, and the object oriented
API makes it simple to work with deep hierarchies of protocols.

Impacket is most useful when used together with a packet capture
utility or package such as Pcapy, an object oriented Python extension
for capturing network packets.

Required to run:
[security/py-OpenSSL] [devel/py-setuptools] [security/py-asn1] [www/py-flask] [lang/py-six] [databases/py-ldap3] [security/py-cryptodome] [lang/python37] [net/py-ldapdomaindump]

Required to build:

Master sites:

Filesize: 6981.439 KB

Version history: (Expand)

CVS history: (Expand)

   2022-04-29 13:56:47 by Thomas Klausner | Files touched by this commit (29) | Package updated
Log message:
*: mark py-flask dependencies as not-for-python-2.x

I'll update py-flask soon; the current pkgsrc of py-flask version
is broken and all newer versions do not support python 2.x
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-12-01 17:29:05 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
py-impacket: fix building
   2021-11-10 11:56:10 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-impacket: updated to 0.9.24

Impacket v0.9.24 (October 2021):

1. Library improvements
        * Fixed WMI objects parsing
        * Added the RpcAddPrinterDriverEx method and related structures to \ 
[MS-RPRN]: Print System Remote Protocol
        * Initial implementation of [MS-PAR]: Print System Asynchronous Remote \ 
        * Complying MS-RPCH with HTTP/1.1
        * Added return of server time in case of Kerberos error

2. Examples improvements
        * [getST.py](examples/getST.py):
           * Added support for a custom additional ticket for S4U2Proxy
        * [ntlmrelayx.py](examples/ntlmrelayx.py):
           * Added Negotiate authentication support to the HTTP server
           * Added anonymous session handling in the HTTP server
           * Fixed error in ldapattack.py when trying to escalate with machine \ 
           * Added the implementation of AD CS attack
           * Disabled the anonymous logon in the SMB server
        * [psexec.py](examples/psexec.py):
           * Fixed decoding problems on multi bytes characters
        * [reg.py](examples/reg.py):
           * Implemented ADD and DELETE functionalities
        * [secretsdump.py](examples/secretsdump.py):
           * Speeding up NTDS parsing
        * [smbclient.py](examples/smbclient.py):
           * Added 'mget' command which allows the download of multiple files
           * Handling empty search count in FindFileBothDirectoryInfo
        * [smbpasswd.py](examples/smbpasswd.py):
           * Added the ability to change a user's password providing NTLM hashes
        * [smbserver.py](examples/smbserver.py):
           * Added NULL SMBv2 client connection handling
           * Hardened path checks and Added TID checks
           * Added SMB2 support to QUERY_INFO Request and Enabled SMB_COM_FLUSH \ 
           * Added missing constant and structure for the QUERY_FS Information \ 
        * [wmipersist.py](examples/wmipersist.py):
           * Fixed VBA script execution and improved error checking

3. New examples
        * [rbcd.py](examples/rbcd.py): Example script for handling the \ 
msDS-AllowedToActOnBehalfOfOtherIdentity property of a target computer
   2021-10-26 13:07:15 by Nia Alarie | Files touched by this commit (958)
Log message:
net: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts...):


The following distfiles could not be fetched (fetched conditionally?):

./net/citrix_ica/distinfo citrix_ica-10.6.115659/en.linuxx86.tar.gz
./net/djbdns/distinfo dnscache-1.05-multiple-ip.patch
./net/djbdns/distinfo djbdns-1.05-test28.diff.xz
./net/djbdns/distinfo djbdns-1.05-ignoreip2.patch
./net/djbdns/distinfo djbdns-1.05-multiip.diff
./net/djbdns/distinfo djbdns-cachestats.patch
   2021-10-07 16:43:07 by Nia Alarie | Files touched by this commit (962)
Log message:
net: Remove SHA1 hashes for distfiles
   2021-09-27 21:00:29 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-impacket: updated to 0.9.23

Impacket v0.9.23:

Library improvements

Support connect timeout with SMBTransport
Speeding up DcSync
Fixed Python3 issue when serving SOCKS5 requests
Moved docker container to Python 3.8
Added basic GitHub Actions workflow
Fixed Path Traversal vulnerabilities in smbserver.py - CVE-2021-31800
Fixed POST request processing in httprelayserver.py
Added cat command to smbclient.py
Added new features to the LDAP Interactive Shell to facilitate AD exploitation
Python 3.9 support

Examples improvements

Enable the machine account created via SAMR
Added exploit for CVE-2020-17049 - Kerberos Bronze Bit attack
Compute NTHash and AESKey for the Bronze Bit attack automatically
Fixed target parsing error
Fixed filterBinding error
Added PowerShell option for semi-interactive shells in dcomexec.py, smbexec.py \ 
and wmiexec.py
Added new parameter to select COMVERSION in dcomexec.py, wmiexec.py, \ 
wmipersist.py and wmiquery.py

New examples

Get-GPPPassword.py: This example extracts and decrypts Group Policy Preferences \ 
passwords using streams for treating files instead of mounting shares. \ 
Additionally, it can parse GPP XML files offline
smbpasswd.py: This script is an alternative to smbpasswd tool and intended to be \ 
used for changing expired passwords remotely over SMB (MSRPC-SAMR)