37 lines
882 B
Nix
37 lines
882 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "subfinder";
|
|
version = "2.4.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1g1j3il1a595g7z8blhvyd5l03h6kccl7mzrx51c33jz74cms5kn";
|
|
};
|
|
|
|
vendorSha256 = "1jmik0zmfy1n3g4yjkskiqzd28dpywf0hw6adgz2jshlhka58iw0";
|
|
|
|
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 ];
|
|
};
|
|
}
|