# bettercap v2.41.5 - Product: bettercap (https://whatsnew.fyi/product/bettercap) - Vendor: bettercap - Date: 2025-12-15 - Version: v2.41.5 - Original notes: https://github.com/bettercap/bettercap/releases/tag/v2.41.5 - Permalink: https://whatsnew.fyi/product/bettercap/releases/v2.41.5 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Support for pcapng modern packet capture format - **added** — ble.NumDevices() function to get the count of discovered BLE devices - **added** — lan.NumHosts() function to get the count of discovered LAN hosts - **added** — wifi.NumAPs() function to get the count of discovered WiFi access points - **added** — Made BLEDeviceJSON accessible for external use - **added** — JS mkdirAll function for directory creation - **added** — JS appendFile function for file operations - **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 to prevent nil access panic - **fixed** — Buffered channel usage for signal.Notify - **fixed** — Filter out invalid WiFi frequencies - **changed** — Upgraded from google/gopacket to gopacket/gopacket - **changed** — Replaced deprecated ioutil package with modern alternatives - **changed** — Updated port name maps ###### ✨ New Features - **Moved to pcapng format** - Modern packet capture format support (closes #939) - `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 (fixes #1234) - 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 - Fixed broken documentation link - General code refactoring and minor fixes This changelog was generated by [Changelog](http://github.com/evilsocket/changelog).