depot/third_party/nixpkgs/pkgs/tools/security/nuclei/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

36 lines
998 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "nuclei";
version = "2.2.0";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "nuclei";
rev = "v${version}";
sha256 = "0xrvza86aczlnb11x58fiqch5g0q6gvpxwsi5dq3akfi95gk3a3x";
};
vendorSha256 = "1v3ax8l1lgp2vs50gsa2fhdd6bvyfdlkd118akrqmwxahyyyqycv";
preBuild = ''
mv v2/* .
'';
meta = with lib; {
description = "Tool for configurable targeted scanning";
longDescription = ''
Nuclei is used to send requests across targets based on a template
leading to zero false positives and providing effective scanning
for known paths. Main use cases for nuclei are during initial
reconnaissance phase to quickly check for low hanging fruits or
CVEs across targets that are known and easily detectable.
'';
homepage = "https://github.com/projectdiscovery/nuclei";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}