Unverified Commit 56b0966f authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

shuffledns: init at v1.1.0 (#460437)

parents 8709619a c57e3282
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  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";
  };
})