mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
da565afa9a
commit
2aa6fea92c
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ func (mod *WiFiModule) discoverHandshakes(radiotap *layers.RadioTap, dot11 *laye
|
|||
if mod.shakesAggregate == false {
|
||||
shakesFileName = path.Join(shakesFileName, fmt.Sprintf("%s.pcap", station.PathFriendlyName()))
|
||||
}
|
||||
mod.Debug("saving handshake frames to %s", shakesFileName)
|
||||
mod.Debug("(aggregate %v) saving handshake frames to %s", mod.shakesAggregate, shakesFileName)
|
||||
if err := mod.Session.WiFi.SaveHandshakesTo(shakesFileName, mod.handle.LinkType()); err != nil {
|
||||
mod.Error("error while saving handshake frames to %s: %s", shakesFileName, err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue