diff options
author | c0bw3b <c0bw3b@users.noreply.github.com> | 2019-05-19 17:34:47 +0200 |
---|---|---|
committer | c0bw3b <c0bw3b@users.noreply.github.com> | 2019-05-20 20:46:27 +0200 |
commit | c29a5296189d0bd60a3fa01853828ae4d2a5ddad (patch) | |
tree | bdf7ab7cb9c0b517d7f3f69d8d477fe1d0469db5 /pkgs/tools/security/dnsenum | |
parent | 870b6e06d322114cc9fb6071cebf3c708a86070f (diff) |
dnsenum: init at 1.2.4.2
Co-authored-by: Robin Gloster <mail@glob.in>
Diffstat (limited to 'pkgs/tools/security/dnsenum')
-rw-r--r-- | pkgs/tools/security/dnsenum/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/security/dnsenum/default.nix b/pkgs/tools/security/dnsenum/default.nix new file mode 100644 index 000000000000..d764e8a71ae6 --- /dev/null +++ b/pkgs/tools/security/dnsenum/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, makeWrapper, perl, perlPackages }: + +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 + ''; + + meta = with stdenv.lib; { + homepage = "https://github.com/fwaeytens/dnsenum"; + description = "A tool to enumerate DNS information"; + maintainers = with maintainers; [ c0bw3b globin ]; + license = licenses.gpl2Plus; + platforms = platforms.all; + }; +} |