NetExec-1.4.0.ebuild

This commit is contained in:
Anton Bolshakov 2025-04-14 11:16:58 +08:00
parent 828fbaefb1
commit 953e2c2fb1
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 68 additions and 1 deletions

View file

@ -1 +1,2 @@
DIST NetExec-1.3.0.gh.tar.gz 1249184 BLAKE2B e7d33220cbf0ff2e2efb52a5f6643f2bbc9cc436b2bbf2c7200964421aaf83be30920dbef5d7ede669e19a50f6e91daa1fa3f4eb2ff9e3b8708d8177580a899a SHA512 0f5d90aa030080baad1509342a8be7498816d95d5d0df8e40e36e7804478a912498a6eb7222076b9bd53a2537e43c4965330823ca2d8d4f4b104abd4f517acd9
DIST NetExec-1.4.0.gh.tar.gz 1284936 BLAKE2B ae01c2c7b279ac348e65315106618cb0b8491d35dcf29e5c2371f24346f7dab58a3b291cfeee9cf4e090c7ba6af364b8bc9a67c560756c39cc2ab6e4cf0046ce SHA512 756a65cad7ef7a7441dcbb332fe4690c9802e00bd269fa9b87b20a5b14395d217db86ad078c6c2470cf635e8ad89d9aa186d40ef9a311cf4498f3e73ebe8c9cc

View file

@ -0,0 +1,66 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="A swiss army knife for pentesting Windows/Active Directory environments"
HOMEPAGE="https://github.com/Pennyw0rth/NetExec"
SRC_URI="https://github.com/Pennyw0rth/NetExec/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
#pyproject.toml, [tool.poetry.dependencies]
RDEPEND="
dev-python/poetry-dynamic-versioning[${PYTHON_USEDEP}]
>=dev-python/aardwolf-0.2.8[${PYTHON_USEDEP}]
>=dev-python/aioconsole-0.6.2[${PYTHON_USEDEP}]
>=dev-python/aiosqlite-0.19.0[${PYTHON_USEDEP}]
>=dev-python/argcomplete-3.1.4[${PYTHON_USEDEP}]
>=dev-python/asyauth-0.0.20[${PYTHON_USEDEP}]
>=dev-python/beautifulsoup4-4.11[${PYTHON_USEDEP}]
>=dev-python/bloodhound-1.7.2[${PYTHON_USEDEP}]
>=dev-python/dploot-2.7.4[${PYTHON_USEDEP}]
>=dev-python/dsinternals-1.2.4[${PYTHON_USEDEP}]
>=dev-python/lsassy-3.1.11[${PYTHON_USEDEP}]
>=dev-python/masky-0.2.0[${PYTHON_USEDEP}]
>=dev-python/minikerberos-0.4.1[${PYTHON_USEDEP}]
>=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
>=dev-python/msldap-0.5.10[${PYTHON_USEDEP}]
>=dev-python/neo4j-5.0.0[${PYTHON_USEDEP}]
>=dev-python/paramiko-3.3.1[${PYTHON_USEDEP}]
>=dev-python/poetry-dynamic-versioning-1.2.0[${PYTHON_USEDEP}]
>=dev-python/pyasn1-modules-0.3.0[${PYTHON_USEDEP}]
>=dev-python/pylnk3-0.4.2[${PYTHON_USEDEP}]
>=dev-python/pypsrp-0.8.1[${PYTHON_USEDEP}]
>=app-exploits/pypykatz-0.6.8[${PYTHON_USEDEP}]
>=dev-python/pywerview-0.3.3[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
>=dev-python/python-libnmap-0.7.3[${PYTHON_USEDEP}]
>=dev-python/requests-2.27.1[${PYTHON_USEDEP}]
>=dev-python/rich-13.3.5[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-2.0.4[${PYTHON_USEDEP}]
>=dev-python/termcolor-2.4.0[${PYTHON_USEDEP}]
dev-python/terminaltables3[${PYTHON_USEDEP}]
>=dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}]
>=dev-util/ruff-0.0.292
"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
sed -i -e 's#, "poetry-dynamic-versioning>=1.0.0,<2.0.0"##' pyproject.toml || die
sed -i -e 's#poetry_dynamic_versioning.backend#poetry.core.masonry.api#' pyproject.toml || die
#sed -i -e '/impacket/d' -e '/pynfsclient/d' pyproject.toml || die
default
}

View file

@ -29,7 +29,7 @@ dev-util/ROPgadget
dev-util/maturin amd64
#required by net-analyzer/NetExec
=dev-util/ruff-0.6*
=dev-util/ruff-0.9*
~virtual/rust-1.74.1
~dev-lang/rust-bin-1.74.1