mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 06:10:56 +02:00
crackmapexec-5.2.2.ebuild
This commit is contained in:
parent
6507b29d2a
commit
0b14c112fb
6 changed files with 122 additions and 0 deletions
1
dev-python/krb5/Manifest
Normal file
1
dev-python/krb5/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST krb5-0.2.0.tar.gz 1086940 BLAKE2B af0028f91fc86bba3a450cfb09d1da31d976670f844f46b6a3c7dbddeaa8a4d4cffcde21fa076b5ae5f740052cd60b3872d10174eae3613181f9a3f4d6c9841f SHA512 f2e8558f5800467e362798092f1f37268558d9890491f1d808b51ac2f5372f0b495ce19d1addc74da663eef1baf838ac514b74b5cbc5cf262925bdca2d7231a9
|
||||
22
dev-python/krb5/krb5-0.2.0.ebuild
Normal file
22
dev-python/krb5/krb5-0.2.0.ebuild
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Kerberos API bindings for Python"
|
||||
HOMEPAGE="https://pypi.org/project/krb5/ https://github.com/jborean93/pykrb5"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
RDEPEND="
|
||||
virtual/krb5
|
||||
"
|
||||
BDEPEND="test? ( dev-python/k5test[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
|
@ -1 +1,2 @@
|
|||
DIST pypsrp-0.5.0.tar.gz 90604 BLAKE2B 09f542dd327ef28d73893fa98a3240817e88994725db5f7c2a92238d5b4e297120ef46f0947ea81d526d8472036b6bc13a4005902bfab68ffe2fce423eb31994 SHA512 ace5de77abc859dd8b8057848e18725b07d483bb67af74a43fc509f5f12103dc02cf71e0f5a65706955e1027e81fc100ebdb33ae70f0e4b75adb7560a03d81b9
|
||||
DIST pypsrp-0.7.0.tar.gz 377305 BLAKE2B 470d7ecee4064e7f12fc891c1ed5a7a85a8e7512a6194aa3c9d8799201f15f68c93f2cf8d8796e3c4af9ee7c45d68a8595ebc0fe6a1b3d264acaab5cf8da5c47 SHA512 8fdb636f1101c751b2f91e429d92cec68a1663a89ee367c9f3a6c410918894bdfaed43934d99de8da220386a256801be72e604f9c55953987905cb9f21b35513
|
||||
|
|
|
|||
27
dev-python/pypsrp/pypsrp-0.7.0.ebuild
Normal file
27
dev-python/pypsrp/pypsrp-0.7.0.ebuild
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="PowerShell Remoting Protocol and WinRM for Python"
|
||||
HOMEPAGE="https://github.com/jborean93/pypsrp"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
#dev-python/requests-credssp
|
||||
KEYWORDS="~amd64 ~amd64 ~x86"
|
||||
IUSE="kerberos test +credssp"
|
||||
|
||||
RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/pyspnego[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
|
||||
credssp? ( dev-python/requests-credssp[${PYTHON_USEDEP}] )
|
||||
kerberos? ( dev-python/gssapi[${PYTHON_USEDEP}]
|
||||
dev-python/krb5[${PYTHON_USEDEP}]
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
|
@ -1 +1,2 @@
|
|||
DIST crackmapexec-5.1.7.tar.gz 196805 BLAKE2B de9fe124d06825bd9413708fa44ef31f7502e1ac59002d475eef6d6813845fda1886bff3dd3ff8c20b31bb7c54e4a4823a759d41e7be521d83384df1165a97a2 SHA512 3b4be83d30d58908f0828adb3b64aea608eb40ca21a9f9d3f69289f4be976ba9933990de6db46801ec3318ce93879af9ae30ed4bd3bcbbe0cbec748c82af4f11
|
||||
DIST crackmapexec-5.2.2.tar.gz 683818 BLAKE2B 1e4b49aa6cd76e74304f72cc782e599652ca2c058b9309c54c35f09553df8e95a646c48acc8c5987b28bf746271c042d76bd5a0f6d0c9e9520794043ae7ee07a SHA512 7120f82c4a4247bcd114fa33e9b4f5ce1007a2e93180563fa95d337ce4b127d13cb9f3a2b07005d5cbbbb1cc6d3f38f3214abdccb627cf455d451122bd2f2846
|
||||
|
|
|
|||
70
net-analyzer/crackmapexec/crackmapexec-5.2.2.ebuild
Normal file
70
net-analyzer/crackmapexec/crackmapexec-5.2.2.ebuild
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
inherit python-utils-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="A swiss army knife for pentesting Windows/Active Directory environments"
|
||||
HOMEPAGE="https://github.com/byt3bl33d3r/CrackMapExec/releases"
|
||||
#SRC_URI="https://mirrors.neusoft.edu.cn/kali/pool/main/c/crackmapexec/crackmapexec_${PV}.orig.tar.xz"
|
||||
SRC_URI="https://github.com/byt3bl33d3r/CrackMapExec/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
#pyproject.toml, [tool.poetry.dependencies]
|
||||
RDEPEND="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/requests-ntlm[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/lsassy[${PYTHON_USEDEP}]
|
||||
dev-python/termcolor[${PYTHON_USEDEP}]
|
||||
dev-python/msgpack[${PYTHON_USEDEP}]
|
||||
>=dev-python/neo4j-4.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/pylnk3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pypsrp-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/paramiko-2.7.2[${PYTHON_USEDEP}]
|
||||
dev-python/impacket[${PYTHON_USEDEP}]
|
||||
dev-python/xmltodict[${PYTHON_USEDEP}]
|
||||
dev-python/terminaltables[${PYTHON_USEDEP}]
|
||||
dev-python/aioconsole[${PYTHON_USEDEP}]
|
||||
dev-python/pywerview[${PYTHON_USEDEP}]
|
||||
"
|
||||
#BDEPEND="
|
||||
# test? (
|
||||
# dev-python/flake8[${PYTHON_USEDEP}]
|
||||
# )
|
||||
#"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/lib.*/python.*/site-packages/cme/data/mimipenguin/.*"
|
||||
QA_PRESTRIPPED="usr/lib.*/python.*/site-packages/cme/data/mimipenguin/.*"
|
||||
|
||||
S="${WORKDIR}/CrackMapExec-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# exclude is not supported by pyproject2setuppy
|
||||
sed -i '/^exclude/,/^\]/d' pyproject.toml || die
|
||||
}
|
||||
|
||||
#python_test() {
|
||||
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude cme/data/* || die "Tests fail with ${EPYTHON}"
|
||||
#}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
insinto /etc/revdep-rebuild
|
||||
doins "${FILESDIR}"/50${PN}
|
||||
|
||||
python_optimize "./cme/modules/"
|
||||
insinto "$(python_get_sitedir)/cme/data/"
|
||||
doins "./cme/data/cme.conf"
|
||||
insinto "$(python_get_sitedir)/cme/"
|
||||
doins -r "./cme/modules"
|
||||
}
|
||||
Loading…
Reference in a new issue