This release improves interact handling and introduces two new
command-line options:
* --one-session-only This boolean option instructs sshamble to
skip additional checks after the first successful session for
that target. This is helpful for devices where many methods
bypass authentication.
* --session-poke This string option defines what bytes to send
into new sessions to elicit responses. This field can be plain
ascii or escaped hex strings. For exampleshow
version\r\n\x0a\x0d will send a show version command followed
by two CRLFs. Please take into account your local shell
handling when using this feature (place the argument in
single-quotes, etc.).
* Clarify that all output is JSONL (NDJSON) and update
dependencies.
* Update analyzers.
- Update to version 0.2.1
* Dependency updates.
- Update to version 0.2.0
* Switch to https://github.com/runZeroInc/excrypto for forked
dependencies.
* Automatic badkeys.info blocklist lookups.
* Additional authentication bypass methods.
* Wider algorithm and host key support.
* Experimental blind exec vuln checks.
* Target filtering with --skip-versions.
OBS-URL: https://build.opensuse.org/package/show/network:utilities/sshamble?expand=0&rev=6
62 lines
1.9 KiB
RPMSpec
62 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package sshamble
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
# Copyright (c) 2024-2025, 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: sshamble
|
|
Version: 0.3.3
|
|
Release: 0
|
|
Summary: Security testing toolset for SSH
|
|
License: BSD-2-Clause
|
|
Group: Productivity/Security
|
|
URL: https://SSHamble.com/
|
|
#Git-Clone: https://github.com/runZeroInc/sshamble.git
|
|
Source: https://github.com/runZeroInc/sshamble/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Source1: vendor.tar.gz
|
|
BuildRequires: go
|
|
BuildRequires: golang-packaging >= 1.22.5
|
|
%{go_provides}
|
|
|
|
%description
|
|
SSHamble simulates potential attack scenarios, including
|
|
unauthorized remote access due to unexpected state transitions,
|
|
remote command execution in post-session login implementations
|
|
and information leakage through unlimited high-speed authentication
|
|
requests.
|
|
|
|
The SSHamble interactive shell provides raw access to SSH requests in
|
|
the post-session (but pre-execution) environment, allowing for simple
|
|
esting of environment controls, signal processing, port forwarding,
|
|
and more.
|
|
|
|
%prep
|
|
%autosetup -p 1 -a 1
|
|
|
|
%build
|
|
%{goprep} github.com/runZeroInc/sshamble
|
|
%{gobuild} -mod=vendor .
|
|
|
|
%install
|
|
%{goinstall}
|
|
|
|
%files
|
|
%license LICENSE.md
|
|
%doc README.md SECURITY.md
|
|
%{_bindir}/sshamble
|
|
|
|
%changelog
|