2021-03-19 17:17:44 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
2020-12-29 15:07:52 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nuclei";
|
2021-09-22 15:38:15 +00:00
|
|
|
version = "2.5.2";
|
2020-12-29 15:07:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "projectdiscovery";
|
2021-03-19 17:17:44 +00:00
|
|
|
repo = pname;
|
2020-12-29 15:07:52 +00:00
|
|
|
rev = "v${version}";
|
2021-09-22 15:38:15 +00:00
|
|
|
sha256 = "1rn4qys3af41f40zr4gi23zy9gawbbjddssm95v5a4zyd5xjfr6b";
|
2020-12-29 15:07:52 +00:00
|
|
|
};
|
|
|
|
|
2021-09-22 15:38:15 +00:00
|
|
|
vendorSha256 = "04q9japkv41127kl0x2268n6j13y22qg1icd783cl40584ajk2am";
|
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";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|