2021-06-05 13:19:15 +01:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2018-07-15 18:00:54 +01:00
|
|
|
|
2021-06-05 13:19:15 +01:00
|
|
|
buildGoModule rec {
|
2019-12-08 10:07:27 +00:00
|
|
|
pname = "subfinder";
|
2021-06-05 13:19:15 +01:00
|
|
|
version = "2.4.8";
|
2018-07-15 18:00:54 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-12-08 10:07:27 +00:00
|
|
|
owner = "projectdiscovery";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-06-05 13:19:15 +01:00
|
|
|
sha256 = "1g1j3il1a595g7z8blhvyd5l03h6kccl7mzrx51c33jz74cms5kn";
|
2018-07-15 18:00:54 +01:00
|
|
|
};
|
|
|
|
|
2021-06-05 13:19:15 +01:00
|
|
|
vendorSha256 = "1jmik0zmfy1n3g4yjkskiqzd28dpywf0hw6adgz2jshlhka58iw0";
|
|
|
|
|
|
|
|
modRoot = "./v2";
|
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/subfinder/"
|
|
|
|
];
|
2018-07-15 18:00:54 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-07-15 18:00:54 +01:00
|
|
|
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.
|
|
|
|
'';
|
2019-12-08 10:07:27 +00:00
|
|
|
homepage = "https://github.com/projectdiscovery/subfinder";
|
2018-07-15 18:00:54 +01:00
|
|
|
license = licenses.mit;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ fpletz Br1ght0ne ];
|
2018-07-15 18:00:54 +01:00
|
|
|
};
|
|
|
|
}
|