File pcredz.spec of Package pcredz
#
# spec file for package pcredz
#
# Copyright (c) 2021, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: pcredz
Version: 2.0.3
Release: 0
Summary: Extracts authentication credentials from network captures
License: XXX
Group: Productivity/Networking/Diagnostic
URL: https://github.com/lgandx/PCredz
Source: https://github.com/lgandx/PCredz/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Requires: python3
Requires: python3-Cython
Requires: python3-python-libpcap
BuildArch: noarch
%description
Pcredz extracts and dumps authentication information from either a
live network capture or a pcap dump file. It works on the following
(unencrypted) protocols:
* POP
* SMTP
* IMAP
* SNMP community string
* FTP
* HTTP Basic
* NTLMv1/v2 (DCE-RPC,SMBv1/2,LDAP, MSSQL, HTTP, etc)
* Kerberos (AS-REQ Pre-Auth etype 23) hashes.
It can also optionally, although with far lesser certainty, print
sniffed strings that appear to be credit card numbers.
%prep
%setup -q -n PCredz-%{version}
sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Pcredz
%build
%install
install -D -m 0755 Pcredz %{buildroot}/%{_bindir}/pcredz
%files
#%%license XXX
%doc Readme.md
%{_bindir}/pcredz
%changelog