5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
41 lines
1.2 KiB
Nix
41 lines
1.2 KiB
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "nuclei";
|
|
version = "2.9.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-/7013cf9nnDiKqcwFOYZUF1D+wkQKXPBcwz3YhpBUK0=";
|
|
};
|
|
|
|
vendorHash = "sha256-b5CY66c2vfGaqlFENw2lnK47Cf2+buh/LtbJyPSAbOA=";
|
|
|
|
modRoot = "./v2";
|
|
subPackages = [
|
|
"cmd/nuclei/"
|
|
];
|
|
|
|
# Test files are not part of the release tarball
|
|
doCheck = false;
|
|
|
|
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";
|
|
changelog = "https://github.com/projectdiscovery/nuclei/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab Misaka13514 ];
|
|
};
|
|
}
|