mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
a79ed9b4d4
commit
ff3add0fe2
3 changed files with 9 additions and 6 deletions
|
@ -89,7 +89,7 @@ func (mod *WiFiModule) discoverHandshakes(radiotap *layers.RadioTap, dot11 *laye
|
|||
numUnsaved := station.Handshake.NumUnsaved()
|
||||
shakesFileName := mod.shakesFile
|
||||
if mod.shakesAggregate == false {
|
||||
shakesFileName = path.Join(shakesFileName, fmt.Sprintf("%s.pcap", station.PathFriendlyName()))
|
||||
shakesFileName = path.Join(shakesFileName, fmt.Sprintf("%s.pcap", ap.PathFriendlyName()))
|
||||
}
|
||||
doSave := numUnsaved > 0
|
||||
if doSave && shakesFileName != "" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue