Automatic System scRipt

DDoSBoy

Member
May 11, 2016
58
22
56
Hello All , We are maked a bot Name automatic system what should do , ?
if u give him V.I.P Gold Give the player the letters For V.I.P Gold ..
//Script Created By @sa7er , @Special

PHP:
<?php
//Script Created By @sa7er=Mahmoud-Ma7mouD, @Special
//r4p3 all rights rservered 2016
ini_set('display_errors', '1');
require_once("libraries/TeamSpeak3/TeamSpeak3.php");
$botname = '[R4P3]%20Automatic%20System%20[' . mt_rand(100, 10000).']';
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://serveradmin:yourpass@yourip:10011/?server_port=9987&blocking=0&nickname=$botname");


        $ClientList = $ts3_VirtualServer->clientList(array("serverGroupGetByName" => "Server Admin","serverGroupGetByName" => "Server Admin"));
foreach($ClientList as $Client)
{
    //Here the v.i.p group or ...
    $_SESSION ['ggids'] = explode(",", $Client["client_servergroups"]);
    if(in_array(797,$_SESSION['ggids']))
    {
        //here the groups will checked
        if(!in_array(689,$_SESSION['ggids']))
        if(!in_array(690,$_SESSION['ggids']))
        if(!in_array(691,$_SESSION['ggids']))
{
    //Here add the server group
        $Client->addservergroup(689);
        $Client->addservergroup(690);
        $Client->addservergroup(691);
        }
    }
}
        $ClientList = $ts3_VirtualServer->clientList(array("serverGroupGetByName" => "Server Admin","serverGroupGetByName" => "Server Admin"));
foreach($ClientList as $Client)
{
        //Here the v.i.p group or ...
    $_SESSION ['ggids'] = explode(",", $Client["client_servergroups"]);
    if(!in_array(797,$_SESSION['ggids']))
    {
        //here the groups will checked
        if(in_array(689,$_SESSION['ggids']))
        if(in_array(690,$_SESSION['ggids']))
        if(in_array(691,$_SESSION['ggids']))
{
    //Here remove the server group
        $Client->remservergroup(689);
        $Client->remservergroup(690);
        $Client->remservergroup(691);
        }
    }
}


?>
fc03c124e34e40a2891bfadd20c6e2ce.png

* How to install ?
[Download ] https://mega.nz/#!zppjhJoa!jvh7rQmpG7d6_mFmxHG_n3CnLwzr82IBPWtYdMX2T3A
[VirusTotal] https://www.virustotal.com/ar/url/7...2ba513e14cc585f8e8d0f6cf04bf112f755/analysis/

How to Start

// type the file folder ,, for ur var settings
apt-get install nano
apt-get install cron

crontab -e
and go down and type this
/1 * * * * php /var/www/Auto.php >/dev/null 2>&1

_______________________________________________________

New Update 1.1 Automatic system script
Whats the news?
Add more groups , make it with config :) very easy to edit them

Note : If you want a new update Just type what do you want for the next update
Config Here :
Just change the Numbers i type And make it as you need :)

PHP:
<?php
#   ____             __ _   
#  / ___|___  _ __  / _(_) __ _
# | |   / _ \| '_ \| |_| |/ _` |
# | |__| (_) | | | |  _| | (_| |
#  \____\___/|_| |_|_| |_|\__, |
#                         |___/
// Info
$YATQA_username = '';
$YATQA_password = '';
$YATQA_queryport = '';
$server_ip = '';
$server_port = '';
$botname = '[R4P3]Automatic-System%20Bot%20['. mt_rand(0, 99).']';
#Settings
$firstGroup = '6';
//Here type the ids For group's you want to add them it
$firstGroup1 = '9';
$firstGroup2 = '10';
$firstGroup3 = '11';
//To Group
$toGroup = '12';
//Here type the ids For group's you want to add them it
$toGroup1 = '13';
$toGroup2 = '14';
$toGroup3 = '15';
//Three Group
$threeGroup = '16';
//Here type the ids For group's you want to add them it
$threeGroup1 = '17';
$threeGroup2 = '18';
$threeGroup3 = '109';
// If you want to make more groups just do same i do


?>

Here Original PHP File Auto.php
dont do anything or edit them just edit in config.php


PHP:
<?php
#  ____                  _       _  
# / ___| _ __   ___  ___(_) __ _| |
# \___ \| '_ \ / _ \/ __| |/ _` | |
#  ___) | |_) |  __/ (__| | (_| | |___
# |____/| .__/ \___|\___|_|\__,_|_____|
#       |_|            
#  __  __      _____                      ____
# |  \/  | __ |___  | __ ___   ___  _   _|  _ \
# | |\/| |/ _` | / / '_ ` _ \ / _ \| | | | | | |
# | |  | | (_| |/ /| | | | | | (_) | |_| | |_| |
# |_|  |_|\__,_/_/ |_| |_| |_|\___/ \__,_|____/

# Information                                
# Youtube Channel : SpeciaL Programmer
# Forum : R4P3.NET
# Author : SpeciaL @Special , Ma7mouD @DDosBoy
require_once("libraries/TeamSpeak3/TeamSpeak3.php");
include_once("config.php");
$ts3_VirutalServer = TeamSpeak3::factory("serverquery://".$YATQA_username.":".$YATQA_password."@".$server_ip.":".$YATQA_queryport."/?server_port=".$server_port."&nickname=".$botname."");
    $ClientList = $ts3_VirutalServer->clientlist();
        foreach($ClientList as $Client)
{
            $_SESSION ['ggids'] = explode(",", $Client["client_servergroups"]);
            if(in_array($firstGroup,$_SESSION['ggids']))
            {
            if(!in_array($firstGroup1,$_SESSION['ggids']))
            if(!in_array($firstGroup2,$_SESSION['ggids']))
            if(!in_array($firstGroup3,$_SESSION['ggids']))
            {
                $Client->addservergroup($firstGroup1);
                $Client->addservergroup($firstGroup2);
                $Client->addservergroup($firstGroup3);
            }
}
            $_SESSION ['ggids'] = explode(",", $Client["client_servergroups"]);
            if(in_array($toGroup,$_SESSION['ggids']))
            {
            if(!in_array($toGroup1,$_SESSION['ggids']))
            if(!in_array($toGroup2,$_SESSION['ggids']))
            if(!in_array($toGroup3,$_SESSION['ggids']))
            {
                $Client->addservergroup(13);
                $Client->addservergroup(14);
                $Client->addservergroup(15);
    }
}
            $_SESSION ['ggids'] = explode(",", $Client["client_servergroups"]);
            if(in_array($threeGroup,$_SESSION['ggids']))
            {
            if(!in_array($threeGroup1,$_SESSION['ggids']))
            if(!in_array($threeGroup2,$_SESSION['ggids']))
            if(!in_array($threeGroup3,$_SESSION['ggids']))
            {
                $Client->addservergroup($threeGroup1);
                $Client->addservergroup($threeGroup2);
                $Client->addservergroup($threeGroup3);
            }
}
}
#   ____ _               _          
#  / ___| |__   ___  ___| | _____ _ __
# | |   | '_ \ / _ \/ __| |/ / _ \ '__|
# | |___| | | |  __/ (__|   <  __/ |
#  \____|_| |_|\___|\___|_|\_\___|_|
 
// Thats checker For remove server groups                              
        $ClientList = $ts3_VirutalServer->clientlist();
foreach($ClientList as $Client)
{
 
    $_SESSION ['ggids'] = explode(",", $Client["client_servergroups"]);
    if(!in_array($firstGroup,$_SESSION['ggids']))
    {
        if(in_array($firstGroup1,$_SESSION['ggids']))
        if(in_array($firstGroup2,$_SESSION['ggids']))
        if(in_array($firstGroup3,$_SESSION['ggids']))
    {
        $Client->remservergroup($firstGroup1);
        $Client->remservergroup($firstGroup2);
        $Client->remservergroup($firstGroup3);
    }
    }
    $_SESSION ['ggids'] = explode(",", $Client["client_servergroups"]);
    if(!in_array($toGroup,$_SESSION['ggids']))
    {
        if(in_array($toGroup1,$_SESSION['ggids']))
        if(in_array($toGroup2,$_SESSION['ggids']))
        if(in_array($toGroup3,$_SESSION['ggids']))
   {
        $Client->remservergroup($toGroup1);
        $Client->remservergroup($toGroup2);
        $Client->remservergroup($toGroup3);
        }
}
    $_SESSION ['ggids'] = explode(",", $Client["client_servergroups"]);
    if(!in_array($threeGroup,$_SESSION['ggids']))
    {
        if(in_array($threeGroup1,$_SESSION['ggids']))
        if(in_array($threeGroup2,$_SESSION['ggids']))
        if(in_array($threeGroup3,$_SESSION['ggids']))
   {
        $Client->remservergroup($threeGroup1);
        $Client->remservergroup($threeGroup2);
        $Client->remservergroup($threeGroup3);
        }
}



}
?>


DL : https://mega.nz/#!gN8x2DbT!FZYLjsPm8dXmel1lHL5UMwmibKcZypNuhi3cMyUaq_I
Virustotal : https://www.virustotal.com/en/file/...68c3ef453b4109a123989f3f/analysis/1479337404/
 
Last edited:

Alligatoras

Administrator
Mar 31, 2016
2,570
12
2,856
381
i got a question....i put more groups (with else if ...as i have many staff groups) but it gives and take them back directly!
what should i do?
74aa2523bd97326824e6cbf09ffa7cee.png

7529c3b0c642cd29af042db591e042c5.png
 

fahad

Member
Feb 13, 2016
12
5
38
crontab -e
and go down and type this
*/1 * * * * php /var/www/Auto.php >/dev/null 2>&1 i have a problem can you make a video ?

E486: Pattern not found: 1 * * * * php <---- this is the problim
 
Last edited by a moderator:

FarisDev

L oryh brx
Contributor
Jun 9, 2016
277
111
107
crontab -e
and go down and type this
*/1 * * * * php /var/www/Auto.php >/dev/null 2>&1 i have a problem can you make a video ?

E486: Pattern not found: 1 * * * * php <---- this is the problim

Wait. i'll do a video in 3 day's.
and i happy this work with you. in the video!
 
Top