mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-11 09:43:40 +02:00
xsstracer: new tool
This commit is contained in:
parent
77acd232e9
commit
fd12ef7629
4 changed files with 48 additions and 0 deletions
1
net-misc/xsstracer/Manifest
Normal file
1
net-misc/xsstracer/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST xsstracer-20160123.tar.gz 2031 BLAKE2B cbe0eb53d235048ec35d99bf809f339448ab1b1012a028a5146c1cd367a1ae67028b951d59ca83badc66d457c6a9527625995c1d642593c080e3b3b5d49d50dd SHA512 778a10bbe476f1143e32d804cc292a9dee9d188631675965da602332454dc91e291153339fcf0a9ef34e62a6463e77568fa700c33bdc4f6aa1d6581166a4877e
|
||||
8
net-misc/xsstracer/metadata.xml
Normal file
8
net-misc/xsstracer/metadata.xml
Normal 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>
|
||||
1
net-misc/xsstracer/xsstracer-20160123.ebuild
Symbolic link
1
net-misc/xsstracer/xsstracer-20160123.ebuild
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
xsstracer-99999999.ebuild
|
||||
38
net-misc/xsstracer/xsstracer-99999999.ebuild
Normal file
38
net-misc/xsstracer/xsstracer-99999999.ebuild
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# 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="A small python script to check for Cross-Site Tracing (XST)"
|
||||
HOMEPAGE="https://github.com/1N3/XSSTracer"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/1N3/XSSTracer"
|
||||
else
|
||||
# snapshot: 20160123
|
||||
HASH_COMMIT="f2ed21a50d5ee09c5cd2303ea309c2a1e4a2f524"
|
||||
|
||||
SRC_URI="https://github.com/1N3/XSSTracer/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
||||
S="${WORKDIR}/XSSTracer-${HASH_COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="Unlicense"
|
||||
SLOT="0"
|
||||
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
src_install() {
|
||||
dodoc README.md xsstracer_exploit.js
|
||||
|
||||
python_foreach_impl python_doscript ${PN}.py
|
||||
make_wrapper \
|
||||
"${PN}" \
|
||||
"python2 /usr/bin/${PN}.py"
|
||||
}
|
||||
Loading…
Reference in a new issue