bettercap/modules/wifi
Sniffleupagus cb5f7679d8
Improve backwards compatibility with getHandshakeFileFor
The getHandshakeFile function was using "path.Dir(shakesFileName)", which drops the last element of the path.  This is not backwards compatible with prior versions that used the variable as the dir name. In particular this change causes pwnagotchi to store handshakes in /root instead of /root/handshakes.
This commit checks for an existing directory at shakesFileName and will use that as the path instead of taking the parent directory of the path.
2024-11-13 11:33:25 -08:00
..
wifi_ap.go fix: using proper v2 package suffix (fixes #727) 2024-08-09 18:19:21 +02:00
wifi_assoc.go fix: using proper v2 package suffix (fixes #727) 2024-08-09 18:19:21 +02:00
wifi_bruteforce_darwin.go new: implemented wifi.bruteforce for linux (closes #1075) 2024-08-18 15:34:32 +02:00
wifi_bruteforce_linux.go misc: small fix or general refactoring i did not bother commenting 2024-08-18 15:45:35 +02:00
wifi_bruteforce_unsupported.go new: implemented wifi.bruteforce for darwin (ref #1075) 2024-08-18 13:44:12 +02:00
wifi_bruteforce.go new: implemented wifi.bruteforce for linux (closes #1075) 2024-08-18 15:34:32 +02:00
wifi_csa.go fix: using proper v2 package suffix (fixes #727) 2024-08-09 18:19:21 +02:00
wifi_deauth.go fix: using proper v2 package suffix (fixes #727) 2024-08-09 18:19:21 +02:00
wifi_events.go fix: using proper v2 package suffix (fixes #727) 2024-08-09 18:19:21 +02:00
wifi_fake_auth.go fix: using proper v2 package suffix (fixes #727) 2024-08-09 18:19:21 +02:00
wifi_hopping.go fix: using proper v2 package suffix (fixes #727) 2024-08-09 18:19:21 +02:00
wifi_inject_darwin.go fix: every wifi frame injection operation on macOS will print an error (ref #448) 2024-08-08 12:59:21 +02:00
wifi_inject.go fix: every wifi frame injection operation on macOS will print an error (ref #448) 2024-08-08 12:59:21 +02:00
wifi_recon_handshakes.go Improve backwards compatibility with getHandshakeFileFor 2024-11-13 11:33:25 -08:00
wifi_recon.go fix: using proper v2 package suffix (fixes #727) 2024-08-09 18:19:21 +02:00
wifi_show_sort.go fix: using proper v2 package suffix (fixes #727) 2024-08-09 18:19:21 +02:00
wifi_show.go fix: fixed a nil pointer dereference when wifi.show is executed before wifi.recon on 2024-08-23 10:27:08 +02:00
wifi.go fix: initialize wifi module state correctly 2024-08-22 09:50:55 +02:00