diff --git a/app-exploits/deathstar/Manifest b/app-exploits/deathstar/Manifest index 872a43dfb..220f01fdf 100644 --- a/app-exploits/deathstar/Manifest +++ b/app-exploits/deathstar/Manifest @@ -1 +1 @@ -DIST deathstar-20180623.tar.gz 26736 BLAKE2B f2e09e31744fa8591942922edfa91f248515c15676c0aabacf0290001d4c2ebb142d6d2f14b8d56f5e8733524755f4c331e18a2d7c13600e6d0b342a31b58938 SHA512 f824806d1e90afbc0a9195428dae3a025f2dbe8d2c628820dbeb1a21d122bf37ae7901b20fd0b5ae4aa6453708d7c3cb36053c134e5719d1e1934a1b315c74e2 +DIST deathstar-20180722.tar.gz 26736 BLAKE2B f2e09e31744fa8591942922edfa91f248515c15676c0aabacf0290001d4c2ebb142d6d2f14b8d56f5e8733524755f4c331e18a2d7c13600e6d0b342a31b58938 SHA512 f824806d1e90afbc0a9195428dae3a025f2dbe8d2c628820dbeb1a21d122bf37ae7901b20fd0b5ae4aa6453708d7c3cb36053c134e5719d1e1934a1b315c74e2 diff --git a/app-exploits/deathstar/deathstar-20180623.ebuild b/app-exploits/deathstar/deathstar-20180623.ebuild deleted file mode 100644 index fe6422526..000000000 --- a/app-exploits/deathstar/deathstar-20180623.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{5,6} ) -inherit python-single-r1 - -HASH_COMMIT="04356101ec8e9466bc72f8846fd7d83ccac98ba8" - -DESCRIPTION="A tool to gain Domain Admin rights with a push of a button" -HOMEPAGE="https://github.com/byt3bl33d3r/DeathStar" -SRC_URI="https://github.com/byt3bl33d3r/DeathStar/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~x86" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=dev-python/requests-2.3.0[${PYTHON_USEDEP}] - dev-python/termcolor[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - app-exploits/empire" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/DeathStar-${HASH_COMMIT}" - -src_install() { - dobin DeathStar.py -} - -pkg_postinst() { - elog "See the following URL:" - elog "https://byt3bl33d3r.github.io/automating-the-empire-with-the-death-star-getting-domain-admin-with-a-push-of-a-button.html" -} diff --git a/app-exploits/deathstar/deathstar-20180722.ebuild b/app-exploits/deathstar/deathstar-20180722.ebuild new file mode 100644 index 000000000..665c96fc9 --- /dev/null +++ b/app-exploits/deathstar/deathstar-20180722.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit python-r1 + +DESCRIPTION="A tool to gain Domain Admin rights with a push of a button" +HOMEPAGE="https://github.com/byt3bl33d3r/DeathStar" + +HASH_COMMIT="04356101ec8e9466bc72f8846fd7d83ccac98ba8" +SRC_URI="https://github.com/byt3bl33d3r/DeathStar/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-3" +SLOT="0" + +RDEPEND="${PYTHON_DEPS} + app-exploits/empire + dev-python/requests[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}]" + +S="${WORKDIR}/DeathStar-${HASH_COMMIT}" + +src_prepare() { + sed -i \ + -e "s/__version__ = '\(.*\)'/__version__ = '${PV}'/" \ + DeathStar.py || die + + default +} + +src_install() { + python_foreach_impl python_newscript DeathStar.py $PN + dodoc README.md +} + +pkg_postinst() { + einfo "\nSee the following URL:" + einfo " * https://byt3bl33d3r.github.io/automating-the-empire-with-the-death-star-getting-domain-admin-with-a-push-of-a-button.html\n" +} diff --git a/app-exploits/deathstar/metadata.xml b/app-exploits/deathstar/metadata.xml new file mode 100644 index 000000000..4fa8ff351 --- /dev/null +++ b/app-exploits/deathstar/metadata.xml @@ -0,0 +1,8 @@ + + + + + proxy-maint@gentoo.org + Proxy Maintainers + +