mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
37 lines
880 B
Nix
37 lines
880 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "subfinder";
|
|
version = "2.5.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-upqNrr4w/j9e1T5Y1wNeZSm/g05c3rby8slLwE27RKU=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-QBydwf2ED43r13d0tZeO+c6aafrJqnYb8SxXzp0pddA=";
|
|
|
|
modRoot = "./v2";
|
|
|
|
subPackages = [
|
|
"cmd/subfinder/"
|
|
];
|
|
|
|
meta = with 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.
|
|
'';
|
|
homepage = "https://github.com/projectdiscovery/subfinder";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fpletz Br1ght0ne ];
|
|
};
|
|
}
|