mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-18 22:26:13 +01:00
added waffit WAF scanner
This commit is contained in:
parent
7798884231
commit
10b41cee2a
2 changed files with 38 additions and 0 deletions
1
net-analyzer/waffit/Manifest
Normal file
1
net-analyzer/waffit/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
EBUILD waffit-9999.ebuild 686 RMD160 565aaa4ec28010cac80b5c455e2895b7c3e41974 SHA1 d66291d6f640aa83794d057cf141a520b4416d26 SHA256 df961598ec2779e9b0d506b083f675574df3c5eac538f3fee0d3a150126b8dc3
|
||||
37
net-analyzer/waffit/waffit-9999.ebuild
Normal file
37
net-analyzer/waffit/waffit-9999.ebuild
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# Copyright 1999-2009 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"
|
||||
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"
|
||||
python_version
|
||||
insinto /usr/lib/python$PYVER/
|
||||
doins libs/evillib.py
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup
|
||||
}
|
||||
Loading…
Reference in a new issue