net-analyzer/xsstrike - 3.1.6 (pentoo)

Search

Install

Install this version:

emerge -a =net-analyzer/xsstrike-3.1.6

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-analyzer/xsstrike-3.1.6

Or alternatively:

emerge --autounmask-write -a =net-analyzer/xsstrike-3.1.6

Package Information

Description:
Advanced XSS detection suite
Homepage:
https://github.com/s0md3v/XSStrike
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
3.1.6 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )

inherit python-single-r1 wrapper

DESCRIPTION="Advanced XSS detection suite"
HOMEPAGE="https://github.com/s0md3v/XSStrike"

if [[ ${PV} == *9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/s0md3v/XSStrike"
else
	SRC_URI="https://github.com/s0md3v/XSStrike/archive/${PV}.tar.gz -> ${P}.tar.gz"
	S="${WORKDIR}/XSStrike-${PV}"

	KEYWORDS="~amd64 ~x86"
fi

LICENSE="GPL-3"
SLOT="0"

DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
	$(python_gen_cond_dep '
		dev-python/tld[${PYTHON_USEDEP}]
		dev-python/fuzzywuzzy[${PYTHON_USEDEP}]
		dev-python/requests[${PYTHON_USEDEP}]
	')"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

pkg_setup() {
	python-single-r1_pkg_setup
}

src_prepare() {
	eapply "${FILESDIR}/disable_update_opt_1.patch"
	python_fix_shebang "${S}"
	default
}

src_install() {
	insinto "/usr/share/${PN}"
	doins -r core/ db/ modes/ plugins/ "${PN}.py"

	python_optimize "${ED}/usr/share/${PN}"

	make_wrapper $PN \
		"${EPYTHON} /usr/share/${PN}/${PN}.py" \
		"/usr/share/${PN}"

	dodoc CHANGELOG.md README.md
}

Inherited Eclasses

Dependencies

RDEPEND

${DEPEND}
	$(python_gen_cond_dep '
		dev-python/tld[${PYTHON_USEDEP}]
		dev-python/fuzzywuzzy[${PYTHON_USEDEP}]
		dev-python/requests[${PYTHON_USEDEP}]
	')

Manifest for 3.1.6

Type File Size Source URLs
DIST xsstrike-3.1.6.tar.gz 51568 bytes https://github.com/s0md3v/XSStrike/archive/3.1.6.tar.gz