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";
|
2023-05-05 00:04:52 +02:00
|
|
|
version = "2.5.8";
|
2018-07-15 19:00:54 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-12-08 11:07:27 +01:00
|
|
|
owner = "projectdiscovery";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-05-05 00:04:52 +02:00
|
|
|
sha256 = "sha256-/q6ES1fW9/vxe03w73VyAHfOZNK6g5hxwi3qhxCiN6M=";
|
2018-07-15 19:00:54 +02:00
|
|
|
};
|
|
|
|
|
2023-05-05 00:04:52 +02:00
|
|
|
vendorHash = "sha256-sUkSxpWDqBe15BFVGNHTF1lV2mXZ0kjevMvdHtuNjXs=";
|
2021-06-05 14:19:15 +02:00
|
|
|
|
|
|
|
modRoot = "./v2";
|
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/subfinder/"
|
|
|
|
];
|
2018-07-15 19:00:54 +02:00
|
|
|
|
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;
|
2020-11-17 12:02:06 +01:00
|
|
|
maintainers = with maintainers; [ fpletz Br1ght0ne ];
|
2018-07-15 19:00:54 +02:00
|
|
|
};
|
|
|
|
}
|