From 72ff0ae041d07b5ac5b2f509d69914001a06a54f Mon Sep 17 00:00:00 2001 From: Alexander Neff Date: Sun, 12 Jan 2025 09:28:13 -0500 Subject: [PATCH 1/3] Fix spec file --- netexec.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netexec.spec b/netexec.spec index 58ed79374..2e711d70d 100644 --- a/netexec.spec +++ b/netexec.spec @@ -30,6 +30,7 @@ a = Analysis( 'impacket.tds', 'impacket.version', 'impacket.ldap.ldap', + 'jwt', 'nxc.connection', 'nxc.servers.smb', 'nxc.protocols.smb.wmiexec', @@ -71,6 +72,7 @@ a = Analysis( 'dploot.triage.masterkeys', 'dploot.triage.mobaxterm', 'dploot.triage.backupkey', + 'dploot.triage.wam', 'dploot.triage.wifi', 'dploot.triage.sccm', 'dploot.lib.target', From df0b4bba3a668f93343ad844e34c54ab2131ebe3 Mon Sep 17 00:00:00 2001 From: Alexander Neff Date: Sun, 12 Jan 2025 14:58:32 -0500 Subject: [PATCH 2/3] Add oscrypto from github to fix openssl issue --- poetry.lock | 16 ++++++++++------ pyproject.toml | 1 + 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index 502352029..6b3d086e5 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. [[package]] name = "aardwolf" @@ -1471,14 +1471,18 @@ version = "1.3.0" description = "TLS (SSL) sockets, key generation, encryption, decryption, signing, verification and KDFs using the OS crypto libraries. Does not require a compiler, and relies on the OS for patching. Works on Windows, OS X and Linux/BSD." optional = false python-versions = "*" -files = [ - {file = "oscrypto-1.3.0-py2.py3-none-any.whl", hash = "sha256:2b2f1d2d42ec152ca90ccb5682f3e051fb55986e1b170ebde472b133713e7085"}, - {file = "oscrypto-1.3.0.tar.gz", hash = "sha256:6f5fef59cb5b3708321db7cca56aed8ad7e662853351e7991fcf60ec606d47a4"}, -] +files = [] +develop = false [package.dependencies] asn1crypto = ">=1.5.1" +[package.source] +type = "git" +url = "https://github.com/wbond/oscrypto" +reference = "HEAD" +resolved_reference = "1547f535001ba568b239b8797465536759c742a3" + [[package]] name = "packaging" version = "24.1" @@ -2506,4 +2510,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.10.0" -content-hash = "e48bf197f7fcfe678fa0b9e426ddfa732ded291209cd7e7681551d61cce9a10d" +content-hash = "6d49bd57d29f45512946dc1ddcaa667cdcb4ae6393cbc2524a6fab06f13802ab" diff --git a/pyproject.toml b/pyproject.toml index f53cf95ac..6359e8592 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,6 +51,7 @@ minikerberos = "^0.4.1" msgpack = "^1.0.0" msldap = "^0.5.10" neo4j = "^5.0.0" +oscrypto = { git = "https://github.com/wbond/oscrypto" } paramiko = "^3.3.1" poetry-dynamic-versioning = "^1.2.0" pyasn1-modules = "^0.3.0" From 142530ca4978564df76b19f3ed6812c8f1e350a1 Mon Sep 17 00:00:00 2001 From: zblurx Date: Tue, 14 Jan 2025 14:50:58 +0100 Subject: [PATCH 3/3] update dploot to 3.1.0 --- poetry.lock | 8 ++++---- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/poetry.lock b/poetry.lock index 6b3d086e5..cbe8b2612 100644 --- a/poetry.lock +++ b/poetry.lock @@ -678,13 +678,13 @@ wmi = ["wmi (>=1.5.1)"] [[package]] name = "dploot" -version = "3.0.3" +version = "3.1.0" description = "DPAPI looting remotely in Python" optional = false python-versions = "<4.0.0,>=3.10.0" files = [ - {file = "dploot-3.0.3-py3-none-any.whl", hash = "sha256:8d0a2c90e77594b4a7f5b4cee64f71b38d295da27151b5c4f5a0584a7d00ff3b"}, - {file = "dploot-3.0.3.tar.gz", hash = "sha256:301b8ef5a9c27bcc030feef6a51fdb16b579a40984216636a4a4af3d24ead324"}, + {file = "dploot-3.1.0-py3-none-any.whl", hash = "sha256:9fb89c4332f407700929290f147703c79e253d14a505649174c9d761415fddfe"}, + {file = "dploot-3.1.0.tar.gz", hash = "sha256:0e531a12481b0c741be41574988f2a8d3046a66457edb3faecc64ee20f88d6e2"}, ] [package.dependencies] @@ -2510,4 +2510,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.10.0" -content-hash = "6d49bd57d29f45512946dc1ddcaa667cdcb4ae6393cbc2524a6fab06f13802ab" +content-hash = "6a4e460ce87103f0a4f9eeddbf78d48cd9e8dc6092457187f2deef26b0ccdfc4" diff --git a/pyproject.toml b/pyproject.toml index 6359e8592..dbea2e61a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ argcomplete = "^3.1.4" asyauth = ">=0.0.20" beautifulsoup4 = ">=4.11,<5" bloodhound = "^1.8.0" -dploot = "^3.0.3" +dploot = "^3.1.0" dsinternals = "^1.2.4" impacket = { git = "https://github.com/fortra/impacket.git" } jwt = ">=1.3.1"