mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
pypykatz-0.3.13.ebuild
This commit is contained in:
parent
f64b061cac
commit
86b7bd2441
4 changed files with 93 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST pypykatz-0.3.12.tar.gz 221921 BLAKE2B 546b839f42359b629595ec5d657d9d51728b902a304d7ffae0829605af175b608f4d0e61741af5bd1217a3daf9aafacd87ee35532e55ae12e73a85e0c5c9cbfc SHA512 7b74da5fa79937474b27b47ad2308fbeb89a8619846de0b4abc6d49f7af5ab9a5fe4dd59ec26029359ecfb44e2bc8041ab00ef31cfac11dc6241e2639c2a6bac
|
||||
DIST pypykatz-0.3.13.tar.gz 221955 BLAKE2B 9dc126adfeb939a0f53df72434412ad7dd4f0ff1c511199cbd559fa744db0df7086cde49053f9deb0027704ed575a8f91a9409226cb1b4a624bf883d6f5aa76f SHA512 b0fe4c78c5b05846531194f25e51b17f1f6c0a521f0c047b0a1258dd2e5a7d341cc0650aad815da4a63bdb39d036908a8aad212259d0a002340f66e447577edb
|
||||
|
|
|
|||
28
app-exploits/pypykatz/pypykatz-0.3.13.ebuild
Normal file
28
app-exploits/pypykatz/pypykatz-0.3.13.ebuild
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python implementation of Mimikatz"
|
||||
HOMEPAGE="https://github.com/skelsec/pypykatz"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/minidump-0.0.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/minikerberos-0.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/aiowinreg-0.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/msldap-0.2.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/winsspi-0.0.9[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
|
@ -1 +1,2 @@
|
|||
DIST metasploit_data_models-4.0.2.gem 183808 BLAKE2B f61837e5003d9c244273040b246149e834b80382b76e3fe3f688eacd94ad281c670637a014a4787ecb44a86587a2fa27f38653a71524376e1cebaa2984eda827 SHA512 b9bea47e2493e7124277dfcfbc5b9de60a912c96f0bdb51a434f91b0a9869cd8cebc0d9f43fe9c343d66113e56de23f381c3c951c0d78a35f981afb319d5d6c9
|
||||
DIST metasploit_data_models-4.1.0.gem 178688 BLAKE2B 100f010204d79f1cf3bbe977fda58e404608e9e94e2469884cc0a8518e63f59391fdfcb7ff507ca4c5cd6be66d696a8a30a509afa154405973ad5112d86e9e10 SHA512 9078abe0bffe8c52b17f7713566b0a26444576371c15d9dd6fa3d3b737684893223cff9d80b53baaab2ed99415a9ead54f1961d3b3fe54a97c8e65db77c135ea
|
||||
|
|
|
|||
|
|
@ -0,0 +1,63 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby25 ruby26"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="app config db script spec"
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}".gemspec
|
||||
DESCRIPTION="The database layer for Metasploit"
|
||||
HOMEPAGE="https://github.com/rapid7/metasploit_data_models"
|
||||
SRC_URI="https://rubygems.org/gems/${P}.gem"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RESTRICT=test
|
||||
#IUSE="development test"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND} !dev-ruby/metasploit_data_models:0"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/activerecord-5.2.2:5.2[postgres]
|
||||
>=dev-ruby/activesupport-5.2.2:5.2
|
||||
dev-ruby/arel-helpers
|
||||
>=dev-ruby/metasploit-concern-2.0.0
|
||||
>=dev-ruby/metasploit-model-3.1.0
|
||||
dev-ruby/pg:*
|
||||
>=dev-ruby/railties-5.2.2:5.2
|
||||
>=dev-ruby/recog-2.0.0:*"
|
||||
|
||||
ruby_add_bdepend "dev-ruby/bundler:2"
|
||||
|
||||
all_ruby_prepare() {
|
||||
[ -f Gemfile.lock ] && rm Gemfile.lock
|
||||
#if ! use development; then
|
||||
sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
|
||||
sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || die
|
||||
#fi
|
||||
#if ! use test; then
|
||||
sed -i -e "/^group :test do/,/^end$/d" Gemfile || die
|
||||
#fi
|
||||
#if ! use test && ! use development; then
|
||||
sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile || die
|
||||
#fi
|
||||
#use the stable version of pg
|
||||
sed -i "s/'pg', \"0.20.0\"/'pg', '0.21.0'/" metasploit_data_models.gemspec || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
if [ -f Gemfile ]
|
||||
then
|
||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
|
||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
|
||||
fi
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
ruby_fakegem_binwrapper mdm_console mdm_console-${SLOT}
|
||||
}
|
||||
Loading…
Reference in a new issue