mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
ced5a46c5c
commit
38c637fcf7
1 changed files with 1 additions and 2 deletions
|
@ -255,9 +255,8 @@ func (w *WDiscovery) sendDeauthPacket(ap net.HardwareAddr, client net.HardwareAd
|
|||
|
||||
func (w *WDiscovery) startDeauth() error {
|
||||
isTargetingAP := len(w.apTarget) > 0
|
||||
isTargetingCLI := len(w.cliTarget) > 0
|
||||
|
||||
if isTargetingAP {
|
||||
isTargetingCLI := len(w.cliTarget) > 0
|
||||
if isTargetingCLI {
|
||||
// deauth a specific client
|
||||
w.sendDeauthPacket(w.apTarget, w.cliTarget)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue