misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2019-08-17 14:17:08 -04:00
commit b57661a097
No known key found for this signature in database
GPG key ID: 82E42E7F3B34C97E
3 changed files with 4 additions and 8 deletions

View file

@ -142,7 +142,7 @@ func (mod *HIDRecon) doInjection() {
}
if cmd.Sleep > 0 {
mod.Debug("sleeping %dms after command #%d ...", cmd.Sleep, i)
time.Sleep(time.Duration(cmd.Sleep)*time.Millisecond)
time.Sleep(time.Duration(cmd.Sleep) * time.Millisecond)
}
}
}

View file

@ -56,8 +56,8 @@ func (mod *WiFiModule) discoverHandshakes(radiotap *layers.RadioTap, dot11 *laye
key.Nonce)
//add the ap's station's beacon packet to be saved as part of the handshake cap file
//https://github.com/ZerBea/hcxtools/issues/92
//https://github.com/bettercap/bettercap/issues/592
//https://github.com/ZerBea/hcxtools/issues/92
//https://github.com/bettercap/bettercap/issues/592
if ap.Station.Handshake.Beacon != nil {
mod.Debug("adding beacon frame to handshake for %s", apMac)