8 Commits

Author SHA256 Message Date
7f25ddb116 Accepting request 1323415 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1323415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bettercap?expand=0&rev=6
2025-12-18 17:32:43 +00:00
1c0ccee7e0 - Update to version 2.41.5:
New Features
  * Moved to pcapng format - Modern packet capture format support.
  * ble.NumDevices() - Get the count of discovered BLE devices.
  * lan.NumHosts() - Get the count of discovered LAN hosts.
  * wifi.NumAPs() - Get the count of discovered WiFi access points
  * Made BLEDeviceJSON accessible for external use.
  * Added JS mkdirAll function for directory creation.
  * Added JS appendFile function for file operations.
  Fixes
  * Fixed panic in zerogod module when IPP request is nil.
  * Fixed concurrent map write for zerogod module port discovery.
  * Fixed UI port binding logic and replaced panic with error
    logging.
  * Fixed in-memory kv-aliases creation when loading AP data from
    JSON (fixes nil access panic).
  * Fixed buffered channel usage for signal.Notify.
  * Filter out invalid WiFi frequencies.
  Improvements
  * Upgraded from google/gopacket to gopacket/gopacket.
  * Replaced deprecated ioutil package with modern alternatives.
  * Updated port name maps.
  Miscellaneous
  * Code formatting improvements via gofmt.
  * Makefile improvements for gofmt with -s and -w flags.
  * General code refactoring and minor fixes.

OBS-URL: https://build.opensuse.org/package/show/network:utilities/bettercap?expand=0&rev=13
2025-12-17 20:31:11 +00:00
ea7300ed24 Accepting request 1306785 from network:utilities
Forward the current version of bettercap to Factory

OBS-URL: https://build.opensuse.org/request/show/1306785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bettercap?expand=0&rev=5
2025-09-24 13:24:18 +00:00
11443830fe - Update to version 2.41.4:
* releasing version 2.41.4
  * hotfix: hotfix 2 for tcp.proxy

- Update to version 2.41.4:
  New Features
  * Add default username and password for the API to simplify
    initial setup and access control.
  Fixes
  * Corrected tcp.proxy onData return value handling (fixes #788)
    to ensure proper flow control in TCP proxy callbacks.
  * Ensured consistent behavior between HTTP and HTTPS servers.
  * Enforced callback signature checks to prevent runtime errors
    with invalid handlers.
  Miscellaneous
  * Fixed minor typos and improved wording.

OBS-URL: https://build.opensuse.org/package/show/network:utilities/bettercap?expand=0&rev=11
2025-09-21 08:59:43 +00:00
4f0638732c Accepting request 1295280 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1295280
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bettercap?expand=0&rev=4
2025-07-23 14:36:20 +00:00
38b19cbc58 - Update to version 2.41.1:
New Features
  * Queue handle is now passed to the packet proxy plugins to
    allow packet manipulation within the callback.
  * Wifi module now reports the current channel in state.
  * Added net.sniffer.interface parameter to sniff from a
    different interface.
  Fixes
  * Print event data instead of the whole struct for unhandled
    events.
  * Routing tables unit tests fix for Linux.
  * Refactored deprecated ioutil calls to io equivalents.
  * Gracefully handled packets that would crash gopacket
    (fixes #1184).
  * Fixed net.sniff stats output for local packets flag.
  * Fixed JavaScript number conversion issues for backwards
    compatibility.
  Miscellaneous
  * Various small fixes or general refactoring that did not
    warrant individual comments, including version bump for
    golang.org/x/net.
  * Multiple updates and fixes to issue templates and
    configuration.

OBS-URL: https://build.opensuse.org/package/show/network:utilities/bettercap?expand=0&rev=9
2025-07-23 10:56:07 +00:00
ef25215773 Accepting request 1242234 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1242234
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bettercap?expand=0&rev=3
2025-02-03 20:44:14 +00:00
0700cdc6f5 - Update to version 2.41.0
New Features
  * ZeroGod Module: Introduced the zerogod module for ZeroConf /
    Bonjour impersonation attacks.
  * API Enhancements: api.rest now returns stdout data after
    executing a session command.
  * Session Event Handling: Added addSessionEvent function for
    both DNS and HTTP proxy script environments.
  * Built-in Functions: Added removeEventListener function.
  * Named Tickers: Implemented support for named tickers.
  Improvements
  * DNS Proxy Enhancements:
    + Added TLS support.
    + Implemented backwards-compatible DNS record conversion.
    + Support for RFC3597 generic/unknown record types if the
      Rdata field is present.
  * Blacklist and Whitelist Support: Introduced logic to support
    blacklists and whitelists.
  * Wildcard Blacklisting: Allow wildcards in blacklist
    configurations.
  * IPv6 Improvements:
    + Enhanced detection logic.
    + Added a nil check for interfaces to prevent crashes.
  * Logging & Debugging:
    + Improved readability of debug logs.
    + JS property conversion errors are now printed for better
      error tracking.
  Fixes
  * DNS Proxy Stability:
    + Catch nil values in DNS records.

OBS-URL: https://build.opensuse.org/package/show/network:utilities/bettercap?expand=0&rev=7
2025-02-02 14:55:46 +00:00
8 changed files with 152 additions and 15 deletions

View File

@@ -1,8 +1,8 @@
<services>
<service name="tar_scm" mode="manual">
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/bettercap/bettercap.git</param>
<param name="scm">git</param>
<param name="revision">v2.4.0</param>
<param name="revision">v2.41.5</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
@@ -10,10 +10,11 @@
<service name="set_version" mode="manual">
<param name="basename">bettercap</param>
</service>
<service name="recompress" mode="manual">
<service name="go_modules" mode="manual" />
<service name="tar" mode="buildtime" />
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="go_modules" mode="manual">
</service>
</services>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/bettercap/bettercap.git</param>
<param name="changesrevision">acda32e3048f622b52e4c54826832334513d589d</param></service></servicedata>
<param name="changesrevision">e71140334ed0d309413512462b2c35c6f513b832</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:707ebcafa75202f0df4c8c0c2e79409b09311bcb72506ab0e0effc0dd187f758
size 5995948

3
bettercap-2.41.5.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8fa7b0c445bdeb3b6cad0a70f59f1944f4361411075192390d19a56d3163b0c4
size 45233677

View File

@@ -1,3 +1,134 @@
-------------------------------------------------------------------
Mon Dec 15 17:44:50 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.41.5:
New Features
* Moved to pcapng format - Modern packet capture format support.
* ble.NumDevices() - Get the count of discovered BLE devices.
* lan.NumHosts() - Get the count of discovered LAN hosts.
* wifi.NumAPs() - Get the count of discovered WiFi access points
* Made BLEDeviceJSON accessible for external use.
* Added JS mkdirAll function for directory creation.
* Added JS appendFile function for file operations.
Fixes
* Fixed panic in zerogod module when IPP request is nil.
* Fixed concurrent map write for zerogod module port discovery.
* Fixed UI port binding logic and replaced panic with error
logging.
* Fixed in-memory kv-aliases creation when loading AP data from
JSON (fixes nil access panic).
* Fixed buffered channel usage for signal.Notify.
* Filter out invalid WiFi frequencies.
Improvements
* Upgraded from google/gopacket to gopacket/gopacket.
* Replaced deprecated ioutil package with modern alternatives.
* Updated port name maps.
Miscellaneous
* Code formatting improvements via gofmt.
* Makefile improvements for gofmt with -s and -w flags.
* General code refactoring and minor fixes.
-------------------------------------------------------------------
Sat Sep 20 08:05:06 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.41.4:
* releasing version 2.41.4
* hotfix: hotfix 2 for tcp.proxy
-------------------------------------------------------------------
Wed Sep 10 19:32:44 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.41.4:
New Features
* Add default username and password for the API to simplify
initial setup and access control.
Fixes
* Corrected tcp.proxy onData return value handling (fixes #788)
to ensure proper flow control in TCP proxy callbacks.
* Ensured consistent behavior between HTTP and HTTPS servers.
* Enforced callback signature checks to prevent runtime errors
with invalid handlers.
Miscellaneous
* Fixed minor typos and improved wording.
-------------------------------------------------------------------
Wed Jul 16 07:20:43 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.41.1:
New Features
* Queue handle is now passed to the packet proxy plugins to
allow packet manipulation within the callback.
* Wifi module now reports the current channel in state.
* Added net.sniffer.interface parameter to sniff from a
different interface.
Fixes
* Print event data instead of the whole struct for unhandled
events.
* Routing tables unit tests fix for Linux.
* Refactored deprecated ioutil calls to io equivalents.
* Gracefully handled packets that would crash gopacket
(fixes #1184).
* Fixed net.sniff stats output for local packets flag.
* Fixed JavaScript number conversion issues for backwards
compatibility.
Miscellaneous
* Various small fixes or general refactoring that did not
warrant individual comments, including version bump for
golang.org/x/net.
* Multiple updates and fixes to issue templates and
configuration.
-------------------------------------------------------------------
Fri Jan 31 20:40:44 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.41.0
New Features
* ZeroGod Module: Introduced the zerogod module for ZeroConf /
Bonjour impersonation attacks.
* API Enhancements: api.rest now returns stdout data after
executing a session command.
* Session Event Handling: Added addSessionEvent function for
both DNS and HTTP proxy script environments.
* Built-in Functions: Added removeEventListener function.
* Named Tickers: Implemented support for named tickers.
Improvements
* DNS Proxy Enhancements:
+ Added TLS support.
+ Implemented backwards-compatible DNS record conversion.
+ Support for RFC3597 generic/unknown record types if the
Rdata field is present.
* Blacklist and Whitelist Support: Introduced logic to support
blacklists and whitelists.
* Wildcard Blacklisting: Allow wildcards in blacklist
configurations.
* IPv6 Improvements:
+ Enhanced detection logic.
+ Added a nil check for interfaces to prevent crashes.
* Logging & Debugging:
+ Improved readability of debug logs.
+ JS property conversion errors are now printed for better
error tracking.
Fixes
* DNS Proxy Stability:
+ Catch nil values in DNS records.
+ Prioritize longer and more explicit hostnames.
* UI Asset Handling:
+ Directly embedded UI assets.
+ Removed UI submodule.
Compatibility:
* Improved backwards compatibility for getHandshakeFileFor.
Miscellaneous:
* Various small fixes and refactorings.
-------------------------------------------------------------------
Wed Jan 29 23:00:38 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
- Use `obs_scm` instead of `tar_scm` service
- Require go >= 1.21 (toolchains support)
- Update to version 2.40.0:
The update from 2.32.0 to 2.4.0 was an incorrect upstream tag.
This release just fixes the incorrect version number.
-------------------------------------------------------------------
Tue Sep 17 06:19:47 UTC 2024 - Martin Hauke <mardnh@gmx.de>

4
bettercap.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: bettercap
version: 2.41.5
mtime: 1765805194
commit: e71140334ed0d309413512462b2c35c6f513b832

View File

@@ -1,8 +1,8 @@
#
# spec file for package bettercap
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2019-2024, Martin Hauke <mardnh@gmx.de>
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2019-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
@@ -18,7 +18,7 @@
Name: bettercap
Version: 2.4.0
Version: 2.41.5
Release: 0
Summary: Swiss army knife for network attacks and monitoring
License: GPL-3.0-or-later
@@ -31,7 +31,8 @@ BuildRequires: golang-packaging
BuildRequires: libpcap-devel
BuildRequires: pkgconfig
BuildRequires: systemd-rpm-macros
BuildRequires: golang(API) >= 1.9
# go.mod requires toolchains support (>= 1.21)
BuildRequires: golang(API) >= 1.21
BuildRequires: pkgconfig(libnetfilter_queue)
BuildRequires: pkgconfig(libusb-1.0)
Requires: libnetfilter_queue1

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0bee10d4ad3986cadf0f72c33a89a78ff2e068582aeafd284c4d613bd3d20ae6
size 4398703
oid sha256:cde5b92667a661ebf9b25c810eb05f1ad21d71907672eb335accf197facc7ab7
size 4619324