Remove net-analyzer/theHarvester, use pentoo-overlay instead
This commit is contained in:
parent
406084ec4d
commit
2953e2613a
@ -1,3 +0,0 @@
|
|||||||
AUX dns-names_path.patch 1010 SHA256 7c6eec96da93c17e18b55661176fb327fc146c5a6c50acc3190a08ce3f27b9fa SHA512 35374be589a3de81e48a5406f2dcb21687cc547c9cd6cd6b53d2eec6ead75a6142d006edfbe9d0539833ea7dad34e83016a8ec567a4688ff3f27d127072c3c95 WHIRLPOOL dba328c3afb1329b399be14e53766fe0b9bfa195ac48db85bc497718c6de0d6f44275ab5162338a74a4d874cd800eac3c06b9a2634d005a64a74a519c7040229
|
|
||||||
DIST master.zip 78634 SHA256 e8fecc73c7426fe687e1c7ac450a3cf52f9630d035e668ab8bfe67ddbda9d430 SHA512 ad39fc3e019481d14ca311214dc0c09eede5df8e478adfebc88a1e6ae138ac83f87ec853dc7953b1a8d35cc34f9a22e294ce2dc95909199146e0ed2a080bb3af WHIRLPOOL 1c03076b972fe55e38e29fbac8a830fb36da372758773b8f3c7b0b223121d4c99b6755d87979d143f0ff11bca0699175d14ed4aa194c4375347850bde4ab04ae
|
|
||||||
EBUILD theHarvester-9999.ebuild 1056 SHA256 1af850fc5c5f1b3ec9eae825ac11a5e802b4cc5d1fe55e03dc6067a883577655 SHA512 71faabd097436e0c9328a8d9959f5d0e8f382390cacac72a12ec737770eeabc92e7bab83bb4eea442f1f5afd347346cf902e47c16af3538923daa75a9bf20285 WHIRLPOOL 011df33f4b826629e23d6f0a33cf21a871917bb06df8bf9e4009d6152eac5430df6b6860c4976cfac4332b9ca34fbdc9dbf4f36697b5cd5be09ac99082d44761
|
|
@ -1,23 +0,0 @@
|
|||||||
--- theHarvester-ng-blackhat.orig/discovery/dnssearch-threads.py 2011-07-27 08:45:21.000000000 -0700
|
|
||||||
+++ theHarvester-ng-blackhat/discovery/dnssearch-threads.py 2011-12-07 20:57:26.916821679 -0800
|
|
||||||
@@ -63,7 +63,7 @@
|
|
||||||
def __init__(self,domain,dnsserver,verbose=False):
|
|
||||||
self.domain=domain
|
|
||||||
self.server = dnsserver
|
|
||||||
- self.file="dns-names.txt"
|
|
||||||
+ self.file="/usr/share/theHarvester/dns-names.txt"
|
|
||||||
self.subdo = False
|
|
||||||
self.verbose = verbose
|
|
||||||
try:
|
|
||||||
diff -ur theHarvester-ng-blackhat.orig/discovery/dnssearch.py theHarvester-ng-blackhat/discovery/dnssearch.py
|
|
||||||
--- theHarvester-ng-blackhat.orig/discovery/dnssearch.py 2011-07-27 08:45:21.000000000 -0700
|
|
||||||
+++ theHarvester-ng-blackhat/discovery/dnssearch.py 2011-12-07 20:57:07.196822097 -0800
|
|
||||||
@@ -61,7 +61,7 @@
|
|
||||||
def __init__(self,domain,dnsserver,verbose=False):
|
|
||||||
self.domain=domain
|
|
||||||
self.nameserver = dnsserver
|
|
||||||
- self.file="dns-names.txt"
|
|
||||||
+ self.file="/usr/share/theHarvester/dns-names.txt"
|
|
||||||
self.subdo = False
|
|
||||||
self.verbose = verbose
|
|
||||||
try:
|
|
@ -1,50 +0,0 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
SUPPORT_PYTHON_ABIS="1"
|
|
||||||
|
|
||||||
inherit python
|
|
||||||
|
|
||||||
DESCRIPTION="The Harvester is a tool designed to collect email accounts of the target domain"
|
|
||||||
HOMEPAGE="http://www.edge-security.com/theharvester.php"
|
|
||||||
SRC_URI="https://github.com/laramies/theHarvester/archive/master.zip"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
RESTRICT_PYTHON_ABIS="3.*"
|
|
||||||
|
|
||||||
S="${WORKDIR}"/"${PN}-master"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
python_convert_shebangs 2 theHarvester.py;
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
installation() {
|
|
||||||
insinto $(python_get_sitedir)
|
|
||||||
doins myparser.py
|
|
||||||
insinto $(python_get_sitedir)/discovery
|
|
||||||
doins -r discovery/*
|
|
||||||
insinto $(python_get_sitedir)/lib
|
|
||||||
doins lib/*.py
|
|
||||||
}
|
|
||||||
python_execute_function installation
|
|
||||||
dobin theHarvester.py
|
|
||||||
dodoc README LICENSES
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
python_mod_optimize discovery lib myparser.py
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
python_mod_cleanup discovery lib myparser.py
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user