Accepting request 978547 from home:mnhauke

Initial package for feroxbuster

OBS-URL: https://build.opensuse.org/request/show/978547
OBS-URL: https://build.opensuse.org/package/show/network:utilities/feroxbuster?expand=0&rev=1
This commit is contained in:
Marcus Meissner 2022-06-13 09:03:05 +00:00 committed by Git OBS Bridge
commit e2f63b7765
8 changed files with 122 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

5
_service Normal file
View File

@ -0,0 +1,5 @@
<services>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">feroxbuster-2.7.1</param>
</service>
</services>

5
cargo_config Normal file
View File

@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

3
feroxbuster-2.7.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fc37897d98bb09bfe738067eb5889adff20e0caef70e4487d20f41ec920381b
size 11540225

4
feroxbuster.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun May 22 12:11:28 UTC 2022 - Martin Hauke <mardnh@gmx.de>
- Initial package, version 2.7.1

78
feroxbuster.spec Normal file
View File

@ -0,0 +1,78 @@
#
# spec file for package feroxbuster
#
# Copyright (c) 2022, 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: feroxbuster
Version: 2.7.1
Release: 0
Summary: A recursive content discovery tool
License: MIT
Group: Productivity/Networking/Diagnostic
URL: https://epi052.github.io/feroxbuster-docs/
Source: https://github.com/epi052/feroxbuster/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: cargo
BuildRequires: zstd
BuildRequires: rust
BuildRequires: rust-packaging
Suggests: seclists
%description
Forced browsing is an attack where the aim is to enumerate and access
resources that are not referenced by the web application, but are
still accessible by an attacker.
feroxbuster uses brute force combined with a wordlist to search for
unlinked content in target directories. These resources may store
sensitive information about web applications and operational systems,
such as source code, credentials, internal network addressing, etc...
This attack is also known as Predictable Resource Location, File
Enumeration, Directory Enumeration, and Resource Enumeration.
%package bash-completion
Summary: Bash Completion for %{name}
Group: Productivity/Networking/Diagnostic
Requires: %{name} = %{version}
Requires: bash-completion
Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description bash-completion
Bash completion script for %{name}.
%prep
%autosetup -p 1 -a 1
install -D -m 0644 %{SOURCE2} .cargo/config
%build
%{cargo_build}
%install
cargo install --no-track --root=%{buildroot}%{_prefix} --path .
install -D -m0644 shell_completions/feroxbuster.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name}
%files
%license LICENSE
%doc ferox-config.toml.example README.md
%{_bindir}/feroxbuster
%files bash-completion
%{_datadir}/bash-completion/completions/%{name}
%changelog

3
vendor.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8611872856640f8dbb0a9ebc634412f3d57c7ce61127877bd51c60a0aceebfe3
size 40478691