2018-07-15 10:00:54 -07:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
2019-12-08 02:07:27 -08:00
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "subfinder";
|
|
|
|
version = "2.2.2";
|
2018-07-15 10:00:54 -07:00
|
|
|
|
2019-12-08 02:07:27 -08:00
|
|
|
goPackagePath = "github.com/projectdiscovery/subfinder";
|
2018-07-15 10:00:54 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-12-08 02:07:27 -08:00
|
|
|
owner = "projectdiscovery";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0npi625vpwsn1ipvbi0ii5lgskw5gr6fkqkjbhi3v8i4jrvjr2dj";
|
2018-07-15 10:00:54 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.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.
|
|
|
|
'';
|
2019-12-08 02:07:27 -08:00
|
|
|
homepage = "https://github.com/projectdiscovery/subfinder";
|
2018-07-15 10:00:54 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fpletz ];
|
|
|
|
};
|
|
|
|
}
|