nuclei/nuclei.spec
2023-10-19 20:30:48 +00:00

37 lines
889 B
RPMSpec

%define debug_package %nil
Name: nuclei
Version: 3.0.0
Release: 1
Summary: Vulnerability scaner
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
export GOPROXY=direct
cd v3
%make
upx %{name}
%install
install -Dm0755 v2/%{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README*.md LICENSE.md
%{_bindir}/%{name}