Generate docs from job=generate_and_commit_guids_and_docs branch=master [skip ci]
This commit is contained in:
parent
ea2623b587
commit
f178e0054f
@@ -13483,7 +13483,7 @@ privilege-escalation:
|
||||
if [ ! -d ~/Library/LaunchAgents ]; then mkdir ~/Library/LaunchAgents; fi;
|
||||
sudo cp #{path_malicious_plist} ~/Library/LaunchAgents/#{plist_filename}
|
||||
sudo launchctl load -w ~/Library/LaunchAgents/#{plist_filename}
|
||||
cleanup: |
|
||||
cleanup_command: |
|
||||
sudo launchctl unload ~/Library/LaunchAgents/#{plist_filename}
|
||||
sudo rm ~/Library/LaunchAgents/#{plist_filename}
|
||||
T1543.004:
|
||||
@@ -41558,7 +41558,7 @@ persistence:
|
||||
if [ ! -d ~/Library/LaunchAgents ]; then mkdir ~/Library/LaunchAgents; fi;
|
||||
sudo cp #{path_malicious_plist} ~/Library/LaunchAgents/#{plist_filename}
|
||||
sudo launchctl load -w ~/Library/LaunchAgents/#{plist_filename}
|
||||
cleanup: |
|
||||
cleanup_command: |
|
||||
sudo launchctl unload ~/Library/LaunchAgents/#{plist_filename}
|
||||
sudo rm ~/Library/LaunchAgents/#{plist_filename}
|
||||
T1543.004:
|
||||
|
||||
@@ -39,6 +39,11 @@ sudo cp #{path_malicious_plist} ~/Library/LaunchAgents/#{plist_filename}
|
||||
sudo launchctl load -w ~/Library/LaunchAgents/#{plist_filename}
|
||||
```
|
||||
|
||||
#### Cleanup Commands:
|
||||
```bash
|
||||
sudo launchctl unload ~/Library/LaunchAgents/#{plist_filename}
|
||||
sudo rm ~/Library/LaunchAgents/#{plist_filename}
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user