Releases: bettercap/bettercap
v2.40.0
v2.4.0
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
v2.33.0
What's Changed
780032b misc: small fix or general refactoring i did not bother commenting
41fa4cd new: using simpler release file
107c8fd fix: fixed docker build
856c0d5 misc: small fix or general refactoring i did not bother commenting
0343e00 new: docker workflow
d68da21 fix: dockerfile fixes
7605f4a fix: replaced nfqueue package (fixes #1070)
dc621f5 misc: small fix or general refactoring i did not bother commenting
3e16c6d new: replaced travis with github actions (closes #1114)
dd71378 misc: small fix or general refactoring i did not bother commenting
5d2c173 misc: small fix or general refactoring i did not bother commenting
632d703 new: added github workflows (ref #1114)
8b24723 fix: added cover.out to .gitignore
9abf7c8 fix: if interface name has not been provided, avoid default to a tun interface
7beb27c fix: updated gatt library to include fix for #1095
b12ba79 fix: workaround for PCAP_SET_RFMON issue (fixes #819, the-tcpdump-group/libpcap#1041, the-tcpdump-group/libpcap#1033)
06623dd Merge pull request #1085 from SkyperTHC/master
2499d51 fix: every wifi frame injection operation on macOS will print an error (ref #448)
5858743 new: updated mac vendor lookup with IEEE datasets
0dc5f66 fix: fixed wifi support on macOS (fixes pr #1100, fixes #1090, fixes #1076)
02fa241 misc: small fix or general refactoring i did not bother commenting
c2ab5f4 reverted pr #1100 due to instability
7371a85 Merge pull request #1107 from stefanb/go1.23-support
9b6694f mereg
6951fbb fix: fixes cgo newline
9bf1474 Merge pull request #1074 from konradh/ndp-spoof-unset-neighbour
9cd1609 Merge pull request #1073 from konradh/ndp-spoof-router-lifetime
3df89fb Merge pull request #1100 from loks0n/fix-macos
74647db Update README.md
474215e Bump golang.org/x/net for Go 1.23 compatibility
826f13e new: pushed new graph experimental module
ca2e257 Merge pull request #1087 from testwill/file_close
7182222 fix: macos
043bd45 fix: close cpu profile
a950d3b sslstrip fix
5af1be3 fix: allow clearing ndp.spoof.neighbour to disable neighbor advertisements
4dc7bae new: new ndp.spoof.router_lifetime option
924ff57 Merge pull request #1005 from elleuc4/route_headings_fix
ee35550 Merge pull request #1008 from jansramek/master
76a7820 Merge pull request #1024 from half-duplex/ndp-ban
bdc389e Merge pull request #1023 from half-duplex/ndp-spoof-ip-fmt
32d997e Merge pull request #1036 from ttdennis/master
786dacf Fix BLE name assignment
cdd483e ndp.spoof: add ndp.ban
27bae1c ndp.spoof: fix format string
e5f8c16 fix: enable both ipv4 and ipv6 forwarding
58ca59b new: switching to github.com/stratoberry/go-gpsd (closes #938)
8e4a000 Update getting of possible channels (darwin)
44e2420 Skip line if no route headings found yet
24a5dfe Merge pull request #988 from tranzmatt/master
3f154cc Fix go/alpine Docker version to correct build breakage
e224eea fix: give priority to iwlist as iw gives unsupported frequencies (fixes #881)
4f3f55f fix: fs related scripting functions will now resolve paths containing special characters
a4fb94c Merge branch 'master' of github.com:bettercap/bettercap
11d9606 new: added fileExists function to the session scripting runtime
c81db63 Merge pull request #956 from BenGardiner/ipv6_anyproxy_fixes
eaf2b96 revert removal of default any.proxy.dst_address ipv4 address
2837108 new: added saveJSON function to the session scripting runtime
eff8135 new: added loadJSON function to the session scripting runtime
22de9d3 new: added session.stopped event (and fixed session.started event propagation)
fd160bf Merge pull request #953 from firefart/err
628c0b7 ndp.spoof: use validator for neighbour parameter, print targets on start, complain when a MAC can't be found (UDP thing doesn't always work)
2bc3d87 use ip6tables for any_proxy to ipv6 addresses
68924c3 do not swallow err on settxpower
ed4239f Merge pull request #913 from PeterDaveHello/ImproveDockerfile
b9a546e Merge pull request #923 from xrayid/master
0193d13 fix: exclude disabled channels
a20fb13 parse every IPv4 and IPv6 route
3bd813f fix: parse interface names in IPv6 routing tables
ac96bc8 fix IPv6 routing table parsing
5389228 also support 'Netif' reference in certain netstat builds
c6740a5 fix automatic gateway detection for Linux
aba29e0 fix: revert back to parsing IPv4 address blocks in net.FindInterface
e255eba simplify interface IPv4 address parsing
44a1760 fix: adopt new IPv4 parsing logic
eee94e9 simplify IPv4 validators
7fd9d18 fix macParser, MACValidator and IPv4Validator regexp selectors + add IPv4BlockValidator
e81f36c Remove --update
and replace with --no-cache
for apk
in Dockerfile
New Contributors
- @xrayid made their first contribution in #923
- @PeterDaveHello made their first contribution in #913
- @firefart made their first contribution in #953
- @BenGardiner made their first contribution in #956
- @tranzmatt made their first contribution in #988
- @ttdennis made their first contribution in #1036
- @half-duplex made their first contribution in #1023
- @jansramek made their first contribution in #1008
- @elleuc4 made their first contribution in #1005
- @testwill made their first contribution in #1087
- @loks0n made their first contribution in #1100
- @konradh made their first contribution in #1073
- @stefanb made their first contribution in #1107
- @SkyperTHC made their first contribution in #1085
Full Changelog: v2.32.0...v2.33.0
v2.32.0
Changelog
New Features
- 81ae731 new: new -pcap-buf-size option to set a custom pcap buffer size (closes #896)
- 59dce4c new: centralized pcap capture configuration management
- d0ecfd4 new: updated to go 1.16
- ef2cd00 add wifi fake authentication attack
- c8ecaf9 add channel hopping attack
- 58f4214 added Windows basepath to UI setup
Fixes
- d7f95dc Various changes and fixes
- 0637451 Fix arp.spoof not sending replies
- 6c2c0da fix: checking boundaries when parsing WPS vendor extensions (fixes #885)
- 9404620 Support for ch177
- daf2f94 Further tests for mapping dot11 frequencies to channels as ch177 was not discovered correctly based on freq
Misc
v2.31.1
Changelog
New
- 8c00207 new: gps.new event now reports GPS data changes as they occur (fixes #878)
- c38de3a fix: support for negative numbers for decimal parameters (closes #866)
Fixes
- 0e2fd00 fix: fixed a bug in arp.spoof that caused targets not to be spoofed if not previously known to the attacker computer in terms of Mac address
- badd131 fix: removed broken test
- b9cc36b fix: fixed core test
- dd71ccf fix: updated gatt library (fixes #861)
- dfe64ee fix: showing the entire error message when a command fails
- 82dd30c fix: less verbose logging
- f42dcb7 fix: using newer macOS image on travis to avoid timeouts due to homebrew compilation forced by EOL OS (fixes #865)
- 4fc84f2 new: new arp.spoof.skip_restore option (fixes #874)
- 821ce9a revert changes from #723
v2.31.0
Changelog
New Features
- 131aa84 misc: added osx tests for tagless travis builds
- c47e3f6 new: gateway.change event for MITM monitoring
- bfe307f new: ticker now broadcasts a tick event
- 906969f new: wifi.probe to send fake client probe requests
- 8827a2a new: session scripts can now include other scripts via require('file')
- 4072706 new: new -script allows to run JS code to instrument session
- a6d5d5d new: implemented icmpv6 rogue router advertisement
- 57436a8 new: experimental ipv6 ndp spoofer (closes #851)
- cbc1432 new: net.sniff now supports ipv6
- bef4c6a new: basic ipv6 support
- d0b5c34 new: module parameters now accept that will be resolved to the interface IP address
- 240c4c3 new: detection and parsing of deauthentication frames as wifi.deauthentication events
- d63122b new: new -caplets-path argument to specify an alternative caplets base path (closes #850)
Fixes
- ee14e96 misc: small fix or general refactoring i did not bother commenting
- 05a1854 misc: small fix or general refactoring i did not bother commenting
- e3078c7 misc: small fix or general refactoring i did not bother commenting
- 22c95c0 misc: small fix or general refactoring i did not bother commenting
- 80f7428 fix: fixed a 'ble.recon off' panic on linux
- 421df50 misc: small fix or general refactoring i did not bother commenting
- 4dac3b9 fix: handle disconnection (nil gateway) in routes monitor
- c9ae0f3 misc: small fix or general refactoring i did not bother commenting
- 43a93fd fix: refactored routing logic (fixes #701)
- 88a8319 fix: do not trigger deauth events for frames sent by client stations or unknown access points
- bc7d1d9 misc: small fix or general refactoring i did not bother commenting
- 1d306e6 fix: do not override req.Hostname in http proxy module script (fixes #678)
- 2b4188b misc: small fix or general refactoring i did not bother commenting
- 3c506b7 misc: small fix or general refactoring i did not bother commenting
- d5fb7b6 misc: small fix or general refactoring i did not bother commenting
- e465f9b misc: small fix or general refactoring i did not bother commenting
- 5b8cb9a fix: check ssid probes for non printable characters
- 31b0663 fix: fixed a panic in net.show.meta when rendeing open ports
- 662f5fb fix: don't print wifi.client.probe we generate
- 2b1ff7d fix: fixed vm locking
- 3c20f2c misc: small fix or general refactoring i did not bother commenting
- fb7bed9 misc: small fix or general refactoring i did not bother commenting
- d5e5abc fix: using static url for qemu
- c2be8a4 fix: fixed net.probe mdns parsing from ipv6
- fad6172 misc: small fix or general refactoring i did not bother commenting
- b0f7e76 fix: keep track of ipv6 packets
- 4d5e930 misc: small fix or general refactoring i did not bother commenting
- c152020 misc: small fix or general refactoring i did not bother commenting
- 16891c4 misc: small fix or general refactoring i did not bother commenting
- 6b821d2 misc: small fix or general refactoring i did not bother commenting
- cea53b9 fix: collect additional frames for stations with key material (ref #810)
- c68c880 misc: small fix or general refactoring i did not bother commenting
- 0d17ba3 misc: small fix or general refactoring i did not bother commenting
- 6dd86c4 fix: using iw if available to get supported wifi frequencies (fixes #743)
- c4bbc12 fix: returning error when neither iw or iwconfig are found
- 67a0063 fix: updated gatt library which fixes some linux issues
- 4f5f89b fix: do not add unhandled dns types to dns spoofing packets (closes #843)
Misc
v2.30.2
releasing v2.30.2
v2.30.1
releasing v2.30.1
v2.30
Changelog
New Features
- 583a54c new: new c2 module, first draft
Fixes
- 32eee7d Fix bug in target parsing
- 17799c0 fix: updated readline, using syscall package instead of constants (fixes #776)
- 3ac520c fix: better phrasing (tnx @nieldk)
- ac9c8d3 fix: added sasl authentication support for the c2 module
Misc
v2.29
Changelog
New Features
Fixes
- 2610d4b fix: do not close serial port if nil (fixes #805)
- 07f7483 network: remove mutex lock that breaks webui and api
- 05b8e30 go vet fixes
- 10817d5 wifi.go: dont claim read lock until it is needed
- 08cad80 fix slice memory allocation optimization
- ac4b1f6 network: optimize wifi locking and include memory allocation optimization
- 0a0cefc Fix content type parsing error, improve regexp search performance, strip header names and values.
- d3a46a6 Set Content-Type for PAC and WPAD file
Misc
- 3cfbcd9 misc: added openwrt makefile by DeathCamel58 for reference
- cf7d06b misc: updated the version of go used to compile releases
- 3a2db29 Remove proxy-side TLD spoofing.
- dd08976 Update HTTP header regexp selector.
- 6bf46c7 misc: removed useless badges from the README
- a02f355 misc: updated dependencies