bettercap v2.41.5

v2.41.5
Added 7
  • Support for pcapng modern packet capture format
  • ble.NumDevices() function to get the count of discovered BLE devices
  • lan.NumHosts() function to get the count of discovered LAN hosts
  • wifi.NumAPs() function to get the count of discovered WiFi access points
  • Made BLEDeviceJSON accessible for external use
  • JS mkdirAll function for directory creation
  • JS appendFile function for file operations
Changed 3
  • Upgraded from google/gopacket to gopacket/gopacket
  • Replaced deprecated ioutil package with modern alternatives
  • Updated port name maps
Fixed 6
  • Panic in zerogod module when IPP request is nil
  • Concurrent map write for zerogod module port discovery
  • UI port binding logic and replaced panic with error logging
  • In-memory kv-aliases creation when loading AP data from JSON to prevent nil access panic
  • Buffered channel usage for signal.Notify
  • Filter out invalid WiFi frequencies

From bettercap

✨ 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.

View original

Upgraded? How did it go?

Discussion