02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
36 lines
880 B
Nix
36 lines
880 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "subfinder";
|
|
version = "2.5.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-IAFV8yDgA7ZGGZwdEWxiggIheAN4nH5UFfXQv8IjpwQ=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-mE2yFGRAgi9RAzt08abbeAuAvmwBFMiAJuMZCDChg3Y=";
|
|
|
|
modRoot = "./v2";
|
|
|
|
subPackages = [
|
|
"cmd/subfinder/"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Subdomain discovery tool";
|
|
longDescription = ''
|
|
SubFinder is a subdomain discovery tool that discovers valid
|
|
subdomains for websites. Designed as a passive framework to be
|
|
useful for bug bounties and safe for penetration testing.
|
|
'';
|
|
homepage = "https://github.com/projectdiscovery/subfinder";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fpletz Br1ght0ne ];
|
|
};
|
|
}
|