Added net-analyzer/theHarvester, to be continued...
This commit is contained in:
parent
a069dbfc5d
commit
dee5ce0fc6
2
net-analyzer/theHarvester/Manifest
Normal file
2
net-analyzer/theHarvester/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST theHarvester-2.1_BH2011_Arsenal.tar 353792 RMD160 b0c216e846dd5aa6f25f610b7941b3c5264e349c SHA1 cf05c75aa8b38c7c696d980168888fdcc377f142 SHA256 f6dbb876082680dd540a94169cb0b5c27d93b6abd07c7b6610df0cfd6c022f5b
|
||||||
|
EBUILD theHarvester-2.1.ebuild 1564 RMD160 ab77bd37e20ac0bf2a45024203d29f2ff747a226 SHA1 9b916dc054087c6487149d476608e63c60a15200 SHA256 c886004f0bc655c4c398cefee1c6e112583ccf3156250382aa8065ea8a9eda54
|
59
net-analyzer/theHarvester/theHarvester-2.1.ebuild
Normal file
59
net-analyzer/theHarvester/theHarvester-2.1.ebuild
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
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="http://theharvester.googlecode.com/files/${PN}-ng-${PV}.tar"
|
||||||
|
SRC_URI="http://theharvester.googlecode.com/files/theHarvester-2.1_BH2011_Arsenal.tar"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE=""
|
||||||
|
EAPI="3"
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND=""
|
||||||
|
|
||||||
|
RESTRICT_PYTHON_ABIS="3.*"
|
||||||
|
|
||||||
|
S="${WORKDIR}"/"${PN}-ng-blackhat"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
python_convert_shebangs 2 theHarvester.py;
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
installation() {
|
||||||
|
insinto $(python_get_sitedir)/${PN}
|
||||||
|
doins myparser.py
|
||||||
|
doins theHarvester.py
|
||||||
|
insinto $(python_get_sitedir)/${PN}/discovery
|
||||||
|
doins discovery/*.py
|
||||||
|
insinto $(python_get_sitedir)/${PN}/discovery/DNS
|
||||||
|
doins discovery/DNS/*.py
|
||||||
|
insinto $(python_get_sitedir)/${PN}/discovery/shodan
|
||||||
|
doins discovery/shodan/*.py
|
||||||
|
insinto $(python_get_sitedir)/${PN}/lib
|
||||||
|
doins lib/*.py
|
||||||
|
}
|
||||||
|
|
||||||
|
python_execute_function installation
|
||||||
|
dobin theHarvester.py
|
||||||
|
insinto /usr/share/"${PN}"
|
||||||
|
doins dns-names.txt
|
||||||
|
doins discovery/nameservers.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
python_mod_optimize ${PN}/discovery ${PN}/discovery/DNS ${PN}/discovery/shodan ${PN}/lib ${PN}/theHarvester.py ${PN}/myparser.py
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
python_mod_cleanup ${PN}/discovery ${PN}/discovery/DNS ${PN}/discovery/shodan ${PN}/lib ${PN}/theHarvester.py ${PN}/myparser.py
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user