2021-06-05 14:19:15 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2018-07-15 19:00:54 +02:00
|
|
|
|
2021-06-05 14:19:15 +02:00
|
|
|
buildGoModule rec {
|
2019-12-08 11:07:27 +01:00
|
|
|
pname = "subfinder";
|
2024-03-28 09:12:04 +01:00
|
|
|
version = "2.6.6";
|
2018-07-15 19:00:54 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-12-08 11:07:27 +01:00
|
|
|
owner = "projectdiscovery";
|
2024-03-28 09:44:42 +01:00
|
|
|
repo = "subfinder";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-03-28 09:12:04 +01:00
|
|
|
hash = "sha256-A9qSrgQB7AE+9S3SW1eXRGA65RfEzrjYR2XgU8e+zMk=";
|
2018-07-15 19:00:54 +02:00
|
|
|
};
|
|
|
|
|
2024-03-28 09:12:04 +01:00
|
|
|
vendorHash = "sha256-j2WO+LLvioBB2EU/6ahyTn9H614Dmiskm0p7GOgqYNY=";
|
2021-06-05 14:19:15 +02:00
|
|
|
|
|
|
|
modRoot = "./v2";
|
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/subfinder/"
|
|
|
|
];
|
2018-07-15 19:00:54 +02:00
|
|
|
|
2024-03-28 09:44:42 +01:00
|
|
|
ldflags = [
|
|
|
|
"-w"
|
|
|
|
"-s"
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-07-15 19:00:54 +02: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 11:07:27 +01:00
|
|
|
homepage = "https://github.com/projectdiscovery/subfinder";
|
2018-07-15 19:00:54 +02:00
|
|
|
license = licenses.mit;
|
2023-08-13 17:24:05 +02:00
|
|
|
maintainers = with maintainers; [ fpletz Br1ght0ne Misaka13514 ];
|
2024-02-11 03:19:15 +01:00
|
|
|
mainProgram = "subfinder";
|
2018-07-15 19:00:54 +02:00
|
|
|
};
|
|
|
|
}
|