theharvester: init at 2.7.1 (#34704)
This commit is contained in:
parent
d1c5b483d2
commit
00970f76f9
|
@ -700,6 +700,7 @@
|
||||||
tomberek = "Thomas Bereknyei <tomberek@gmail.com>";
|
tomberek = "Thomas Bereknyei <tomberek@gmail.com>";
|
||||||
tomsmeets = "Tom Smeets <tom@tsmeets.nl>";
|
tomsmeets = "Tom Smeets <tom@tsmeets.nl>";
|
||||||
travisbhartwell = "Travis B. Hartwell <nafai@travishartwell.net>";
|
travisbhartwell = "Travis B. Hartwell <nafai@travishartwell.net>";
|
||||||
|
treemo = "Matthieu Chevrier <matthieu.chevrier@treemo.fr>";
|
||||||
trevorj = "Trevor Joynson <nix@trevor.joynson.io>";
|
trevorj = "Trevor Joynson <nix@trevor.joynson.io>";
|
||||||
trino = "Hubert Mühlhans <muehlhans.hubert@ekodia.de>";
|
trino = "Hubert Mühlhans <muehlhans.hubert@ekodia.de>";
|
||||||
tstrobel = "Thomas Strobel <4ZKTUB6TEP74PYJOPWIR013S2AV29YUBW5F9ZH2F4D5UMJUJ6S@hash.domains>";
|
tstrobel = "Thomas Strobel <4ZKTUB6TEP74PYJOPWIR013S2AV29YUBW5F9ZH2F4D5UMJUJ6S@hash.domains>";
|
||||||
|
|
41
pkgs/tools/security/theharvester/default.nix
Normal file
41
pkgs/tools/security/theharvester/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{ stdenv, makeWrapper, python2Packages, fetchFromGitHub, python2 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "theHarvester";
|
||||||
|
version = "2.7.1";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "laramies";
|
||||||
|
repo = "${pname}";
|
||||||
|
rev = "25553762d2d93a39083593adb08a34d5f5142c60";
|
||||||
|
sha256 = "0gnm598y6paz0knwvdv1cx0w6ngdbbpzkdark3q5vs66yajv24w4";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
# add dependencies
|
||||||
|
propagatedBuildInputs = [ python2Packages.requests ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
# create dirs
|
||||||
|
mkdir -p $out/share/${pname} $out/bin
|
||||||
|
|
||||||
|
# move project code
|
||||||
|
mv * $out/share/${pname}/
|
||||||
|
|
||||||
|
# make project runnable
|
||||||
|
chmod +x $out/share/${pname}/theHarvester.py
|
||||||
|
ln -s $out/share/${pname}/theHarvester.py $out/bin
|
||||||
|
|
||||||
|
wrapProgram "$out/bin/theHarvester.py" --prefix PYTHONPATH : $out/share/${pname}:$PYTHONPATH
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Gather E-mails, subdomains and names from different public sources";
|
||||||
|
homepage = "https://github.com/laramies/theHarvester";
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ treemo ];
|
||||||
|
license = licenses.gpl2;
|
||||||
|
};
|
||||||
|
}
|
|
@ -4870,6 +4870,8 @@ with pkgs;
|
||||||
|
|
||||||
thc-hydra = callPackage ../tools/security/thc-hydra { };
|
thc-hydra = callPackage ../tools/security/thc-hydra { };
|
||||||
|
|
||||||
|
theharvester = callPackage ../tools/security/theharvester { };
|
||||||
|
|
||||||
thefuck = python3Packages.callPackage ../tools/misc/thefuck { };
|
thefuck = python3Packages.callPackage ../tools/misc/thefuck { };
|
||||||
|
|
||||||
thin-provisioning-tools = callPackage ../tools/misc/thin-provisioning-tools { };
|
thin-provisioning-tools = callPackage ../tools/misc/thin-provisioning-tools { };
|
||||||
|
|
Loading…
Reference in a new issue