Skip to content

Releases

v2.42.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 21:58

✨ 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

v2.41.7

Choose a tag to compare

@github-actions github-actions released this 11 May 09:46
Immutable release. Only release title and notes can be modified.

🐛 Fixes

  • 🛡️ Fixed mysql.server panic on crafted client handshake (remote DoS)
  • 🛡️ Fixed zerogod IPP chunked body panic via OOB uint64 allocation (#1263)
  • Close connection on panic recovery in the TCP acceptor
  • Fixed flags value (0x0c → 0xc0) in prefix option for ICMPv6 router advertisement
  • Use only iwlist to detect supported channels (fixes #1243)
  • Fixed dropped graph error
  • Fixed JS SBCB deserialization and JSSVCB key int64 typing
  • int64 conversion for otto backwards compatibility

🔧 Improvements

  • Enhanced PMKID validation and debug logging

Miscellaneous

  • Bumped actions/download-artifact 5 → 8
  • Bumped actions/upload-artifact 4 → 7
  • Bumped docker/login-action 3 → 4
  • Bumped docker/setup-qemu-action 3 → 4
  • Bumped docker/build-push-action 6 → 7

v2.41.5

Choose a tag to compare

@evilsocket evilsocket released this 15 Dec 13:28

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

v2.41.4

Choose a tag to compare

@evilsocket evilsocket released this 18 Aug 17:16

Second hotfix release for 42da612

Codenamed: I HATE JAVASCRIPT.

v2.41.3

Choose a tag to compare

@evilsocket evilsocket released this 18 Aug 15:09

Hotfix release for cc475dd

v2.41.2

Choose a tag to compare

@evilsocket evilsocket released this 18 Aug 13:12

New Features

  • 🔐 Add default username and password for the API to simplify initial setup and access control. (thank you @kkrypt0nn)

Fixes

  • 🐛 Corrected tcp.proxy onData return value handling (fixes #788) to ensure proper flow control in TCP proxy callbacks. (thank you @LucasParsy)
  • 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 (including ticker off description).
  • Maintenance: bumped GitHub Action actions/download-artifact from v4 to v5.
  • Housekeeping: merged upstream and dependency-related pull requests.

This changelog was generated by Changelog.

v2.41.1

Choose a tag to compare

@evilsocket evilsocket released this 15 Jul 09:53

New Features

  • 🚀 Increased unit tests coverage considerably.
  • 🐳 Updated Docker image to newer Golang version.
  • 📦 Queue handle is now passed to the packet proxy plugins to allow packet manipulation within the callback (fixes #1202).
  • 📡 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.
  • 🛠️ Various unit tests fixes for Windows.
  • 🐧 Routing tables unit tests fix for Linux.
  • 🔄 Refactored deprecated ioutil calls to io equivalents.
  • ✅ Removed unused module (ref #1201).
  • ⚠️ 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

  • 📚 Added contributors to README.
  • 🔄 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.
  • 🔄 Bumped all dependencies to their latest versions.

This changelog was generated by Changelog.

v2.41.0

Choose a tag to compare

@evilsocket evilsocket released this 31 Jan 11:28

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.

Miscellaneous

  • Documentation:
    • Updated README.md.
  • Credits:
    • Acknowledged the grandcat package.

Full Changelog: v2.40.0...v2.41.0

v2.40.0

Choose a tag to compare

@evilsocket evilsocket released this 14 Sep 21:40
releasing v2.40.0

v2.4.0

Choose a tag to compare

@evilsocket evilsocket released this 13 Sep 11:23

75478a2 misc: small fix or general refactoring i did not bother commenting
5bc9dd9 fix: added better debug logging for core.Exec (fixes #1125)
97b4dcb new: added support for 29bit obd2 identifiers
c3999d6 new: implemented can.obd2 builtin parser
cf6fba6 chore: updated ui version
3775295 chore: updated ui submodule
b2035da fix: fixed address reload on api.rest
00c5b2c chore: updated ui submodule
b1ac9cd chore: updated ui submodule
5786ffd chore: updated ui submodule
72afa07 new: can.fuzz now supports an optional size argument (thanks musafir)
1c56622 fix: can.fuzz now expects an hexadecimal frame id (thanks musafir)
4c75995 fix: stop can.dump reader when can.recon is stopped
c4c7b8c chore: updated ui submodule
bb847fc new: can.dump reader will now sleep for the correct amount of time
7702207 new: implemented can.dup and can.dump.inject to read a candump log file
840f819 refact: refactored can dbc logic
31d93e7 new: added new wifi cipher suites and auth types
f0126c2 new: added new wifi RSN parsing
26b2c30 fix: fixed a nil pointer dereference when wifi.show is executed before wifi.recon on
575022f fix: fixed deprecation warning on macOS native code
a4c99df chore: updated ui
81e18d2 chore: updated ui
81adcc9 fix: fixed handshakes filename if wifi.aggregate is false
7d85483 fix: expanding file path in file read api
ac2d333 fix: initialize wifi module state correctly
9f61ec7 chore: fixed submodule url for github workflow
f3132ce chore: updated git workflows to init submodules
d8aeecb new: embedded ui
3ec7b01 new: added CAN to session json object
0202028 fix: do not allow wifi.recon if wifi.bruteforce is running
ef9a3ef misc: small fix or general refactoring i did not bother commenting
5cc7260 misc: small fix or general refactoring i did not bother commenting
77ae56c fix: added p2p_disabled=1 for wifi.bruteforce on linux (ref #1075)
1b91eb3 new: implemented wifi.bruteforce for linux (closes #1075)
d8e1128 fix: bring interface down for mac.changer module
08da91e new: implemented wifi.bruteforce for darwin (ref #1075)
b0d56e4 fix: do not attempt mac lookup if gateway is empty
23e074b fix: do not report a routing error if the interface is disconnected
2d03782 fix: make sure that wifi channels are unique and sorted
8d8af63 chore: added WPA3 to readme
6a6e942 chore: added github to funding
0ceb938 fix: WPA3 is now correcly identified and reported (fixes #1098)
6282fe3 new: ble, can, hid and wifi modules will now set a custom prompt (closes #1117)
d9a91d3 new: implemented can.filter
e45c9cc docs: added can-bus to readme
cc66b64 chore: removed unused files
c5d2022 fix: fixed github action macOS architecture and Windows build script
d733381 misc: small fix or general refactoring i did not bother commenting
e1e8a0b fix: fixed windows build via msys2/setup-msys2@v2
9266ee9 misc: small fix or general refactoring i did not bother commenting
13cab7b fix: fixed binaries building action
f619265 misc: small fix or general refactoring i did not bother commenting
72b1450 fix: setting PKG_CONFIG_PATH on windows builds
235017c chore: removed armhf build
86e87ab fix: attempt to fix tests on windows
cdefa3c fix: attempt to fix tests on windows
ee944d9 fix: attempt to fix tests on windows
fcf285a chore: more veborse errors in environment tests
7f22425 fix: fixed compilation on windows
1df51fd fix: fixed windows test failure in environment_test.go
afdc68f chore: refactored github workflows into separate files
9ab2e13 chore: refactored github workflows into separate files
6f1920f new: can.fuzz command
69744e6 fix: disable ble module for BSD (fixes #1115)
7636ca2 new: gps.set to manually set/override gps coordinates (closes #915)
9d5c38c fix: fixed verbose gousb logging (fixes #969)
2659a55 fix: using proper v2 package suffix (fixes #727)
76e136a fix: fixed device index use for BLE module (fixes #994)
93de427 new: history file location can now be set via BETTERCAP_HISTORY env var (closes #627)
9e7fda7 fix: added packet_proxy_freebsd (fixes #1067)
fd05df6 new: implemented can.inject
5fe3ef3 new: new can module for CAN-bus