2021-05-07 18:33:49 +03:00
|
|
|
%define debug_package %nil
|
|
|
|
|
|
|
|
Name: nuclei
|
2024-07-18 00:21:40 +00:00
|
|
|
Version: 3.3.0
|
2021-05-07 18:33:49 +03:00
|
|
|
Release: 1
|
2023-10-20 20:11:58 +00:00
|
|
|
Summary: Vulnerability scanner
|
2021-05-07 18:33:49 +03:00
|
|
|
URL: https://nuclei.projectdiscovery.io
|
|
|
|
Source0: https://github.com/projectdiscovery/nuclei/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Other
|
|
|
|
BuildRequires: go >= 1.11
|
|
|
|
BuildRequires: git-core
|
|
|
|
BuildRequires: upx
|
|
|
|
|
|
|
|
%description
|
|
|
|
Nuclei is used to send requests across targets based on a
|
|
|
|
template leading to zero false positives and providing fast
|
|
|
|
scanning on large number of hosts. Nuclei offers scanning
|
|
|
|
for a variety of protocols including TCP, DNS, HTTP, File,
|
|
|
|
etc. With powerful and flexible templating, all kinds of
|
|
|
|
security checks can be modelled with Nuclei
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2023-12-21 19:13:05 +00:00
|
|
|
export GOPROXY=https://proxy.golang.org/cached-only
|
2021-05-07 18:33:49 +03:00
|
|
|
%make
|
|
|
|
upx %{name}
|
|
|
|
|
|
|
|
%install
|
2023-10-19 20:42:42 +00:00
|
|
|
install -Dm0755 %{name} %{buildroot}%{_bindir}/%{name}
|
2021-05-07 18:33:49 +03:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README*.md LICENSE.md
|
|
|
|
%{_bindir}/%{name}
|