2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, makeWrapper, perl, perlPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dnsenum";
|
|
|
|
version = "1.2.4.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fwaeytens";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1bg1ljv6klic13wq4r53bg6inhc74kqwm3w210865b1v1n8wj60v";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with perlPackages; [
|
|
|
|
perl NetDNS NetIP NetNetmask StringRandom XMLWriter NetWhoisIP WWWMechanize
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -vD dnsenum.pl $out/bin/dnsenum
|
|
|
|
install -vD dns.txt -t $out/share
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/fwaeytens/dnsenum";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Tool to enumerate DNS information";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "dnsenum";
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ c0bw3b ];
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|