This commit is contained in:
blshkv 2019-12-15 07:21:32 +08:00
parent bbe91ae406
commit 0096cb99e3
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
4 changed files with 2 additions and 51 deletions

View file

@ -1 +0,0 @@
DIST ws110.tar.gz 1512389 SHA256 a1ea1cc0c87e44a19fad7edc1658c6c57705aa1fc3ff3304f1e4a669b523a049 SHA512 35a2af786dda2e02dae8e0edbec0e2f3ddd595fb062fb3317501e2627ceec373835ec60a769176a2b4b14df1ef2eec0a4b1acd92b5d6e59fe301c6a88832fab8 WHIRLPOOL d78de61eaf0043251f03c26f1b5e8085774c53701a2cc58374a2be344f0df333648ac855cec27268d12dd2936e2dd69147ec712f1686e0c8e19004eaea06676d

View file

@ -1,46 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1
DESCRIPTION="An enhanced HTTP URL Scanner and fuzzer"
HOMEPAGE="https://www.scrt.ch/en/attack/downloads/webshag"
SRC_URI="https://www.scrt.ch/outils/webshag/ws110.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~arm"
IUSE="nmap"
RDEPEND="dev-python/wxpython:2.8
nmap? ( net-analyzer/nmap )"
DEPEND="${RDEPEND}"
S="${WORKDIR}"
src_prepare() {
elog "Running unattendend config"
sed -i -e "s/raw_input.*/\'\'/" setup.linux.py
sed -i -e "/^path_prefix/ s:=.*:= \'/usr/lib/webshag/\':" setup.linux.py
sed -i -e "/codecs.open/ s:(cfg_file:(u\'config/webshag.conf\':g" setup.linux.py
sed -i -e "/codecs.open/ s:(core_file:(u\'webshag/core/core_file.py\':g" setup.linux.py
eapply_user
}
src_configure() {
python setup.linux.py
}
src_install() {
dodir /usr/$(get_libdir)/${PN}
cp -R "${S}"/* "${ED}"/usr/$(get_libdir)/${PN}
python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}
dosym "/usr/lib/${PN}/${PN}_cli.py" "/usr/sbin/${PN}_cli.py"
dosym "/usr/lib/${PN}/${PN}_gui.py" "/usr/sbin/${PN}_gui.py"
einfo "You can register a live ID at live.com and use it inside"
einfo "webshag for special features"
}

View file

@ -1,6 +1,5 @@
# Copyright 1999-2019 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=7
@ -31,5 +30,3 @@ PDEPEND="net-analyzer/nmap
net-analyzer/wapiti
net-analyzer/wpscan
)"
#removed due to wxpython:2.8 dep
# net-analyzer/webshag

View file

@ -10,3 +10,4 @@ net-wireless/wpa_sycophant
# Masked for removal in 30 days. Too old apps (2019-11-10)
app-crypt/bob-the-butcher
app-crypt/hashkill
net-analyzer/webshag