From 3628920ba4babffd9f4e9921079d4c350864db73 Mon Sep 17 00:00:00 2001 From: Carlos Mogas da Silva Date: Tue, 6 Jul 2021 22:43:03 +0100 Subject: [PATCH] Add enum4linux --- enum4linux/enum4linux.spec | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 enum4linux/enum4linux.spec diff --git a/enum4linux/enum4linux.spec b/enum4linux/enum4linux.spec new file mode 100644 index 0000000..c55c6ca --- /dev/null +++ b/enum4linux/enum4linux.spec @@ -0,0 +1,38 @@ +Name: enum4linux +Version: 0.9.1 +Release: 1%{?dist} +Summary: A Linux alternative to enum.exe for enumerating data from Windows and Samba hosts. + +License: GPLv2 +URL: https://github.com/CiscoCXSecurity/enum4linux +Source0: https://github.com/CiscoCXSecurity/enum4linux/archive/refs/tags/v%{version}.tar.gz +BuildArch: noarch + +BuildRequires: perl-generators + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: samba-client + +%description +Enum4linux is a tool for enumerating information from Windows and +Samba systems. It attempts to offer similar functionality to enum.exe +formerly available from www.bindview.com. +It is written in Perl and is basically a wrapper around the Samba +tools smbclient, rpclient, net and nmblookup. + +%prep +%autosetup -n %{name}-%{version} + +%build + +%install +install -m 0755 enum4linux.pl -D -t %{buildroot}/%{_bindir}/ + +%files +%{_bindir}/enum4linux.pl +%license COPYING.GPL COPYING.ENUM4LINUX +%doc CHANGELOG README.md + +%changelog +* Tue Jul 06 2021 Carlos Mogas da Silva - 0.9.1 +- Initial release