Created
May 11, 2020 09:16
-
-
Save Kotaro666-dev/f1724afdae016df4a81aba6b9f214627 to your computer and use it in GitHub Desktop.
Linux
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
| cd ../../etc/cron.d | |
| ls -l | |
| // -rw-r--r-- 1 root root 120 May 7 20:14 cronjob_bandit22 | |
| // -rw-r--r-- 1 root root 122 May 7 20:14 cronjob_bandit23 | |
| // -rw-r--r-- 1 root root 120 May 7 20:14 cronjob_bandit24 | |
| cat cat cronjob_bandit22 | |
| // @reboot bandit22 /usr/bin/cronjob_bandit22.sh &> /dev/null | |
| // * * * * * bandit22 /usr/bin/cronjob_bandit22.sh &> /dev/null | |
| cd ../../usr/bin/ | |
| cat cronjob_bandit22.sh | |
| // #!/bin/bash | |
| // chmod 644 /tmp/t7O6lds9S0RqQh9aMcz6ShpAoZKF7fgv | |
| // cat /etc/bandit_pass/bandit22 > /tmp/t7O6lds9S0RqQh9aMcz6ShpAoZKF7fgv | |
| cat /tmp/t7O6lds9S0RqQh9aMcz6ShpAoZKF7fgv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment