mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-01 11:11:08 +02:00
fuxploider: new tool
This commit is contained in:
parent
d5aa5add5e
commit
d50b66e67e
3 changed files with 64 additions and 0 deletions
1
app-forensics/fuxploider/Manifest
Normal file
1
app-forensics/fuxploider/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST fuxploider-1.0.tar.gz 165459 BLAKE2B 727435edee264d1b417c891f30f09cfe9ae50a4734bba68f7c3b12cb5213989da28c8a0b8c1f2434a87d1e7d2fbb24b68e35a35735502b75092785ec878f09ce SHA512 fd49d3e2b0032a68980692ef97d19729919f3e2e4b1bf2210627d0281037c8a48f2fa59f010a878ae5d6e1344167d0044a96652c5184eb2c528d384e8d3a23cf
|
||||
55
app-forensics/fuxploider/fuxploider-1.0.ebuild
Normal file
55
app-forensics/fuxploider/fuxploider-1.0.ebuild
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
DESCRIPTION="File upload vulnerability scanner and exploitation tool"
|
||||
HOMEPAGE="https://github.com/almandin/fuxploider"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/almandin/fuxploider"
|
||||
else
|
||||
SRC_URI="https://github.com/almandin/fuxploider/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT=0
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/coloredlogs[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang "${S}"
|
||||
find "${S}" -name '__pycache__' -prune -exec rm -rf {} \; \
|
||||
|| die "cleaning __pycache__ failed"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r *
|
||||
|
||||
make_wrapper "fuxploider" \
|
||||
"python3 /usr/share/${PN}/fuxploider.py" \
|
||||
"/usr/share/${PN}"
|
||||
|
||||
dodoc README.md
|
||||
|
||||
python_optimize "${D}/usr/share/${PN}"
|
||||
}
|
||||
8
app-forensics/fuxploider/metadata.xml
Normal file
8
app-forensics/fuxploider/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue