2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
2018-07-15 17:00:54 +00:00
|
|
|
|
2019-12-08 10:07:27 +00:00
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "subfinder";
|
2020-01-15 10:13:45 +00:00
|
|
|
version = "2.3.0";
|
2018-07-15 17:00:54 +00:00
|
|
|
|
2019-12-08 10:07:27 +00:00
|
|
|
goPackagePath = "github.com/projectdiscovery/subfinder";
|
2018-07-15 17:00:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-12-08 10:07:27 +00:00
|
|
|
owner = "projectdiscovery";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-01-15 10:13:45 +00:00
|
|
|
sha256 = "1vjxi2h4njakyqkfzwwaacy37kqx66j2y3k5l752z9va73gv7xv1";
|
2018-07-15 17:00:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-07-15 17:00:54 +00: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 17:00:54 +00:00
|
|
|
license = licenses.mit;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ fpletz Br1ght0ne ];
|
2018-07-15 17:00:54 +00:00
|
|
|
};
|
|
|
|
}
|