Sinusbot AIO Installer Trial Version - Unlimited Bots + Scripts + Translates + Templates

Tutorial Sinusbot AIO Installer Trial Version - Unlimited Bots + Scripts + Translates + Templates

It s an trial version ;)
It s writing ;)

So you need to become r4p3 member or make me an donation ;)
You have the choice ;)
Sry but that didnt Answer my Question. How long is the Trial Version and what does Contain it? Can i use the Bot after the Time or is the Script not Working Only and i can use the Bot?
 

X-Ecutioner

BlazingFlare.io
Contributor
Sry but that didnt Answer my Question. How long is the Trial Version and what does Contain it? Can i use the Bot after the Time or is the Script not Working Only and i can use the Bot?
It s writing only for 24hours. So you can’t. It s only 1 instance abd 2 bots.

Plz read ;)
 
Hello,

I have bann: could not contact update server
So If I use Your script premium I can use again unlimited bots? Or must buy new IP?
How I can block checker hosts on sinusbot? :) It's possible? I CAN PAY

Regards
 
Hello,

I have bann: could not contact update server
So If I use Your script premium I can use again unlimited bots? Or must buy new IP?
How I can block checker hosts on sinusbot? :) It's possible? I CAN PAY

Regards
PREMIUM verison is up to 50 bots as far as i can remember.
There is antiblacklist script before installation.
 
Decompiled Version:

Bash:
#!/bin/bash
#SinusBot All In One install script
#Written by: X-Ecutioner for www.r4p3.net
apt-get install curl -y > /dev/null
#Configuration settings. Change those to your needs or leave them as provided for standart use.
timeout="5"                                                    #Timeout for update check in s
ESC_SEQ="\x1b["
COL_RESET=$ESC_SEQ"39;49;00m"                               #reset color
COL_BLACK=$ESC_SEQ"30;11m"                                  #black color
COL_BLACKB=$ESC_SEQ"30;01m"                                 #black color bold
COL_RED=$ESC_SEQ"31;11m"                                    #red color
COL_REDB=$ESC_SEQ"31;01m"                                   #red color bold
COL_GREEN=$ESC_SEQ"32;11m"                                  #green color
COL_GREENB=$ESC_SEQ"32;01m"                                 #green color bold
COL_YELLOW=$ESC_SEQ"33;11m"                                 #yellow color
COL_YELLOWB=$ESC_SEQ"33;01m"                                #yellow color bold
COL_BLUE=$ESC_SEQ"34;11m"                                   #blue color
COL_BLUEB=$ESC_SEQ"34;01m"                                  #blue color bold
COL_MAGENTA=$ESC_SEQ"35;11m"                                #magenta color
COL_MAGENTAB=$ESC_SEQ"35;01m"                               #magenta color bold
COL_CYAN=$ESC_SEQ"36;11m"                                   #cyan color
COL_CYANB=$ESC_SEQ"36;01m"                                  #cyan color bold
COL_WHITE=$ESC_SEQ"37;11m"                                  #white color
COL_WHITEB=$ESC_SEQ"37;01m"                                 #white color bold
NC='\033[0m'                                                #no color
check_for_updates="1"                                        #put 1=YES or 0=NO to check for updates
#Don't change the variables below to make sure the script runs without problems!
scriptversion="1.29"                                        #scriptversion
scriptpassword="r4p3.net"                                    #scriptpassword
datescriptversion="13.03.2018"                                #datescriptversion
scriptsinusbotversion="0.13.37-9791176"                        #scriptsinusbotversion
teamspeakclientversion="3.1.8"                            #scriptsinusbotversion
scriptexpiration="Until your server restarts or after 24hours !"                #scriptexpiration
call_home="http://www.blazingflare.ovh"                                #check for updates
call_donate_received="http://www.blazingflare.ovh/sinusbot_aio_donate.php?donate_received="    #check for donations received
call_donation_goal="http://www.blazingflare.ovh/sinusbot_aio_donate.php?donation_goal="        #check for donation goal
ts3clientversion="http://dl.4players.de/ts/releases/3.1.8/TeamSpeak3-Client-linux_amd64-3.1.8.run"    #version of teamspeak 3 client
ts3clientversion2="TeamSpeak3-Client-linux_amd64-3.1.8.run"                    #source file of teamspeak 3 client
sinusbotlastversion="http://www.blazingflare.ovh/index.php/s/1vhSXqZ4rlizYoC/download"    #version of sinusbot
sinusbotlastversion2="sinusbot-0.13.37-9791176.tar.bz2"                            #source file of sinusbot
youtubeconf="http://www.blazingflare.ovh/index.php/s/7hUJtVkGCXDq5Lw/download"            #YoutubeDl Config
youtubeconf2="youtube-dl.conf"                                                    #Name of youtubedl.conf
sinusbotautoremove="http://www.blazingflare.ovh/index.php/s/HuRQ0D5jT9bM1g2/download"    #Autoremove script for sinusbots
autoremove="http://www.blazingflare.ovh/index.php/s/WI9HUKaZUo8FhD5/download"            #Autoremove script for sinusbots
sinusbotstart2bots="http://www.blazingflare.ovh/index.php/s/tn1gZpakLcVgHY9/download"    #Start file of sinusbot
sinusbotstart2bots2="2_sinusbot.sh.x"                                            #Name of start file of sinusbot
ipaddress=`ip route get 8.8.8.8 | awk '{print $NF; exit}'`                         #Your server IP adress
sinusbotdir="/opt/"                                                                #Don't change this!

#################################################################################################
clear
show_script_password(){
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo -e "$COL_GREEN#    SinusBot Install Script AIO$COL_RED v$scriptversion$COL_GREEN by$COL_RED X-Ecutioner $COL_GREEN  # $COL_RESET"
echo -e "$COL_GREEN#                     $COL_YELLOW TRIAL VERSION $COL_GREEN                   # $COL_RESET"
echo -e "$COL_GREEN#             Join our community at$COL_RED R4P3.NET $COL_GREEN           # $COL_RESET"
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo -e "$COL_GREEN#              $COL_RED PLEASE ENTER THE PASSWORD !!!          $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo -e "Answer: $COL_RESET"
read answer
case $answer in
"$scriptpassword")
printf "$COL_GREEN The Password $COL_YELLOW$answer$COL_GREEN is correct...\n${NC}"
sleep 2
clear
;;
"q" | "Q")
echo -e "$COL_GREEN Goodbye and see you again on$COL_RED R4P3.net $COL_RESET"
echo ""
exit 1
;;

*)
printf "$COL_GREEN The Password $COL_RED$answer$COL_GREEN is wrong ...\n${NC}"
echo -e "$COL_GREEN Go on$COL_RED R4P3.net$COL_GREEN to see the password ! $COL_RESET"
printf "$COL_GREEN Or you can buy the $COL_RED"P"$COL_BLUE"R""$COL_YELLOW"E""$COL_GREEN"M""$COL_MAGENTA"I""$COL_CYAN"U""$COL_RED"M"
printf "$COL_GREEN license at$COL_BLUE [email protected] $COL_RESET\n"
echo ""
exit 1
;;
esac
}
#################################################################################################

##### MENU SCRIPT PASSWORD #####
show_SinusBotInstall(){
printf "$COL_GREEN######################################################### $COL_RESET\n"
printf "$COL_GREEN#    SinusBot Install Script AIO$COL_RED v$scriptversion$COL_GREEN by$COL_RED X-Ecutioner $COL_GREEN  # $COL_RESET\n"
printf "$COL_GREEN#                     $COL_YELLOW TRIAL VERSION $COL_GREEN                   # $COL_RESET\n"
printf "$COL_GREEN#             Join our community at$COL_RED R4P3.NET $COL_GREEN           # $COL_RESET\n"
printf "$COL_GREEN######################################################### $COL_RESET\n"
}
show_expires(){
printf "$COL_GREEN######################################################### $COL_RESET\n"
printf "$COL_GREEN#        $COL_RED INFO:$COL_BLUEB This installation script expires on $COL_RESET $COL_GREEN   # $COL_RESET\n"
printf "$COL_GREEN#    $COL_MAGENTAB $scriptexpiration $COL_RESET $COL_GREEN   # $COL_RESET\n"
}
show_SinusBotScripts(){
printf "$COL_GREEN######################################################### $COL_RESET\n"
printf "$COL_GREEN#                $COL_YELLOW SinusBot v$scriptsinusbotversion $COL_RESET $COL_GREEN           # $COL_RESET\n"
printf "$COL_GREEN#               $COL_YELLOW Auto Installation Script $COL_RESET $COL_GREEN             # $COL_RESET\n"
printf "$COL_GREEN#      $COL_YELLOW With various Scripts, Languages and Themes $COL_RESET $COL_GREEN    # $COL_RESET\n"
}
show_SinusBotAutoScripts(){
printf "$COL_GREEN######################################################### $COL_RESET\n"
printf "$COL_GREEN#          $COL_RED ##### PLEASE MAKE YOUR CHOICE ! ##### $COL_RESET $COL_GREEN     # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED 1)$COL_GREEN  2 SinusBots with 1 instance            # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED 2)$COL_GREEN  4 SinusBots with 2 instances           # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED 3)$COL_GREEN  6 SinusBots with 3 instances           # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED 4)$COL_GREEN 10 SinusBots with 5 instances           # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED 5)$COL_GREEN 20 SinusBots with 10 instances          # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED 6)$COL_GREEN 30 SinusBots with 15 instances          # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED 7)$COL_GREEN 50 SinusBots with 25 instances          # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED R)$COL_GREEN Undo all changes made by the script     # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED A)$COL_GREEN AutoStart Script                        # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED U)$COL_GREEN Update SinusBots                        # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED L)$COL_GREEN Show Changelog                          # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED C)$COL_GREEN Show Credits                            # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED D)$COL_GREEN Make a donate to$COL_RED X-Ecutioner$COL_GREEN            # $COL_RESET\n"
printf "$COL_GREEN#           $COL_RED P)$COL_GREEN Get $COL_RED"P"$COL_BLUE"R""$COL_YELLOW"E""$COL_GREEN"M""$COL_MAGENTA"I""$COL_CYAN"U""$COL_RED"M"
printf "$COL_GREEN SinusBot AIO Installer$COL_RED $scriptversion$COL_GREEN #$COL_RESET\n"
printf "$COL_GREEN#           $COL_RED Q)$COL_GREEN Quit                                    # $COL_RESET\n"
printf "$COL_GREEN######################################################### $COL_RESET\n"
printf "$COL_GREEN#$COL_YELLOW   DONATIONS RECEIVED $COL_RED"; curl $call_donate_received;
printf "    $COL_CYAN   DONATION GOAL $COL_RED"; curl $call_donation_goal; printf "$COL_GREEN   # $COL_RESET\n"
printf "$COL_GREEN#########################################################\n"
printf "Answer: $COL_RESET"
read main_menu
}


###########################
###### INSTALLATION #######
###########################

##### DEPENDENCIES #####
set_dependencies(){
sleep 1
echo -e "$COL_GREEN  $COL_YELLOW 1) Let's start by installing several dependencies $COL_RESET $COL_GREEN  $COL_RESET"
sleep 3
echo -e "$COL_GREEN    $COL_RESET $COL_RED WARNING$COL_RESET : Select$COL_GREEN yes$COL_RESET for everything !           $COL_GREEN  $COL_RESET"
sleep 5
set_sources_list
sleep 5
apt-get update -y > /dev/null
apt-get upgrade -y > /dev/null
#apt-get -y install -t sid libc6sleep 5
cd /etc/init.d/
wget --no-check-certificate $sinusbotautoremove 2>/dev/null -O sinusbot_aio_autoremove; chmod 0755 sinusbot_aio_autoremove
update-rc.d sinusbot_aio_autoremove defaults
cd /var/spool/
wget --no-check-certificate $autoremove 2>/dev/null -O autoremove; chmod 0755 autoremove
apt-get install x11vnc xvfb libxcursor1 ca-certificates bzip2 libnss3 libegl1-mesa x11-xkb-utils libasound2 libglib2.0-0 sudo htop screen -y > /dev/null
update-ca-certificates > /dev/null
echo -e "$COL_GREEN      Dependencies done ...                             $COL_RESET"
echo ""
}

##### SET SOURCES LIST #####
set_sources_list(){
grep -v '.*httpredir.*' /etc/apt/sources.list > /etc/apt/sources.list_temporary
echo "" > /etc/apt/sources.list
sed -i '1ideb-src http://ftp.de.debian.org/debian/ jessie-updates main contrib' /etc/apt/sources.list
sed -i '1ideb http://ftp.de.debian.org/debian/ jessie-updates main contrib' /etc/apt/sources.list
sed -i '1i# jessie-updates, previously known as 'volatile'' /etc/apt/sources.list
sed -i '1i#' /etc/apt/sources.list
sed -i '1ideb-src http://security.debian.org/ jessie/updates main contrib' /etc/apt/sources.list
sed -i '1ideb http://security.debian.org/ jessie/updates main contrib' /etc/apt/sources.list
sed -i '1i#' /etc/apt/sources.list
sed -i '1ideb-src http://ftp.de.debian.org/debian/ jessie main' /etc/apt/sources.list
sed -i '1ideb http://ftp.de.debian.org/debian/ jessie main' /etc/apt/sources.list
grep -v '.*hosts.*' /etc/hosts > /etc/hosts_temporary
sed -i '1i127.0.0.1 blacklist.teamspeak.com' /etc/hosts
}

##### SINUSBOT INSTALLATION #####
set_sinusbot_install(){
echo -e "$COL_GREEN  $COL_YELLOW 2) Installation of SinusBot v$scriptsinusbotversion $COL_RESET $COL_GREEN              $COL_RESET"
sleep 1
/usr/sbin/useradd sinusbot
usermod -s /bin/bash sinusbot
cd /etc/ssh/
sed -i '$aDenyUsers sinusbot' sshd_config
sleep 1
mkdir /opt/ts3soundboard
cd /opt/ts3soundboard
wget --no-check-certificate $sinusbotlastversion 2>/dev/null -O $sinusbotlastversion2; chmod +x $sinusbotlastversion2
tar -xjf $sinusbotlastversion2
rm -R $sinusbotlastversion2
cp config.ini.dist config.ini
echo -e "$COL_GREEN      SinusBot install done ...                                 $COL_RESET"
echo ""
}

##### TEAMSPEAK 3 CLIENT INSTALLATION #####
set_ts3_client_install(){
echo -e "$COL_GREEN  $COL_YELLOW 3) TeamSpeak 3 client installation v$teamspeakclientversion $COL_RESET $COL_GREEN       $COL_RESET"
echo -e "$COL_GREEN     $COL_RESET Do following: Press$COL_GREEN ENTER$COL_RESET then press$COL_GREEN q$COL_RESET          $COL_GREEN  $COL_RESET"
echo -e "$COL_GREEN     $COL_RESET after that press$COL_GREEN y$COL_RESET and accept it with$COL_GREEN ENTER$COL_RESET     $COL_GREEN  $COL_RESET"
wget $ts3clientversion
chmod 0755 $ts3clientversion2
su root -c "./$ts3clientversion2"
echo -e "$COL_GREEN      TeamSpeak 3 Client done ...                       $COL_RESET"
rm -R $ts3clientversion2 && rm TeamSpeak3-Client-linux_amd64/xcbglintegrations/libqxcb-glx-integration.so 2>/dev/null
echo ""
}

##### YOUTUBE INSTALLATION #####
set_youtube_install(){
sudo apt-get install youtube-dl -y > /dev/null
sudo wget https://yt-dl.org/latest/youtube-dl 2>/dev/null -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl
hash -r
sudo youtube-dl --update > /dev/null
#sudo youtube-dl "ytsearch:restart" > /dev/null
echo -e "$COL_GREEN      YouTube download done ...                       $COL_RESET"
echo ""
}

##### SETTING SINUSBOT #####
set_setting_sinusbot(){
echo -e "$COL_GREEN  $COL_YELLOW 4) Setting SinusBot $COL_RESET $COL_GREEN                                $COL_RESET"
mkdir TeamSpeak3-Client-linux_amd64/plugins && cp plugin/libsoundbot_plugin.so /opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/plugins && rm -rf data/ts3 && rm -rf data/ts3 && rm TeamSpeak3-Client-linux_amd64/xcbglintegrations/libqxcb-glx-integration.so
chmod 0755 sinusbot
set_youtube_install
sed -i '1iYoutubeDLPath = "/usr/local/bin/youtube-dl"' /opt/ts3soundboard/config.ini
wget --no-check-certificate $youtubeconf 2>/dev/null -O /etc/$youtubeconf2; chmod 644 /etc/$youtubeconf2
cd /var/spool/

echo -e "$COL_GREEN      Setting SinusBot done ...                         $COL_RESET"
echo ""
}

##### CREATION SINUSBOT 1 INSTANCE #####
set_created_sinusbot_1instance(){
echo -e "$COL_GREEN  $COL_YELLOW 5) Creating SinusBot $COL_RESET $COL_GREEN                             $COL_RESET"
iptables -A SERVICES -p tcp -m multiport --dports 80,8100:8130,8000,443 -m comment --comment "Allow: Webserver" -j ACCEPT
iptables -A INPUT -p tcp --dport 8101 -m state --state NEW -j ACCEPT
cd /opt/
wget --no-check-certificate $sinusbotstart2bots 2>/dev/null -O $sinusbotstart2bots2; chmod +x $sinusbotstart2bots2
sed -i -e "s/ListenPort = 8087/ListenPort = 8101/g" "/opt/ts3soundboard/config.ini"
echo -e "$COL_GREEN      SinusBot created done ...                         $COL_RESET"
echo ""
}

##### LAUNCH SINUSBOT 1 INSTANCE #####
set_launch_sinusbot_1instance(){
echo -e "$COL_GREEN  $COL_YELLOW 6) Launch the SinusBot $COL_RESET $COL_GREEN                             $COL_RESET"
echo -e "$COL_RED      WARNING : Change the password immediately ! $COL_RESET"
chown -R sinusbot:sinusbot /opt/ 2>/dev/null
sleep 1
cd /opt/ts3soundboard/
su sinusbot -c "screen -A -m -d -S sinusbot1 ./sinusbot --override-password=r4p3.net"
sleep 1
cd /var/spool/
su root -c "screen -A -m -d -S sinusbot-panel ./autoremove"
clear
cd /opt/ts3soundboard/
sleep 3
echo -e "$COL_GREEN      The SinusBot is online ...                        $COL_RESET"
echo -e "$COL_GREEN     $COL_RESET Go to your server address :$COL_GREEN http://"$ipaddress":8101$COL_GREEN   $COL_RESET"
echo -e "$COL_YELLOW      Login: admin and Pass: r4p3.net $COL_RESET-$COL_RED WARNING change the password !  $COL_RESET"
echo -e "$COL_GREEN      It's over ! Join our community at$COL_RED R4P3.NET $COL_GREEN       $COL_RESET"
echo ""
}

###########################
#### END INSTALLATION #####
###########################


###########################
######## CHANGELOG ########
###########################

set_changelog(){
clear
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo -e "$COL_GREEN#                        $COL_GREEN Changelog                     # $COL_RESET"
echo -e "$COL_GREEN#                 Last updated on$COL_RED $datescriptversion           $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo -e "$COL_GREEN#     v1.29 -$COL_CYAN Added all Scripts / Themes / Languages$COL_GREEN    # $COL_RESET"
echo -e "$COL_GREEN#     v1.29 -$COL_CYAN Updated TeamSpeak 3 Client v3.1.8$COL_GREEN         # $COL_RESET"
echo -e "$COL_GREEN#     v1.28 - Fixe various bugs and security            # $COL_RESET"
echo -e "$COL_GREEN#     v1.27 - Update$COL_RED SinusBot version 0.13.37-9791176$COL_GREEN    # $COL_RESET"
echo -e "$COL_GREEN#     v1.26 - Update$COL_RED SinusBot version 0.9.21-87a90ce$COL_GREEN    # $COL_RESET"
echo -e "$COL_GREEN#     v1.25 - Update$COL_RED SinusBot version 0.9.20-a9b8dc6$COL_GREEN    # $COL_RESET"
echo -e "$COL_GREEN#     v1.24 - Added security in SinusBot AIO            # $COL_RESET"
echo -e "$COL_GREEN#     v1.23 - Updated and Added new SinusBot scripts    # $COL_RESET"
echo -e "$COL_GREEN#     v1.22 - Update$COL_RED SinusBot version 0.9.18-8499d2c$COL_GREEN    # $COL_RESET"
echo -e "$COL_GREEN#     v1.21 - Update$COL_RED SinusBot version 0.9.16-10f0fad$COL_GREEN    # $COL_RESET"
echo -e "$COL_GREEN#     v1.20 - Updated and Added new SinusBot scripts    # $COL_RESET"
echo -e "$COL_GREEN#     v1.19 - Update$COL_RED SinusBot version 0.9.15-b20cc30$COL_GREEN    # $COL_RESET"
echo -e "$COL_GREEN#     v1.18 - Added get SinusBot AIO Installer PREMIUM  # $COL_RESET"
echo -e "$COL_GREEN#     v1.17 - Added Make a donate and Donation Goal     # $COL_RESET"
echo -e "$COL_GREEN#     v1.16 - Fixe bugs Updated Scripts                 # $COL_RESET"
echo -e "$COL_GREEN#     v1.15 - Fixe SinusBot AIO Installer               # $COL_RESET"
echo -e "$COL_GREEN#     v1.14 - New hosting with new sources files.       # $COL_RESET"
echo -e "$COL_GREEN#     v1.13 - Fixe bugs, Updated and Added new scripts  # $COL_RESET"
echo -e "$COL_GREEN#     v1.12 - Updated SinusBot scripts and languages    # $COL_RESET"
echo -e "$COL_GREEN#     v1.11 - Added script Auto Checking for Updates    # $COL_RESET"
echo -e "$COL_GREEN#     v1.10 - Added options 6; 7; R; U; A; L; C         # $COL_RESET"
echo -e "$COL_GREEN#     v1.00 -$COL_RED /!\ Total rewrite of the script /!\      $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#           -$COL_CYAN Added encryption and expiration date     $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo ""
restart_script
}

###########################
###### END CHANGELOG ######
###########################

###########################
######## DONATION #########
###########################

set_donation(){
clear
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo -e "$COL_GREEN#             $COL_GREEN YOUR GIFTS IT'S ME STRENGTH !            # $COL_RESET"
echo -e "$COL_GREEN#     $COL_YELLOW I want to thank all the generous donors who     $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#     $COL_YELLOW understand the importance of giving, without    $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#            $COL_YELLOW my script that could not exist.          $COL_GREEN # $COL_RESET"
printf "$COL_GREEN######################################################### $COL_RESET\n"
printf "$COL_GREEN#$COL_YELLOW   DONATIONS RECEIVED $COL_RED"; curl $call_donate_received;
printf "    $COL_CYAN   DONATION GOAL $COL_RED"; curl $call_donation_goal; printf "$COL_GREEN   # $COL_RESET\n"
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo -e "$COL_GREEN#                $COL_RED HOW TO MAKE A DONATION ?             $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#       I agree preferably donations via the famous     # $COL_RESET"
echo -e "$COL_GREEN#   $COL_YELLOW Paysafecard secure payment system$COL_GREEN. Of course you   # $COL_RESET"
echo -e "$COL_GREEN#        must have a valid bank account to donate.      # $COL_RESET"
echo -e "$COL_GREEN# Most regulars with shopping online using Paysafecard. # $COL_RESET"
echo -e "$COL_GREEN#      For this,$COL_CYAN contact me by E-mail$COL_GREEN and providing me  # $COL_RESET"
echo -e "$COL_GREEN#    $COL_MAGENTA the 16-digit code of the amount of your choice ! $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#                   --------------------                # $COL_RESET"
echo -e "$COL_GREEN#                       $COL_RED Buy Online                    $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#                   1. Join$COL_YELLOW WKV.com                    $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#          2. Buy a Paysafecard$COL_RED in EURO (€) only$COL_GREEN !      # $COL_RESET"
echo -e "$COL_GREEN#     3. You will receive a 16-digit code by email.     # $COL_RESET"
echo -e "$COL_GREEN#                                                       # $COL_RESET"
echo -e "$COL_GREEN#                      $COL_RED Buy in Store                   $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#        1. Locate a store on paysafecard outlets       # $COL_RESET"
echo -e "$COL_GREEN#     $COL_YELLOW paysafecard.com/en-us/buy/find-sales-outlets    $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN# 2. See you in: Tobacco, Press House, Video Game Store # $COL_RESET"
echo -e "$COL_GREEN#          3. Buy a Paysafecard$COL_RED in EURO (€) only$COL_GREEN !      # $COL_RESET"
echo -e "$COL_GREEN# 4. You will be given a ticket with a 16-digit code.   # $COL_RESET"
echo -e "$COL_GREEN#                                                       # $COL_RESET"
echo -e "$COL_GREEN#                $COL_RED Where sent the donate ?              $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#    Now you can send me by e-mail the 16-digit code.   # $COL_RESET"
echo -e "$COL_GREEN#                $COL_BLUE [email protected]              $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#                   --------------------                # $COL_RESET"
echo -e "$COL_GREEN#             $COL_CYAN OPTIONAL:$COL_RED DONATION IN BITCOIN           $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#      $COL_YELLOW You can also make a donation in bitcoin$COL_GREEN.       $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#           To do this, contact me by e-mail.           # $COL_RESET"
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo ""
restart_script
}

###########################
###### END DONATION #######
###########################

###########################
######### PREMIUM #########
###########################

set_premium(){
clear
echo -e "$COL_GREEN######################################################### $COL_RESET"
printf "$COL_GREEN#      How to$COL_GREEN Get $COL_RED"P"$COL_BLUE"R""$COL_YELLOW"E""$COL_GREEN"M""$COL_MAGENTA"I""$COL_CYAN"U""$COL_RED"M"
printf "$COL_GREEN SinusBot AIO Installer$COL_RED $scriptversion$COL_GREEN   #$COL_RESET\n"
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo -e "$COL_GREEN#        For get the$COL_RED PREMIUM version$COL_GREEN of my script.     $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#        Please$COL_YELLOW make a donation$COL_GREEN of$COL_RED 25 euro (€)$COL_GREEN.        $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#        Once received the donation,$COL_MAGENTA you will receive  $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#        by email$COL_MAGENTA your access$COL_GREEN to the$COL_RED PREMIUM version$COL_GREEN !  # $COL_RESET"
echo -e "$COL_GREEN#                                                       # $COL_RESET"
echo -e "$COL_GREEN#               $COL_YELLOW LIST OF ALL ADVANTAGES:               $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#   $COL_GREEN No password, no expiration date and all updates ! $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#   $COL_GREEN Possibility to create more bots 20, 30, 50 ...    $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#             Therefore,$COL_CYAN VALID FOR LIFETIME$COL_GREEN !           # $COL_RESET"
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo -e "$COL_RESET"

case $answer in
*)
printf "${COL_GREEN}Press any key to learn more...\n${NC}"
read -n 1
clear
set_donation
;;
esac
}

###########################
####### END PREMIUM #######
###########################

###########################
######### CREDITS #########
###########################

set_credits(){
clear
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo -e "$COL_GREEN#                         $COL_GREEN Credits                      # $COL_RESET"
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo -e "$COL_GREEN#                     $COL_YELLOW SPECIAL THANKS TO               $COL_GREEN # $COL_RESET"
echo -e "$COL_GREEN#     - Team$COL_RED SinusBot / Flyth$COL_GREEN for making the SinusBot   # $COL_RESET"
echo -e "$COL_GREEN#     -$COL_RED Supervisor$COL_GREEN for assistance of my script          # $COL_RESET"
echo -e "$COL_GREEN#     -$COL_RED hASVAN$COL_GREEN for assistance of my script              # $COL_RESET"
echo -e "$COL_GREEN#     -$COL_RED Joxi$COL_GREEN for the tutorials in videos                # $COL_RESET"
echo -e "$COL_GREEN#     -$COL_RED Sa7er$COL_GREEN for have tried and report the bugs        # $COL_RESET"
echo -e "$COL_GREEN######################################################### $COL_RESET"
echo ""
restart_script
}

###########################
####### END CREDITS #######
###########################

###########################
######## FUNCTIONS ########
###########################

##### CHECK VERISON SCRIPT #####
check_version(){
if [ $check_for_updates -eq 1 ]; then
    printf "$COL_RED   Checking for updates... $COL_RESET"
    curl -s -m $timeout --head $call_home/sinusbot_aio_trial_version.php | head -n 1 | grep "HTTP/1.[01] [2].." > /dev/$
    if [ $? = 1 ];
    then  printf "${COLOR2}\nUpdate Server is not reachable.\nYou may restart the script to retry.\nPlease check r4p3.net for news if it stays offline.\n${NC}"
    else
        sversion=$(wget $call_home/sinusbot_aio_trial_version.php?version -q -O -)
        if [ $sversion \> $scriptversion ];
            then printf "${COLOR1}\nA new script version is available, downloading it...\n${NC}"
            update_script
            else printf "$COL_YELLOW    ...script is up to date !$COL_GREEN$COL_RESET \n${NC}"
        fi
    fi
fi
}
update_script(){
slink=$(wget $call_home/sinusbot_aio_trial_version.php?link -q -O -)
wget $slink -q -O sinusbot_aio_installer_trial_version_$sversion
chmod +x sinusbot_aio_installer_trial_version_$sversion
rm sinusbot_aio_installer_trial_version_$scriptversion
./sinusbot_aio_installer_trial_version_$sversion
}

##### RESTART SCRIPT #####
restart_script(){
printf "${COL_GREEN}Done. Press any key to continue...\n${NC}"
read -n 1
clear
$0
}

restart_script2(){
printf "${COL_RED}Bad Choice. Try Again !\n${NC}"
read -n 1
clear
$0
}

restart_script3(){
printf "${COL_RED}$COL_RED Coming Soon !\n${NC}"
read -n 1
clear
$0
}

restart_script4(){
case $answer in
*)
printf "${COL_RED}$COL_GREEN Become a$COL_YELLOW VIP$COL_GREEN on$COL_RED R4P3.NET$COL_GREEN or Get $COL_RED"P"$COL_BLUE"R""$COL_YELLOW"E""$COL_GREEN"M""$COL_MAGENTA"I""$COL_CYAN"U""$COL_RED"M"
printf "${COL_GREEN} SinusBot AIO Installer to access at this feature !\n${NC}"
echo ""
printf "${COL_GREEN}Press any key to learn more...\n${NC}"
read -n 1
clear
set_premium
;;
esac
}

##### CREATE USER #####
set_user(){
printf "${COLOR1}Choose a user for installation. If the user does not exist, it will be created:   ${NC}"
read answer
case $answer in
[rR][oO0][oO0][tT])
    printf "${COLOR1}User ${COLOR2}$answer${COLOR1} is not valid. Aborting...\n${NC}"
    exit 1
;;
[a-zA-Z0-9]*)
    teamspeakuser="$answer"
    if id -u "$sinusbotuser" >/dev/null 2>&1;
    then    if [ ! -d /home/$sinusbotuser/ ]
            then    printf "${COLOR1}Could not find home directory, creating it..\n${NC}"
                    mkdir /home/$sinusbotuser
                    chown $sinusbotuser:$sinusbotuser /home/$sinusbotuser
            fi
    else
       printf "${COLOR1}User does not exist. Creating it...\n${NC}"
    adduser $sinusbotuser
    fi
;;
*)    printf "${COLOR1}User '$answer' is not valid. Aborting...\n${NC}"
    exit 1
;;
esac
}

###########################
###### END FUNCTIONS ######
###########################

##### MENU #####
show_script_password
show_SinusBotInstall
check_version
show_expires
show_SinusBotScripts
show_SinusBotAutoScripts

case "$main_menu" in
# Note variable is quoted.
 
  "0" ) 
  echo -e "$COL_YELLOW This is a$COL_GREEN Easter Eggs$COL_YELLOW !$COL_RESET"
  echo ""
  restart_script3
  ;;
 
  "1" ) 
  set_dependencies
  set_sinusbot_install
  set_ts3_client_install
  set_setting_sinusbot
  set_created_sinusbot_1instance
  set_launch_sinusbot_1instance
  ;;
 
  "2" ) 
  restart_script4
  ;;
 
  "3" ) 
  restart_script4
  ;;
 
  "4" ) 
  restart_script4
  ;;
 
  "5" ) 
  restart_script4
  ;;
 
  "6" ) 
  restart_script4
  ;;
 
  "7" ) 
  restart_script4
  ;;
 
  "r" | "R" ) 
  restart_script4
  ;;
 
  "a" | "A" ) 
  restart_script4
  ;;
 
  "u" | "U" ) 
  restart_script4
  ;;
 
  "c" | "C" ) 
  set_credits
  ;;
 
  "l" | "L" ) 
  set_changelog
  ;;
 
  "d" | "D" ) 
  set_donation
  ;;
 
  "p" | "P" ) 
  set_premium
  ;;
 
  "q" | "Q" ) 
  echo -e "$COL_GREEN Goodbye and see you again on$COL_RED R4P3.net $COL_RESET"
  echo ""
  ;; 
 
    * )
   # Default option.
   restart_script2
  ;;
 
esac
exit
 

Top Bottom