Skip to content

v2.42.0

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Nov 21:58
· 4 commits to master since this release

✨ New Features

  • new: ssh.proxy module — SSH MITM proxy with full-stack spoofing caplet support
  • new(tls): 🛡️ Automatic eMudhra CAs support in all TLS proxies (zeroconf, https, etc)
  • new: ESSID and glob support for wifi.deauth and wifi.assoc (closes #1297, #1273)
  • new(tls): serve the full CA chain and allow configuring leaf key size
  • new(dns_spoof): block_real option to drop forwarded DNS queries on Linux
  • new(arp.spoof): arp.spoof.spoofed, arp.spoof.forwarding and arp.spoof.interval parameters

🐛 Fixes

  • fix: 🛡️ prevent out-of-bounds panics in packet parsers
  • fix: net.sniff missing SNI when a TLS length byte is 0x0a
  • fix: net.sniff only starts net.recon for live captures (fixes #1292)
  • fix(wifi,ble): correct RSSI sort direction in wifi.show and ble.show
  • fix: thread-safe access to WiFi station state (Frequency/RSSI/LastSeen/Hostname/Alias/Encryption/Cipher/Authentication/WPS)
  • fix: deadlock in wifi.recon clear / wifi.recon.channel clear, and a dropped hop nudge
  • fix: Linux routing parser for localized netstat output and IPv6 pseudo-default routes
  • fix(arp.spoof): restore IP forwarding state on Stop (fixes #1261)
  • fix(ssh.proxy): exclude proxy IP from the firewall DNAT rule
  • fix(syn_scan): use net.JoinHostPort for IPv6-safe banner grabbing
  • fix(graph): don't put : in node file names on Windows (fixes #1280)
  • fix(session): return an error for a missing bool parameter
  • fix(session): keep the CPU profile file open until profiling stops
  • fix(events.stream): don't close process stdout when stopped via the API; close rotated output handles so Windows can clean up
  • fix(zerogod): format DNS question fields explicitly

🔧 Improvements

  • refactor: set the WiFi channel via direct nl80211 netlink instead of forking iw on every hop
  • refactor(network): simplify Dot11Chan2Freq 5 GHz lookup and Dot11Freq2Chan flow
  • ci: consolidated workflows into two, migrated Windows builds to ucrt64, bumped Go/workflow versions

Miscellaneous

  • build(deps): bump gopacket 1.6.1 → 1.7.2, golang.org/x/net 0.51.0 → 0.55.0, antchfx/xpath 1.3.4 → 1.3.6
  • build(deps): bump softprops/action-gh-release 2 → 3.0.4, docker/login-action 4.6.0 → 4.8.0, docker/setup-buildx-action 3 → 4, actions/setup-go 7.0.0 → 7.1.0
  • chore: removed bettercap.service

🧪 Tests

  • test: TLS signing tests, eMudhra chain validation without x509.Verify, empty NBNS hostname regression coverage