sincronizador


SUBMITTED BY: igorhenri0407

DATE: July 3, 2022, 10:32 p.m.

FORMAT: Text only

SIZE: 1.6 kB

HITS: 359

  1. #!/bin/bash
  2. clear
  3. echo -e "\033[1;36mINSTALANDO O SINCRONIZADOR GESTOR-SSH\033[0m"
  4. echo "America/Sao_Paulo" > /etc/timezone
  5. ln -fs /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
  6. dpkg-reconfigure --frontend noninteractive tzdata
  7. clear
  8. echo -e "\033[1;36mPOR FAVOR AGUARDE...\033[0m"
  9. if [[ -e "/opt/sshplus/licenca.txt" ]]; then
  10. crack=$(cut -d"'" -f2 /opt/sshplus/licenca.txt) > /dev/null 2>&1
  11. fi
  12. sleep 1.5
  13. echo -e "\033[1;36mVALIDANDO UMA LICENÇA...\033[0m"
  14. rm *.zip > /dev/null 2>&1
  15. apt install unzip -y > /dev/null 2>&1
  16. wget github.com/Igorhenri0407/sincpainel/raw/sincgestor/sincarm/sshplus.zip.001 > /dev/null 2>&1
  17. wget github.com/Igorhenri0407/sincpainel/raw/sincgestor/sincarm/sshplus.zip.002 > /dev/null 2>&1
  18. wget github.com/Igorhenri0407/sincpainel/raw/sincgestor/sincarm/sshplus.zip.003 > /dev/null 2>&1
  19. cat sshplus.zip* > monitor.zip && zip -F monitor.zip > /dev/null 2>&1
  20. rm -rf /opt/sshplus > /dev/null 2>&1
  21. unzip monitor.zip -d /opt/sshplus/ > /dev/null 2>&1
  22. chmod -R 777 /opt/sshplus > /dev/null 2>&1
  23. sleep 1
  24. if [[ -e "/opt/sshplus/licenca.txt" ]]; then
  25. sed -i "s;TWYT-PCIA-QF3G;$crack;g" /opt/sshplus/licenca.txt > /dev/null 2>&1
  26. fi
  27. clear
  28. service ssh restart
  29. echo -e "\n\033[1;32mCONCLUÍDO!\033[0m"
  30. sleep 3
  31. clear
  32. echo -e "\033[1;36mENTRE NO PAINEL WEB E CRIE UMA CONTA SSH PRA VER SE ESTÁ TUDO OK!\033[0m"
  33. sleep 5
  34. cat /dev/null > ~/.bash_history && history -c && clear
  35. rm *.html > /dev/null 2>&1
  36. rm *.zip > /dev/null 2>&1
  37. rm *.001 > /dev/null 2>&1
  38. rm *.002 > /dev/null 2>&1
  39. rm *.003 > /dev/null 2>&1
  40. clear

comments powered by Disqus