nuclei/nuclei.spec

37 lines
881 B
RPMSpec
Raw Normal View History

2021-05-07 18:33:49 +03:00
%define debug_package %nil
Name: nuclei
2023-12-21 13:54:56 +00:00
Version: 3.1.3
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-10-19 20:26:10 +00:00
export GOPROXY=direct
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}