mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-29 18:21:03 +02:00
wafw00f: rename waffit, re-write, add deps and v0.9.4 bump
This commit is contained in:
parent
7016ced9a7
commit
4d6c726efb
7 changed files with 58 additions and 37 deletions
1
dev-python/pluginbase/Manifest
Normal file
1
dev-python/pluginbase/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST pluginbase-0.3.tar.gz 39502 SHA256 d9486a2d50017551c3f0e474648b71ea2e39429720977119a437713ebae2257f SHA512 93bdeac40ef01df9a136add360c917e809374d400484b53c1f6efd3381c2b41287f812c88e79bf55568a2afd623b1cb4a580b26d7ca3f9b30880c35cd37d2cb6 WHIRLPOOL c492d687fde0c8db7a3b0eda0f56f6f8bba21013cc582c82c9bb3f785c154f4ee25c01b77c5fe1c2ff044691577477040d76fb1c4d4fce7cf1f93429c0be6c39
|
||||
21
dev-python/pluginbase/pluginbase-0.3.ebuild
Normal file
21
dev-python/pluginbase/pluginbase-0.3.ebuild
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A support library for building plugins sytems in Python."
|
||||
HOMEPAGE="http://pluginbase.pocoo.org/"
|
||||
SRC_URI="mirror://pypi/$(echo ${PN} | cut -c 1)/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit subversion python
|
||||
|
||||
DESCRIPTION="web application firewall (waf) scanner"
|
||||
HOMEPAGE="http://code.google.com/p/waffit/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-python/beautifulsoup"
|
||||
|
||||
ESVN_REPO_URI="http://waffit.googlecode.com/svn/trunk/"
|
||||
|
||||
src_install() {
|
||||
dobin wafw00f.py
|
||||
sed -i "s:libs.evillib:evillib:" "${D}"/usr/bin/wafw00f.py || die "sed failed"
|
||||
insinto $(python_get_sitedir)
|
||||
doins libs/evillib.py
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize $(python_get_sitedir)/evillib.py
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup $(python_get_sitedir)/evillib.py
|
||||
}
|
||||
1
net-analyzer/wafw00f/Manifest
Normal file
1
net-analyzer/wafw00f/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST wafw00f-0.9.4.tar.gz 18065 SHA256 b537bf9bf0bb2f9f8a825295ccf219a5fec21fcf42192aec6801f92ab28fd1c7 SHA512 88426f9512d9933f8d13bbe6a439d0b8f9346ab0dcca11cc031383b06685e44d3e597b86e0d4ad0e72069982b5853b33c6489cc9c005d40b9acb7101eff91a7d WHIRLPOOL c68cbc4ee8a26d7dd3eb11d2a8f026648703d7dd71af8611272716ee2fac1acb016e77d1a68a2501e02dd4d48ffaefacc044176ce5125011b72dfd2f0e68a645
|
||||
31
net-analyzer/wafw00f/wafw00f-0.9.4.ebuild
Normal file
31
net-analyzer/wafw00f/wafw00f-0.9.4.ebuild
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Identifies and fingerprints Web Application Firewall (WAF) products"
|
||||
HOMEPAGE="https://github.com/sandrogauci/wafw00f"
|
||||
SRC_URI="mirror://pypi/$(echo ${PN} | cut -c 1)/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/beautifulsoup:4
|
||||
>=dev-python/pluginbase-0.3
|
||||
"
|
||||
|
||||
#src_install() {
|
||||
# dobin wafw00f.py
|
||||
# sed -i "s:libs.evillib:evillib:" "${D}"/usr/bin/wafw00f.py || die "sed failed"
|
||||
# insinto $(python_get_sitedir)
|
||||
# doins libs/evillib.py
|
||||
#}
|
||||
|
|
@ -92,3 +92,6 @@
|
|||
#=dev-python/jsonrpclib-9999 **
|
||||
~dev-python/jsonrpclib-0.1.7
|
||||
=dev-python/olefile-0.43
|
||||
|
||||
#wafwoof
|
||||
~dev-python/pluginbase-0.3
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
net-analyzer/dnsenum
|
||||
net-analyzer/packit
|
||||
=net-analyzer/plecost-9999
|
||||
=net-analyzer/waffit-9999
|
||||
~net-analyzer/wafw00f-0.9.4
|
||||
=net-analyzer/wafp-9999
|
||||
net-analyzer/metasploit
|
||||
net-analyzer/armitage
|
||||
|
|
|
|||
Loading…
Reference in a new issue