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
|
//could add -t option to enable this feature for active tracking
|
||||||
// Skipping duplicate results
|
// Skipping duplicate results
|
||||||
if projVars.TrackingMode == false {
|
if projVars.TrackingMode == false {
|
||||||
if lname == projVars.ScanList[result.Address.String()] {
|
for _, dev := range s.Devices {
|
||||||
return
|
if addr == dev.MAC {
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -170,6 +172,7 @@ func (s *Scan) Start() error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error().Err(err).Msg("EROS_RECALL_FAILURE")
|
log.Error().Err(err).Msg("EROS_RECALL_FAILURE")
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Info().Interface("Device", fromEros).Msg("EROS_RECALL")
|
log.Info().Interface("Device", fromEros).Msg("EROS_RECALL")
|
||||||
|
|
||||||
if projVars.AttackMode == true && projVars.TrackingMode == false /*changed to false for debug*/ {
|
if projVars.AttackMode == true && projVars.TrackingMode == false /*changed to false for debug*/ {
|
||||||
|
Loading…
Reference in New Issue
Block a user