Created
August 9, 2020 19:13
-
-
Save archcloudlabs/f05d71d6175a11bd0946cb065b2f5d1a to your computer and use it in GitHub Desktop.
Systemd Service for payload execution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=root | |
| [Service] | |
| Type=oneshot | |
| User=root | |
| ExecStart=/bin/bash -c PAYLOAD | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment