Files
atomic-red-team/atomics/T1037.005/src/T1037.005_agent.sh
T
Kevin Stapleton 006e4c7057 T1037.005, T1543.001, T1543.004 Persist Tests Enhancements (#2755)
* add persistence tests

T1037.005, T1543.001, T1543.004

* remove manual guid

* minor fixes

---------

Co-authored-by: kevinmstapleton <kstapleton@octolabs.io>
Co-authored-by: Hare Sudhan <code@0x6c.dev>
2024-07-05 00:41:34 -04:00

25 lines
222 B
Bash
Executable File

#!/bin/sh
. /etc/rc.common
StartService (){
ConsoleMessage "Atomic Test T1037.005 - Agent"
launchctl load -w /tmp/T1037_005_agent.plist
}
StopService (){
return 0
}
RestartService (){
return 0
}
RunService "$1"