Advertisement
Sweetening

deviance.sh

Nov 17th, 2024
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. rainbow_flash() {
  4. text="$1"
  5. colors=(
  6. "\033[31m" # Red
  7. "\033[32m" # Green
  8. "\033[33m" # Yellow
  9. "\033[34m" # Blue
  10. "\033[35m" # Magenta
  11. "\033[36m" # Cyan
  12. "\033[37m" # White
  13. )
  14.  
  15. while true; do
  16. for ((i=0; i<${#text}; i++)); do
  17. color="${colors[$((RANDOM % ${#colors[@]}))]}"
  18. echo -ne "${color}${text:$i:1}"
  19. sleep 0.05
  20. done
  21. echo -e "\033[0m"
  22. sleep 0.2
  23. done
  24. }
  25.  
  26. loading_animation() {
  27. loading="...................................................."
  28. while true; do
  29. for ((i=0; i<${#loading}; i++)); do
  30. echo -ne "\r${loading:0:i}."
  31. sleep 0.1
  32. done
  33. done
  34. }
  35.  
  36. clear
  37.  
  38. echo "loading please wait .................................."
  39. loading_animation &
  40. loading_pid=$!
  41.  
  42. sleep 2
  43. kill $loading_pid
  44.  
  45. rainbow_flash " ██████████ ███ "
  46. rainbow_flash "░░███░░░░███ ░░░ "
  47. rainbow_flash " ░███ ░░███ ██████ █████ █████ ████ ██████ ████████ ██████ ██████ "
  48. rainbow_flash " ░███ ░███ ███░░███░░███ ░░███ ░░███ ░░░░░███ ░░███░░███ ███░░███ ███░░███"
  49. rainbow_flash " ░███ ░███░███████ ░███ ░███ ░███ ███████ ░███ ░███ ░███ ░░░ ░███████ "
  50. rainbow_flash " ░███ ███ ░███░░░ ░░███ ███ ░███ ███░░███ ░███ ░███ ░███ ███░███░░░ "
  51. rainbow_flash " ██████████ ░░██████ ░░█████ █████░░████████ ████ █████░░██████ ░░██████ "
  52. rainbow_flash "░░░░░░░░░░ ░░░░░░ ░░░░░ ░░░░░ ░░░░░░░░ ░░░░ ░░░░░ ░░░░░░ ░░░░░░ "
  53.  
  54. echo "Deviance Shell Version 6.9"
  55. echo ""
  56.  
  57. echo "Initializing Deviance..."
  58. sleep 2
  59.  
  60. for i in {1..10}; do
  61. delay=$((RANDOM % 3 + 1))
  62. message_type=$((RANDOM % 5))
  63.  
  64. case $message_type in
  65. 0) echo "[!] ERROR: System overheating detected. Please cool down the CPU.";;
  66. 1) echo "[*] WARNING: Memory corruption detected at address 0x$(openssl rand -hex 4).";;
  67. 2) echo "[>] ALERT: Unusual activity detected in /var/log/$(openssl rand -hex 2). Investigate immediately.";;
  68. 3) echo "[+] Success: You now have root access (just kidding).";;
  69. 4) echo "[~] Deviance mode activated. Proceed with caution.";;
  70. esac
  71.  
  72. sleep $delay
  73. done
  74.  
  75. echo "Deviance completed. Stay curious, stay deviant."
  76.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement