From c57e32828db4349b4f9aab46f51aba7e62c37562 Mon Sep 17 00:00:00 2001 From: quasigod Date: Mon, 10 Nov 2025 14:11:19 -0500 Subject: [PATCH] shuffledns: init at 1.1.0 --- pkgs/by-name/sh/shuffledns/package.nix | 43 ++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 pkgs/by-name/sh/shuffledns/package.nix diff --git a/pkgs/by-name/sh/shuffledns/package.nix b/pkgs/by-name/sh/shuffledns/package.nix new file mode 100644 index 000000000000..f6d5306c2481 --- /dev/null +++ b/pkgs/by-name/sh/shuffledns/package.nix @@ -0,0 +1,43 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, + versionCheckHook, +}: + +buildGoModule (finalAttrs: { + pname = "shuffledns"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "projectdiscovery"; + repo = "shuffledns"; + rev = "v${finalAttrs.version}"; + hash = "sha256-wfHGIWdksfe0sNss4pLQ0ODh28u2kMuxAJh5C9Uiap4="; + }; + + vendorHash = "sha256-A4Ssvc6UOvwezzdMa+nPkwyVT8j15+mTAAL+loeBcCo="; + + subPackages = [ "cmd/shuffledns" ]; + + nativeInstallCheckInputs = [ versionCheckHook ]; + + ldflags = [ + "-s" + "-w" + ]; + + versionCheckProgramArg = "-version"; + + meta = { + description = "massDNS wrapper to bruteforce and resolve the subdomains with wildcard handling support"; + longDescription = '' + MassDNS wrapper written in go to enumerate valid subdomains using active bruteforce as well as resolve subdomains with wildcard filtering and easy input-output support. + ''; + homepage = "https://github.com/projectdiscovery/shuffledns"; + changelog = "https://github.com/projectdiscovery/shuffledns/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.gpl3Plus; + maintainers = [ lib.maintainers.michaelBelsanti ]; + mainProgram = "shuffledns"; + }; +})