forked from pool/python-impacket
Accepting request 1201560 from home:mnhauke
- Update to version 0.12.0
Library improvements
* Fixed broken hRSetServiceObjectSecurity method.
* Removed dsinternals dependency.
* Fixed srvs.hNetrShareEnum returning erronous shares.
* Fixed lmhash computing to support non standard characters in
the password.
* Assorted fixes when processing Unicode data.
* Added [MS-GKDI] Group Key Distribution Protocol implementation.
* Fixed incorrect padding in
SMBSessionSetupAndX_Extended_ResponseData.
* Upgraded dependency pyreadline -> pyreadline3.
* SMB Server:
+ Added query information level 0x0109 for smb1
"SMB_QUERY_FILE_STREAM_INFO".
+ Fixed filename encoding in queryPathInformation.
+ Fixed NextEntryOffset for large directory listings.
+ Fixed server returning an empty folder when cutting and
pasting recursive directories.
* DHCP: Fixed encoding issues.
Example Improvements
* multiple improvements, see
https://github.com/fortra/impacket/releases/tag/impacket_0_12_0
New Examples
* describeTicket.py: Ticket describer and decrypter.
* GetADComputers.py: Query's DC via LDAP and returns the COMPUTER
objects and the useful attributes such as full dns name,
operating system name and version.
* GetLAPSPassword.py: Extract LAPS passwords from LDAP.
* dacledit.py: This script can be used to read, write, remove,
OBS-URL: https://build.opensuse.org/request/show/1201560
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-impacket?expand=0&rev=19
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ee4039b4d2aede8f5f64478bc59faac86036796be24dea8dc18f009fb0905e4a
|
||||
size 1502931
|
||||
3
impacket-0.12.0.tar.gz
Normal file
3
impacket-0.12.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:89587d1b836a5220d74848c934757962b382886dca8b1b4a0c44d693f2600643
|
||||
size 1575482
|
||||
@@ -1,3 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 17 08:55:05 UTC 2024 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 0.12.0
|
||||
Library improvements
|
||||
* Fixed broken hRSetServiceObjectSecurity method.
|
||||
* Removed dsinternals dependency.
|
||||
* Fixed srvs.hNetrShareEnum returning erronous shares.
|
||||
* Fixed lmhash computing to support non standard characters in
|
||||
the password.
|
||||
* Assorted fixes when processing Unicode data.
|
||||
* Added [MS-GKDI] Group Key Distribution Protocol implementation.
|
||||
* Fixed incorrect padding in
|
||||
SMBSessionSetupAndX_Extended_ResponseData.
|
||||
* Upgraded dependency pyreadline -> pyreadline3.
|
||||
* SMB Server:
|
||||
+ Added query information level 0x0109 for smb1
|
||||
"SMB_QUERY_FILE_STREAM_INFO".
|
||||
+ Fixed filename encoding in queryPathInformation.
|
||||
+ Fixed NextEntryOffset for large directory listings.
|
||||
+ Fixed server returning an empty folder when cutting and
|
||||
pasting recursive directories.
|
||||
* DHCP: Fixed encoding issues.
|
||||
Example Improvements
|
||||
* multiple improvements, see
|
||||
https://github.com/fortra/impacket/releases/tag/impacket_0_12_0
|
||||
New Examples
|
||||
* describeTicket.py: Ticket describer and decrypter.
|
||||
* GetADComputers.py: Query's DC via LDAP and returns the COMPUTER
|
||||
objects and the useful attributes such as full dns name,
|
||||
operating system name and version.
|
||||
* GetLAPSPassword.py: Extract LAPS passwords from LDAP.
|
||||
* dacledit.py: This script can be used to read, write, remove,
|
||||
backup, restore ACEs (Access Control Entries) in an object
|
||||
DACL (Discretionary Access Control List).
|
||||
* owneredit.py: Added this script to abuse WriteOwner
|
||||
(ADS_RIGHT_WRITE_OWNER) access rights. This allows to take
|
||||
ownership of another object, and then edit that object's DACL.
|
||||
- Remove patch:
|
||||
* remove-future-requirement.patch (was merged upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 20:28:09 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#
|
||||
# spec file for package python-impacket
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2020-2023, Martin Hauke <mardnh@gmx.de>
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2020-2024, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,10 +17,10 @@
|
||||
#
|
||||
|
||||
|
||||
%define binaries impacket-GetADUsers impacket-Get-GPPPassword impacket-GetNPUsers impacket-GetUserSPNs impacket-DumpNTLMInfo impacket-addcomputer impacket-atexec impacket-changepasswd impacket-dcomexec impacket-dpapi impacket-esentutl impacket-exchanger impacket-findDelegation impacket-getArch impacket-getPac impacket-getST impacket-getTGT impacket-goldenPac impacket-karmaSMB impacket-keylistattack impacket-kintercept impacket-lookupsid impacket-machine_role impacket-mimikatz impacket-mqtt_check impacket-mssqlclient impacket-mssqlinstance impacket-net impacket-netview impacket-nmapAnswerMachine impacket-ntfs-read impacket-ntlmrelayx impacket-ping impacket-ping6 impacket-psexec impacket-raiseChild impacket-rbcd impacket-rdp_check impacket-reg impacket-registry-read impacket-rpcmap impacket-rpcdump impacket-sambaPipe impacket-samrdump impacket-secretsdump impacket-services impacket-smbclient impacket-smbexec impacket-smbpasswd impacket-smbrelayx impacket-smbserver impacket-sniff impacket-sniffer impacket-split impacket-ticketConverter impacket-ticketer impacket-tstool impacket-wmiexec impacket-wmipersist impacket-wmiquery
|
||||
%define binaries impacket-GetADUsers impacket-GetADComputers impacket-Get-GPPPassword impacket-GetLAPSPassword impacket-GetNPUsers impacket-GetUserSPNs impacket-DumpNTLMInfo impacket-addcomputer impacket-atexec impacket-changepasswd impacket-dacledit impacket-dcomexec impacket-describeTicket impacket-dpapi impacket-esentutl impacket-exchanger impacket-findDelegation impacket-getArch impacket-getPac impacket-getST impacket-getTGT impacket-goldenPac impacket-karmaSMB impacket-keylistattack impacket-kintercept impacket-lookupsid impacket-machine_role impacket-mimikatz impacket-mqtt_check impacket-mssqlclient impacket-mssqlinstance impacket-net impacket-netview impacket-ntfs-read impacket-ntlmrelayx impacket-owneredit impacket-ping impacket-ping6 impacket-psexec impacket-raiseChild impacket-rbcd impacket-rdp_check impacket-reg impacket-registry-read impacket-rpcmap impacket-rpcdump impacket-sambaPipe impacket-samrdump impacket-secretsdump impacket-services impacket-smbclient impacket-smbexec impacket-smbserver impacket-sniff impacket-sniffer impacket-split impacket-ticketConverter impacket-ticketer impacket-tstool impacket-wmiexec impacket-wmipersist impacket-wmiquery
|
||||
|
||||
Name: python-impacket
|
||||
Version: 0.11.0
|
||||
Version: 0.12.0
|
||||
Release: 0
|
||||
Summary: Python3 module to easily build and dissect network protocols
|
||||
# License: modified Apache-1.1 (see file LICENSE)
|
||||
@@ -29,8 +29,6 @@ Group: Development/Languages/Python
|
||||
URL: https://www.secureauth.com/labs/open-source-tools/impacket
|
||||
#Git-Clone: https://github.com/fortra/impacket.git
|
||||
Source: https://files.pythonhosted.org/packages/source/i/impacket/impacket-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM gh#fortra/impacket#1598
|
||||
Patch0: remove-future-requirement.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
@@ -38,7 +36,6 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Flask >= 1.0
|
||||
Requires: python-charset-normalizer
|
||||
Requires: python-dsinternals
|
||||
Requires: python-ldap3 >= 2.5
|
||||
Requires: python-ldapdomaindump >= 0.9.0
|
||||
Requires: python-pyOpenSSL >= 0.13.1
|
||||
@@ -47,7 +44,7 @@ Requires: python-pycryptodomex
|
||||
Requires: python-setuptools
|
||||
Requires: python-six
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Flask >= 1.0}
|
||||
@@ -76,6 +73,7 @@ as examples of what can be done within the context of this library.
|
||||
%autosetup -p1 -n impacket-%{version}
|
||||
sed -e '/^#!\//, 1d' -i \
|
||||
impacket/examples/ntlmrelayx/servers/socksserver.py \
|
||||
impacket/examples/mssqlshell.py \
|
||||
impacket/mqtt.py
|
||||
|
||||
%build
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
From b4bd3dab932d655586601cfe407f7bcc69d521d9 Mon Sep 17 00:00:00 2001
|
||||
From: anadrianmanrique <adrian.manrique@gmail.com>
|
||||
Date: Tue, 15 Aug 2023 20:36:47 +0000
|
||||
Subject: [PATCH 1/2] added setuptools requirement for pkg_resources python
|
||||
library removed future as it wasn't being used
|
||||
|
||||
---
|
||||
requirements.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/requirements.txt b/requirements.txt
|
||||
index cd19c89ec..3e113aae2 100644
|
||||
--- a/requirements.txt
|
||||
+++ b/requirements.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-future
|
||||
+setuptools
|
||||
six
|
||||
charset_normalizer
|
||||
pyasn1>=0.2.3
|
||||
|
||||
From 479750fe2df28bcd1441404fe031be5a5d216c05 Mon Sep 17 00:00:00 2001
|
||||
From: anadrianmanrique <adrian.manrique@gmail.com>
|
||||
Date: Wed, 16 Aug 2023 13:10:46 +0000
|
||||
Subject: [PATCH 2/2] added setuptools to requirements, removed future
|
||||
|
||||
---
|
||||
setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 47a651f66..f9484a04c 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -68,7 +68,7 @@ def read(fname):
|
||||
scripts=glob.glob(os.path.join('examples', '*.py')),
|
||||
data_files=data_files,
|
||||
install_requires=['pyasn1>=0.2.3', 'pycryptodomex', 'pyOpenSSL>=21.0.0', 'six', 'ldap3>=2.5,!=2.5.2,!=2.5.0,!=2.6',
|
||||
- 'ldapdomaindump>=0.9.0', 'flask>=1.0', 'future', 'charset_normalizer', 'dsinternals'],
|
||||
+ 'ldapdomaindump>=0.9.0', 'flask>=1.0', 'setuptools', 'charset_normalizer', 'dsinternals'],
|
||||
extras_require={'pyreadline:sys_platform=="win32"': [],
|
||||
},
|
||||
classifiers=[
|
||||
Reference in New Issue
Block a user