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
* 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
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
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
* 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.
OBS-URL: https://build.opensuse.org/package/show/network:utilities/bettercap?expand=0&rev=5