wascan: new tool

This commit is contained in:
Yury Martynov 2019-04-20 20:53:53 +03:00
parent 4c1eba41df
commit 0d4f5ba454
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
4 changed files with 54 additions and 0 deletions

1
net-misc/wascan/Manifest Normal file
View file

@ -0,0 +1 @@
DIST wascan-0.2.1.tar.gz 583160 BLAKE2B 02da1195feb50929b3c36ee90bce7f22f96132472e6d0919effcdf4b2e5f2862872058c4659b6a090d0e609e7994bfd0ddaa212bdac76a2953be4bf49b30e8ff SHA512 7383d665e20c20b84ef6e1a79cc40be6ae7c1cc6d4a58265bd29b3d929c075517c7ffdb7a69e7d47c40c4239c8981b3c2d33f2196f9a936f057ef09f694bfa24

View 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>

View file

@ -0,0 +1 @@
wascan-9999.ebuild

View file

@ -0,0 +1,44 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
inherit eutils python-r1
DESCRIPTION="Web Application Scanner"
HOMEPAGE="https://github.com/m4ll0k/WAScan"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/m4ll0k/WAScan"
else
SRC_URI="https://github.com/m4ll0k/WAScan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
S="${WORKDIR}/WAScan-${PV}"
fi
LICENSE="GPL-3"
SLOT="0"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
dev-python/requests[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"
src_install() {
local assets=(
"lib"
"plugins"
)
insinto /usr/share/${PN}
for x in ${assets[@]} ${PN}.py; do
doins -r ${x}
done
dodoc README.md
make_wrapper \
"${PN}" \
"python2 /usr/share/${PN}/${PN}.py" \
"/usr/share/${PN}/"
}