mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-22 14:51:14 +02:00
dirsearch: convert to distutils
This commit is contained in:
parent
c542b70dce
commit
1217d1236e
2 changed files with 37 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_p20201202.tar.gz 637376 BLAKE2B a7ae37dcdc71b2b97f43e44bec618f13d651988f4f30e27e3bc20cf9f4fbf10d5b494c8aa7de6b8202953e0198affe70c7a8199e3c7a65fd9fcdad2e16584212 SHA512 e146305b2a0e70d193db5adef766fe5ac459ab337820be8ccf0a35e1bef4314c81a036703c7d8ffc4b8d499e4f5702346b79aaeb71aa640c13a456ed9b101736
|
||||
DIST dirsearch-0.4.0_p20210427.tar.gz 567360 BLAKE2B 1d4fcf60e542ba2e3a8da211b4238f750eb0b9bb646dc1adfc693df040d6ae8150e1972f9f9c8bc92f6a2c6525c8d5bfa38562983917a4aaad7e649ff041404c SHA512 2c2358c707dc45ccc78fb9adc7ccee20602458459a588efcf01053ee7d518822b2a9054e962475b1276a332d128533b5ae2fe86bc178b0efed3fe69625323a3f
|
||||
|
|
|
|||
36
net-analyzer/dirsearch/dirsearch-0.4.0_p20210427.ebuild
Normal file
36
net-analyzer/dirsearch/dirsearch-0.4.0_p20210427.ebuild
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
HASH_COMMIT="c038c6b1b7e625c1ba5d9d5845ecc0aee89f73ac"
|
||||
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"
|
||||
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}-${HASH_COMMIT}
|
||||
|
||||
src_prepare() {
|
||||
#use ~/.dirsearch directory
|
||||
sed -e "s|save-logs-home = False|save-logs-home = True|g" -i default.conf || die "sed 1"
|
||||
sed -e "s|autosave-report = True|autosave-report = False|g" -i default.conf || die "sed 2"
|
||||
# mv *.md Dockerfile "${T}" || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "\nExample: https://infosectoughguy.blogspot.com/2016/10/lazy-directory-searching-for-pentesters.html\n"
|
||||
}
|
||||
Loading…
Reference in a new issue