2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
2020-12-29 15:07:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nuclei";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "3.2.4";
|
2020-12-29 15:07:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "projectdiscovery";
|
2024-01-13 08:15:51 +00:00
|
|
|
repo = "nuclei";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-xrIR2QVizORxR2OO09Qj5h8avv2xeIsQ+VfmlZotML8=";
|
2020-12-29 15:07:52 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
vendorHash = "sha256-s2h0ayBEuHUHcqYvyQTMNu9+NR5OVjzRshKzILDlrKs=";
|
2020-12-29 15:07:52 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
subPackages = [ "cmd/nuclei/" ];
|
2020-12-29 15:07:52 +00:00
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
ldflags = [
|
|
|
|
"-w"
|
|
|
|
"-s"
|
|
|
|
];
|
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
# Test files are not part of the release tarball
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-12-29 15:07:52 +00:00
|
|
|
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";
|
2022-12-17 10:02:37 +00:00
|
|
|
changelog = "https://github.com/projectdiscovery/nuclei/releases/tag/v${version}";
|
2020-12-29 15:07:52 +00:00
|
|
|
license = licenses.mit;
|
2024-04-21 15:54:59 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
fab
|
|
|
|
Misaka13514
|
|
|
|
];
|
2024-01-13 08:15:51 +00:00
|
|
|
mainProgram = "nuclei";
|
2020-12-29 15:07:52 +00:00
|
|
|
};
|
|
|
|
}
|