diff --git a/dev-python/python-libnmap/Manifest b/dev-python/python-libnmap/Manifest new file mode 100644 index 000000000..2a902d8c1 --- /dev/null +++ b/dev-python/python-libnmap/Manifest @@ -0,0 +1 @@ +DIST python-libnmap-0.7.3.tar.gz 39687 BLAKE2B ea4841c1dbdf99c7be1211df8439bec65084f383772ba1a8a9c247b0db78c259ed631b5aa38d7336efcb549bf0e1be5968b064f243e4085d503f54d8cb3fe594 SHA512 aa9e7dc26f6391698e9b27ffc6092859ba63174f89f7fe6d6e0c1f08f67aea25f2a40c3454460a45783218fa5c44d3959e21700ba9c16f6d28bc358965079bd3 diff --git a/dev-python/python-libnmap/metadata.xml b/dev-python/python-libnmap/metadata.xml new file mode 100644 index 000000000..8e3b47efb --- /dev/null +++ b/dev-python/python-libnmap/metadata.xml @@ -0,0 +1,17 @@ + + + + + unknown@pentoo.ch + Author Unknown + + + Amazon Web Services support + import untrusted XML scans data + mongodb support + sqlalchemy support + + + python-libnmap + + diff --git a/dev-python/python-libnmap/python-libnmap-0.7.3.ebuild b/dev-python/python-libnmap/python-libnmap-0.7.3.ebuild new file mode 100644 index 000000000..62f9ae76c --- /dev/null +++ b/dev-python/python-libnmap/python-libnmap-0.7.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYPI_NO_NORMALIZE=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A python library enabling python developers to manipulate nmap process and data" +HOMEPAGE="https://pypi.org/project/python-libnmap/" + +KEYWORDS="amd64 ~arm64 ~x86" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="boto defusedxml mongodb sqlalchemy" + +RDEPEND="${PYTHON_DEPS} + defusedxml? ( dev-python/defusedxml[${PYTHON_USEDEP}] ) + sqlalchemy? ( dev-python/sqlalchemy[${PYTHON_USEDEP}] ) + mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] ) + boto? ( dev-python/boto[${PYTHON_USEDEP}] ) +" diff --git a/net-analyzer/NetExec/Manifest b/net-analyzer/NetExec/Manifest new file mode 100644 index 000000000..6438a0baf --- /dev/null +++ b/net-analyzer/NetExec/Manifest @@ -0,0 +1 @@ +DIST NetExec-1.1.0.gh.tar.gz 1205666 BLAKE2B 196d08627738e2dfea94bbbe33718512c9cf0784b7865e1b3d3d7fe7eda0282ef20fbbdaf7e8f6ccefc1467943cf18c80252f89618ba19feb26e6c9004598058 SHA512 9a9c74c27e074482d6477ff5d73fc131338e7de7afe0a0e9a7f19e2b2fbbf40a9b4535a53d23ec5e8ae14b63f44809b2fdfbdaadebeac01cfe1dbcd52811b1aa diff --git a/net-analyzer/NetExec/NetExec-1.1.0.ebuild b/net-analyzer/NetExec/NetExec-1.1.0.ebuild new file mode 100644 index 000000000..b8fd3d816 --- /dev/null +++ b/net-analyzer/NetExec/NetExec-1.1.0.ebuild @@ -0,0 +1,62 @@ +# 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_{10..12} ) + +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" +KEYWORDS="~amd64" +SLOT="0" +RESTRICT="test" + +#pyproject.toml, [tool.poetry.dependencies] +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + >=dev-python/lsassy-3.1.8[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + >=dev-python/neo4j-4.1.1[${PYTHON_USEDEP}] + >=dev-python/pylnk3-0.4.2[${PYTHON_USEDEP}] + >=dev-python/pypsrp-0.8.1[${PYTHON_USEDEP}] + >=dev-python/paramiko-3.3.1[${PYTHON_USEDEP}] + >=dev-python/dsinternals-1.2.4[${PYTHON_USEDEP}] + >=dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] + >=dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}] + >=dev-python/aioconsole-0.6.2[${PYTHON_USEDEP}] + >=dev-python/pywerview-0.3.3[${PYTHON_USEDEP}] + >=dev-python/minikerberos-0.4.1[${PYTHON_USEDEP}] + >=app-exploits/pypykatz-0.6.8[${PYTHON_USEDEP}] + >=dev-python/aardwolf-0.2.7[${PYTHON_USEDEP}] + >=dev-python/dploot-2.2.1[${PYTHON_USEDEP}] + >=dev-python/bloodhound-1.6.1[${PYTHON_USEDEP}] + >=dev-python/asyauth-0.0.14[${PYTHON_USEDEP}] + >=dev-python/masky-0.2.0[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-2.0.4[${PYTHON_USEDEP}] + >=dev-python/aiosqlite-0.19.0[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.3.0[${PYTHON_USEDEP}] + >=dev-python/rich-13.3.5[${PYTHON_USEDEP}] + >=dev-python/python-libnmap-0.7.3[${PYTHON_USEDEP}] + >=dev-python/resource-0.2.1[${PYTHON_USEDEP}] + + >=dev-util/ruff-0.0.292[${PYTHON_USEDEP}] +" + +#FIXME: check why ruff = "=0.0.292" +#FIXME: check why this is required: +# impacket = { git = "https://github.com/Pennyw0rth/impacket.git", branch = "gkdi" } +# >=dev-python/pyreadline-2.1[${PYTHON_USEDEP}] + +#src_prepare() { +# default +# # exclude is not supported by pyproject2setuppy +# sed -i '/^exclude/,/^\]/d' pyproject.toml || die +#} diff --git a/net-analyzer/NetExec/metadata.xml b/net-analyzer/NetExec/metadata.xml new file mode 100644 index 000000000..7690d62ca --- /dev/null +++ b/net-analyzer/NetExec/metadata.xml @@ -0,0 +1,11 @@ + + + + + unknown@pentoo.ch + Author Unknown + + + Pennyw0rth/NetExec + + diff --git a/profiles/pentoo/base/package.accept_keywords/dev-util b/profiles/pentoo/base/package.accept_keywords/dev-util index 8cf52b056..ba07bcc8e 100644 --- a/profiles/pentoo/base/package.accept_keywords/dev-util +++ b/profiles/pentoo/base/package.accept_keywords/dev-util @@ -27,3 +27,8 @@ dev-util/ROPgadget #required by mitmproxy_wireguard dev-util/maturin amd64 + +#required by net-analyzer/NetExec +=dev-util/ruff-0.1* +~virtual/rust-1.74.1 +~dev-lang/rust-bin-1.74.1 diff --git a/profiles/pentoo/base/package.accept_keywords/net-analyzer b/profiles/pentoo/base/package.accept_keywords/net-analyzer index 42ad37de4..fd47e9095 100644 --- a/profiles/pentoo/base/package.accept_keywords/net-analyzer +++ b/profiles/pentoo/base/package.accept_keywords/net-analyzer @@ -49,6 +49,8 @@ net-analyzer/gvm-tools ~dev-perl/SQL-Translator-0.110.230 ~dev-perl/Package-Variant-1.3.2 +net-analyzer/NetExec + ### Gentoo (unverified) ### net-analyzer/mdns-scan