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
357 lines
14 KiB
Plaintext
357 lines
14 KiB
Plaintext
-------------------------------------------------------------------
|
|
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>
|
|
|
|
- Update to version 2.4.0:
|
|
* fix: added better debug logging for core.Exec (fixes #1125).
|
|
* new: added support for 29bit obd2 identifiers.
|
|
* new: implemented can.obd2 builtin parser.
|
|
* fix: fixed address reload on api.rest.
|
|
* new: can.fuzz now supports an optional size argument.
|
|
* fix: can.fuzz now expects an hexadecimal frame id.
|
|
* fix: stop can.dump reader when can.recon is stopped.
|
|
* new: can.dump reader will now sleep for the correct amount
|
|
of time.
|
|
* new: implemented can.dup and can.dump.inject to read a candump
|
|
log file.
|
|
* refact: refactored can dbc logic.
|
|
* new: added new wifi cipher suites and auth types.
|
|
* new: added new wifi RSN parsing.
|
|
* fix: fixed a nil pointer dereference when wifi.show is executed
|
|
before wifi.recon on.
|
|
* fix: fixed handshakes filename if wifi.aggregate is false.
|
|
* fix: expanding file path in file read api.
|
|
* fix: initialize wifi module state correctly.
|
|
* new: embedded ui.
|
|
* new: added CAN to session json object.
|
|
* fix: do not allow wifi.recon if wifi.bruteforce is running.
|
|
* fix: added p2p_disabled=1 for wifi.bruteforce on linux.
|
|
* new: implemented wifi.bruteforce for linux.
|
|
* fix: bring interface down for mac.changer module.
|
|
* fix: do not attempt mac lookup if gateway is empty.
|
|
* fix: do not report a routing error if the interface is
|
|
disconnected.
|
|
* fix: make sure that wifi channels are unique and sorted.
|
|
* fix: WPA3 is now correcly identified and reported.
|
|
* new: ble, can, hid and wifi modules will now set a custom
|
|
prompt.
|
|
* new: implemented can.filter.
|
|
* new: can.fuzz command.
|
|
* new: gps.set to manually set/override gps coordinates.
|
|
* fix: fixed verbose gousb logging.
|
|
* fix: using proper v2 package suffix.
|
|
* fix: fixed device index use for BLE module.
|
|
* new: history file location can now be set via
|
|
BETTERCAP_HISTORY env var.
|
|
* new: implemented can.inject.
|
|
* new can module for CAN-bus.
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Apr 5 12:31:33 UTC 2024 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
- Remove the empty %check section.
|
|
rpmlint issued an misleading warning/recommendation.
|
|
* https://github.com/rpm-software-management/rpmlint/commit/d7da573e63844648107a3c1a076cddbf13f7df8a
|
|
* https://github.com/rpm-software-management/rpmlint/pull/1222
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Apr 5 09:45:28 UTC 2024 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
- Add %check section to prevent rpmlint warnings
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Mar 23 19:18:09 UTC 2024 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
- Add libnetfilter_queue1 to Requires
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Aug 21 13:36:22 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
- Update to version 2.32.0
|
|
New Features
|
|
* new: new -pcap-buf-size option to set a custom pcap buffer size.
|
|
* new: centralized pcap capture configuration management.
|
|
* add wifi fake authentication attack.
|
|
* add channel hopping attack.
|
|
* added Windows basepath to UI setup.
|
|
Fixes
|
|
* Various changes and fixes.
|
|
* Fix arp.spoof not sending replies.
|
|
* fix: checking boundaries when parsing WPS vendor extensions.
|
|
Misc
|
|
* Add DESTDIR variable.
|
|
* nothing but import format change.
|
|
* make import statement clean.
|
|
* Support for ch177 .
|
|
* Further tests for mapping dot11 frequencies to channels as.
|
|
ch177 was not discovered correctly based on freq.
|
|
|
|
-------------------------------------------------------------------
|
|
Sat May 22 13:55:52 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
- Update to version 2.31.1
|
|
* Bugfix release
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Apr 17 16:17:33 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
- Update to version 2.31.0
|
|
New Features
|
|
* gateway.change event for MITM monitoring.
|
|
* ticker now broadcasts a tick event.
|
|
* wifi.probe to send fake client probe requests.
|
|
* session scripts can now include other scripts via require('file')
|
|
* new -script allows to run JS code to instrument session.
|
|
* implemented icmpv6 rogue router advertisement.
|
|
* experimental ipv6 ndp spoofer.
|
|
* net.sniff now supports ipv6.
|
|
* basic ipv6 support.
|
|
* module parameters now accept that will be resolved to the
|
|
interface IP address.
|
|
* detection and parsing of deauthentication frames as
|
|
wifi.deauthentication events.
|
|
* new -caplets-path argument to specify an alternative caplets
|
|
base path.
|
|
Fixes
|
|
* fixed a 'ble.recon off' panic on linux.
|
|
* handle disconnection (nil gateway) in routes monitor.
|
|
* refactored routing logic (fixes #701).
|
|
* do not trigger deauth events for frames sent by client
|
|
stations or unknown access points.
|
|
* small fix or general refactoring i did not bother commenting.
|
|
* do not override req.Hostname in http proxy module script.
|
|
* fixed a panic in net.show.meta when rendeing open ports.
|
|
* don't print wifi.client.probe we generate.
|
|
* fixed vm locking.
|
|
* using static url for qemu.
|
|
* keep track of ipv6 packets.
|
|
* collect additional frames for stations with key material.
|
|
* using iw if available to get supported wifi frequencies.
|
|
* returning error when neither iw or iwconfig are found.
|
|
* updated gatt library which fixes some linux issues.
|
|
* do not add unhandled dns types to dns spoofing packets.
|
|
Misc
|
|
* moved example script in dedicated repo
|
|
* using script to detect karma attacks
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Apr 11 19:18:28 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
- Update to version 2.30.2
|
|
- Bugfix release
|
|
- Update to version 2.30
|
|
New Features
|
|
* new c2 module, first draft
|
|
Fixes
|
|
* Fix bug in target parsing
|
|
* fix: updated readline, using syscall package instead of
|
|
constants
|
|
* fix: better phrasing
|
|
* fix: added sasl authentication support for the c2 module
|
|
Misc
|
|
* Add start/stop callbacks to packet proxy
|
|
* Delete .deepsource.toml
|
|
* Remove unnecessary comparison with bool
|
|
* Remove unnecessary guard around delete
|
|
* Add .deepsource.toml
|
|
- Update to version 2.29
|
|
New Features
|
|
* gps module can use both serial and gpsd
|
|
Fixes
|
|
* fix: do not close serial port if nil
|
|
* network: remove mutex lock that breaks webui and api
|
|
* go vet fixes
|
|
* wifi.go: dont claim read lock until it is needed
|
|
* fix slice memory allocation optimization
|
|
* network: optimize wifi locking and include memory
|
|
allocation optimization
|
|
* Fix content type parsing error, improve regexp search
|
|
performance, strip header names and values.
|
|
* Set Content-Type for PAC and WPAD file
|
|
Misc
|
|
* misc: updated the version of go used to compile releases
|
|
* Remove proxy-side TLD spoofing.
|
|
* Update HTTP header regexp selector.
|
|
* misc: removed useless badges from the README
|
|
* misc: updated dependencies
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Jul 3 15:52:54 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
- Update to version 2.28
|
|
New Features
|
|
* Implemented a way to not send deauthentication and/or
|
|
association packets to AP's for which key material was already
|
|
acquired
|
|
Fixes
|
|
* Make domain matches in the dns.spoof module case insensitive
|
|
* Update mysql_server.go
|
|
* Fix sslstrip & some related issues in http(s).proxy and
|
|
dns.spoof
|
|
* Fix problem with the client ip in https.proxy as described in
|
|
bettercap/caplets#45
|
|
* modules/arp_spoof: use net.IP to compare addresses
|
|
Misc
|
|
* Fix conflict with last commit
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Apr 8 19:21:35 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
- Update to version 2.27
|
|
New Features
|
|
* new: added new http.proxy.redirect and https.proxy.redirect
|
|
parameters to optionally disable iptables port redirection
|
|
* View HTTP Basic authorization credentials when sniffing
|
|
Fixes
|
|
* fix: logging error when read from websocket fails
|
|
* fix: using iw instead of iwconfig whenever possible
|
|
* fix: fixed a bug with wifi.recon.channel clear when
|
|
wifi.interface is nil (fixes #661)
|
|
* fix: fixed gateway regexp for macOS (closes #645)
|
|
* Update iw txpower syntax to only use int
|
|
* Fix iw txpower syntax
|
|
* Correcting content-length for stripped response body
|
|
* modules/wifi: Fix handle activation when monitor device is
|
|
already set up
|
|
* modules/wifi: fix SetSnapLen error message text
|
|
* modules/ble: swap error returns
|
|
* caplets: Swap Error Returns
|
|
* tls: fix CertConfigFromModule() return order
|
|
* tls: fix CreateCertificate() return order
|
|
* modules/events_stream: fix dropped error
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Oct 26 09:26:13 UTC 2019 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
- Initial package, version 2.26.1
|