fixing tracking mode not toggling properly from previous changes
This commit is contained in:
parent
607e996ad6
commit
8070caa958
@ -131,8 +131,10 @@ func (s *Scan) Start() error {
|
||||
//could add -t option to enable this feature for active tracking
|
||||
// Skipping duplicate results
|
||||
if projVars.TrackingMode == false {
|
||||
if lname == projVars.ScanList[result.Address.String()] {
|
||||
return
|
||||
for _, dev := range s.Devices {
|
||||
if addr == dev.MAC {
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -170,6 +172,7 @@ func (s *Scan) Start() error {
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("EROS_RECALL_FAILURE")
|
||||
}
|
||||
|
||||
log.Info().Interface("Device", fromEros).Msg("EROS_RECALL")
|
||||
|
||||
if projVars.AttackMode == true && projVars.TrackingMode == false /*changed to false for debug*/ {
|
||||
|
Loading…
Reference in New Issue
Block a user