mirror of
https://github.com/bettercap/bettercap.git
synced 2024-11-20 20:40:09 -08:00
cb5f7679d8
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. |
||
---|---|---|
.. | ||
wifi_ap.go | ||
wifi_assoc.go | ||
wifi_bruteforce_darwin.go | ||
wifi_bruteforce_linux.go | ||
wifi_bruteforce_unsupported.go | ||
wifi_bruteforce.go | ||
wifi_csa.go | ||
wifi_deauth.go | ||
wifi_events.go | ||
wifi_fake_auth.go | ||
wifi_hopping.go | ||
wifi_inject_darwin.go | ||
wifi_inject.go | ||
wifi_recon_handshakes.go | ||
wifi_recon.go | ||
wifi_show_sort.go | ||
wifi_show.go | ||
wifi.go |