update for new exe format

This commit is contained in:
wh1te909 2022-06-26 09:02:48 -07:00
parent 1ac1ca57e2
commit aed33b9a95
4 changed files with 17 additions and 2 deletions

View file

@ -64,9 +64,16 @@ func (a *Agent) KillHungUpdates() {
if err != nil {
continue
}
// winagent-v* is deprecated
if strings.Contains(p.Exe, "winagent-v") {
a.Logger.Debugln("killing process", p.Exe)
KillProc(int32(p.PID))
}
if strings.Contains(p.Exe, "tacticalagent-v") {
a.Logger.Debugln("killing process", p.Exe)
KillProc(int32(p.PID))
}
}
}