391 current 2025-05-14 20:25:14 25.05.20250424.f771eb4 6.12.24 *

This commit is contained in:
2025-05-14 20:25:40 -04:00
parent 50099cc068
commit 9ea55a7836

View File

@@ -4,6 +4,26 @@
lib, lib,
... ...
}: let }: let
myPerl = pkgs.perl.withPackages (ps:
with ps; [
perl
NetDNS
NetIP
NetNetmask
StringRandom
XMLWriter
NetWhoisIP
WWWMechanize
]);
myDnsenum =
pkgs.runCommand "dnsenum-wrapped" {
nativeBuildInputs = [pkgs.makeWrapper];
} ''
mkdir -p $out/bin
makeWrapper ${pkgs.dnsenum}/bin/dnsenum $out/bin/dnsenum \
--set PERL5LIB ${myPerl}/lib/perl5/site_perl
'';
in { in {
# home.packages = builtins.attrValues scriptDerivations; # home.packages = builtins.attrValues scriptDerivations;
@@ -75,11 +95,7 @@ in {
masscan masscan
dnsx dnsx
amass amass
myDnsenum
(perl.withPackages (ps: with ps; [NetDNS NetIP XMLWriter])) # ensure Perl modules
(pkgs.writeShellScriptBin "dnsenum" ''
exec ${pkgs.dnsenum}/bin/dnsenum "$@"
'')
] ]
++ ( ++ (
with lib; let with lib; let