nuclei/nuclei.spec
2025-01-08 20:50:24 +00:00

37 lines
957 B
RPMSpec

%define debug_package %nil
Name: nuclei
Version: 3.3.8
Release: 1
Summary: Vulnerability scanner
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
BuildRequires: pkgconfig(openssl3.3)
%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
export GOPROXY=https://proxy.golang.org/cached-only
%make
upx bin/%{name}
%install
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README*.md LICENSE.md
%{_bindir}/%{name}