Imported from SRPM

This commit is contained in:
Sergey Zhemoitel 2021-05-07 18:33:49 +03:00
commit 89a71f5a36
2 changed files with 38 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
nuclei-2.3.6.tar.gz: bc31b6d0ca4ee817c06a19ead0674c04d27edee8

36
nuclei.spec Normal file
View file

@ -0,0 +1,36 @@
%define debug_package %nil
Name: nuclei
Version: 2.3.6
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
cd v2
%make
upx %{name}
%install
install -Dm0755 v2/%{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README*.md LICENSE.md
%{_bindir}/%{name}