mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
dnsrecon-0.10.1.ebuild
This commit is contained in:
parent
6d27b12330
commit
919acc24ba
3 changed files with 17 additions and 37 deletions
|
|
@ -1,2 +1,2 @@
|
|||
DIST dnsrecon-0.10.0.tar.gz 638919 BLAKE2B 624a832e7681821a3e15f39dff0dbb86b67cb96b3d36b4774caea8f8b64f6eb14b2d69dfc23c3c60849119d920a28916963e71e26d0c34c54236fb809b32ce50 SHA512 ce4c98c7dc4120ab95fe042406f7f70fc570d4755bf1e014654c250b83e8dd13fa572cf68dba301fd80acee5480e6dd2daf2d593833cf514fa74294ac2d99f91
|
||||
DIST dnsrecon-0.9.1.tar.gz 640877 BLAKE2B 3a7aac2bd2d425248d6be346c37826cbd1d13c0554232631e00a7d1daf7c951166fc46d9d47e8854484c9b0b080246263558106c17ab20e88d46ca7fdea6d22e SHA512 1b0ed1b405e58f8df7a8e1fb8a2dd07713bf5e8434ccfbced316cac8b16966b88a98f583be122c35bfbc540753bd44e5e47474aa58544dbea77e73d0cddc4c6b
|
||||
DIST dnsrecon-0.10.1.tar.gz 665198 BLAKE2B b220c9b7622eb8e6793f3654c0e715459de8d56b8a56ca4a1789a91bc26d0d9d32b129f0be689679ceab83ceb19b715719db12d0f6e801f0993db63248da8736 SHA512 ed25fedd9f2c7adf5d1091bbf8060cdb0d0f74ef26134ffe7a482459bbab7dcb0b2c2da631bddf7f9ef9ec7d08d44c91fba531ba5fa0c4bf3567bbb02348ec5f
|
||||
|
|
|
|||
|
|
@ -1,19 +1,18 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit multilib python-r1
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
HOMEPAGE="https://github.com/darkoperator/dnsrecon"
|
||||
DESCRIPTION="DNS Enumeration Script"
|
||||
SRC_URI="https://github.com/darkoperator/dnsrecon/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
||||
|
|
@ -21,9 +20,15 @@ RDEPEND="${PYTHON_DEPS}
|
|||
dev-python/lxml[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
# should be as simple as copying everything into the target...
|
||||
dodir /usr/$(get_libdir)/${PN}
|
||||
cp -R "${S}"/* "${D}"/usr/$(get_libdir)/${PN} || die "Copy files failed"
|
||||
dosym "${EPREFIX}"/usr/$(get_libdir)/${PN}/${PN}.py /usr/bin/${PN}
|
||||
src_prepare() {
|
||||
rm -r tests || die
|
||||
default
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
# python_foreach_impl python_newscript dnsrecon.py dnsrecon
|
||||
python_foreach_impl python_newscript tools/parser.py dnsrecon-parser
|
||||
|
||||
dodoc -r msf_plugin/ *.md
|
||||
}
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
diff -ur a/dnsrecon.py b/dnsrecon.py
|
||||
--- a/dnsrecon.py 2020-04-09 03:48:03.000000000 +0300
|
||||
+++ b/dnsrecon.py 2020-04-09 11:20:34.792454963 +0300
|
||||
@@ -1599,9 +1599,8 @@
|
||||
json_file is not None):
|
||||
returned_records.extend(brt_enum_records)
|
||||
elif domain is not None:
|
||||
- script_dir = os.path.dirname(os.path.realpath(__file__)) + os.sep
|
||||
print_status("No file was specified with domains to check.")
|
||||
- name_list_dic = script_dir + "namelist.txt"
|
||||
+ name_list_dic = "/etc/dnsrecon/namelist.txt"
|
||||
if os.path.isfile(name_list_dic):
|
||||
print_status("Using file provided with tool: " + name_list_dic)
|
||||
brt_enum_records = brute_domain(res, name_list_dic, domain, wildcard_filter, verbose,
|
||||
diff -ur a/setup.py b/setup.py
|
||||
--- a/setup.py 2020-04-09 03:48:03.000000000 +0300
|
||||
+++ b/setup.py 2020-04-09 11:25:16.142315777 +0300
|
||||
@@ -23,6 +23,7 @@
|
||||
python_requires='>=3.6',
|
||||
data_files=[
|
||||
('/etc/dnsrecon', [
|
||||
+ 'namelist.txt',
|
||||
'snoop.txt',
|
||||
'subdomains-top1mil-20000.txt',
|
||||
'subdomains-top1mil-5000.txt',
|
||||
Loading…
Reference in a new issue