2021-03-19 17:17:44 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
2020-12-29 15:07:52 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nuclei";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "2.9.10";
|
2020-12-29 15:07:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "projectdiscovery";
|
2021-03-19 17:17:44 +00:00
|
|
|
repo = pname;
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-08-04 22:07:22 +00:00
|
|
|
hash = "sha256-FpgKOUycSiA0llEvJK71+LnITSTxPkP+Wt5a14Vfwas=";
|
2020-12-29 15:07:52 +00:00
|
|
|
};
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
vendorHash = "sha256-g8+tkGqsXROj157sdUMfZMh7+5+dxd3mIxr5KY/mWO8=";
|
2020-12-29 15:07:52 +00:00
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
modRoot = "./v2";
|
|
|
|
subPackages = [
|
|
|
|
"cmd/nuclei/"
|
|
|
|
];
|
2020-12-29 15:07:52 +00:00
|
|
|
|
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;
|
2023-07-15 17:15:38 +00:00
|
|
|
maintainers = with maintainers; [ fab Misaka13514 ];
|
2020-12-29 15:07:52 +00:00
|
|
|
};
|
|
|
|
}
|