mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
dirsearch: testing https://github.com/maurosoria/dirsearch/issues/176 but no luck
This commit is contained in:
parent
76d0ca1298
commit
ab7689a518
2 changed files with 55 additions and 0 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST dirsearch-0.3.9.tar.gz 566381 BLAKE2B 2f1cd6f0be89fa58a05f0d90c2825cb2e5e9d3c987df15ac95a4c058b1eca165a1bea6deeac9bd435309da732317727d05458f5893d0af2ba857d2c3f5096313 SHA512 c774e939ff1bf9d110bc3b62e344814f4371b9fdf06ccf70ac25866437c262f7aea46d83a3f176a6e736abc949d5cfec49fe3fc4fcb8aa69ffacb83aa62f4b5c
|
||||
DIST dirsearch-0.4.0.tar.gz 608845 BLAKE2B bc357898943dbcf3cdeed3c9385e70b54c78af9e115e17f2a69da38a73e51dc29a1aa968b8dc76969c0c690cec81f1aecec3c3baf40ddc36d7fd62a5bc1f76bd SHA512 155108d5b78dd2e889b5a39957c79b61e92470c29c97c9a236f706e022ec3c315ebcc955e1cbbb059ba7a7042bb907b28b53403d9ba72edfdb504344613bd80f
|
||||
DIST dirsearch-0.4.0_p20201202.tar.gz 637376 BLAKE2B a7ae37dcdc71b2b97f43e44bec618f13d651988f4f30e27e3bc20cf9f4fbf10d5b494c8aa7de6b8202953e0198affe70c7a8199e3c7a65fd9fcdad2e16584212 SHA512 e146305b2a0e70d193db5adef766fe5ac459ab337820be8ccf0a35e1bef4314c81a036703c7d8ffc4b8d499e4f5702346b79aaeb71aa640c13a456ed9b101736
|
||||
|
|
|
|||
54
net-analyzer/dirsearch/dirsearch-0.4.0_p20201202.ebuild
Normal file
54
net-analyzer/dirsearch/dirsearch-0.4.0_p20201202.ebuild
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7,8} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
HASH_COMMIT="07726bbf4c5c540b0e1d974c77864a78ed21c386"
|
||||
DESCRIPTION="A simple command line tool designed to brute force dirs and files in websites"
|
||||
HOMEPAGE="https://github.com/maurosoria/dirsearch"
|
||||
SRC_URI="https://github.com/maurosoria/dirsearch/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
#https://github.com/maurosoria/dirsearch/issues/650
|
||||
#KEYWORDS="amd64 ~arm64 x86"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}-${HASH_COMMIT}
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
#https://github.com/pentoo/pentoo-overlay/issues/512
|
||||
# eapply "${FILESDIR}/${P}_add_homedir_support-r1.patch"
|
||||
|
||||
mv *.md Dockerfile "${T}" || die
|
||||
python_fix_shebang -q "${S}"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r *
|
||||
|
||||
python_optimize "${D}/usr/share/${PN}"
|
||||
|
||||
make_wrapper $PN \
|
||||
"${PYTHON} /usr/share/${PN}/dirsearch.py"
|
||||
|
||||
dodoc "${T}"/{*.md,Dockerfile}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "\nExample: https://infosectoughguy.blogspot.com/2016/10/lazy-directory-searching-for-pentesters.html\n"
|
||||
}
|
||||
Loading…
Reference in a new issue