NetExec: initial ebuild

This commit is contained in:
Anton Bolshakov 2024-01-07 14:19:02 +08:00
parent 632a46399e
commit 3add069577
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
8 changed files with 118 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST Resource-0.2.1.tar.gz 14913 BLAKE2B ff4cb4039dda0216eaac00993476f48447adc989215bc7a17ce58c73902f484f3512aeb127a7a06226c638b0bf85a5da3e0a8d56afa608b4a3db1daaa25ab12a SHA512 c5864d276411d6b0455252319f7f14e73f57b60a6dcb961a77e127ee5055cd95577684b19b412df13f0af673755280368b2fdf3dd5b77800b17c5af9ba55e85e

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">RussellLuo/resource</remote-id>
<remote-id type="pypi">Resource</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,24 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYPI_NO_NORMALIZE=1
PYPI_PN="${PN^}"
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Resource layer of RESTful APIs."
HOMEPAGE="https://github.com/RussellLuo/resource"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
RDEPEND=""
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="test"

View file

@ -0,0 +1 @@
DIST NetExec-1.1.0.gh.tar.gz 1205666 BLAKE2B 196d08627738e2dfea94bbbe33718512c9cf0784b7865e1b3d3d7fe7eda0282ef20fbbdaf7e8f6ccefc1467943cf18c80252f89618ba19feb26e6c9004598058 SHA512 9a9c74c27e074482d6477ff5d73fc131338e7de7afe0a0e9a7f19e2b2fbbf40a9b4535a53d23ec5e8ae14b63f44809b2fdfbdaadebeac01cfe1dbcd52811b1aa

View file

@ -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
#}

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">Pennyw0rth/NetExec</remote-id>
</upstream>
</pkgmetadata>

View file

@ -30,3 +30,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

View file

@ -54,6 +54,8 @@ net-analyzer/gvm-tools
# dev-python/cloudscraper is not stable yet
net-analyzer/maryam
net-analyzer/NetExec
### Gentoo (unverified) ###
net-analyzer/mdns-scan