[Script]YouTube Bot

Discussion in 'Web scripts' started by SpeciaL, Jan 6, 2017.

?

Do you like the bot?

  1. Yes

    6 vote(s)
    50.0%
  2. no

    2 vote(s)
    16.7%
  3. It's bad bot do not make bots.

    4 vote(s)
    33.3%
  1. SpeciaL

    SpeciaL Contributor

    Hello, guys, today I want to share a script to the R4P3 community, I know there a many.......
    But everything is good now.

    Bot Made By @Special,@MahmouD
    /Functions:
    Automatically get the user IP.
    /Requirements:
    PHP 5.5 or later.
    Teamspeak3 PHP Framework

    /Note:
    You can make more youtube channel subscribers.... Just copy & paste.
    The index.php file here:
    PHP:
    <?php[/B][/B]
    [
    B][B]require_once("libraries/TeamSpeak3/TeamSpeak3.php");
    require_once(
    "config.php");
    session_start();
    $result = array();
    $verfied "0";
            try {
                    
    $ts3_VirtualServer TeamSpeak3::factory("serverquery://".$YATQA_username.":".$YATQA_password."@".$YATQA_ip.":".$YATQA_queryport."/?server_port=".$virtualserver_port."&nickname=".$botname."");
                    foreach (
    $ts3_VirtualServer->clientList() as $cl) {
                                            if (
    $cl->getProperty('connection_client_ip') == $_SERVER['REMOTE_ADDR']) {
                                                    
    $result[] = $cl->client_nickname;
                                                    
    $client_info $cl;
                                                    
    $verfied++;
                                                    
    $unid $client_info["client_unique_identifier"];
                                                    
    $nickname $client_info["client_nickname"];
                    
    $_SESSION['client_uid'] = $unid;
            
    $client_uid $unid;
            
    $_SESSION['client_db'] = $client["client_database_id"];
                                    }
                            }
                    }   
                    catch (
    Exception $e) {
                            die;
                            }
    ?>
    <!DOCTYPE html>
    <html>
        <head>
            <meta charset="utf-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <meta name="description" content="A Youtuber Bot">
            <meta name="author" content="Special - Ma7mouD">
            <title>YouTuber Bot</title>
        </head><body>
    <center> 
    <p><a style="color: blue;"><?php echo $nickname?></a>Welcome</p>
    [ <font color="#d22d2d"><?php echo $client_info["client_unique_identifier"];?></font> ] : Your Verification ID:</font>
    <div id="formulario">
        <form method="post" action="youtube1.php">
            <input class="" type="text" placeholder="Your Channel ID" size="40" name="name"><br>
             <input class="btn btn-default btn-lg" type="submit" name="submit" size="5" value="Redeem The Account">
         </form>
    ( First add Your Verification Id)<br>
    ( Channel-&gt;About-&gt;Description-&gt;Edit-&gt;<?php echo $unid ;?> )<br>
    (2) Just write the Verification Code Into the text (Your Channel Id)<br>
    ( Channel ID = https://www.youtube.com/channel/(Your Channel ID Here)/about )<br>
    (3) Just Click The Redeem Button<br><br><br><br>
    <p>Special - Ma7mouD &copy; 2017</center>
                            </div></body>
                            <!--/.nav-collapse -->
                <!-- ========== Left Sidebar Start ========== -->
    <!-- some data cut -->
    <!-- Lang -->
    <!-- Lang -->


                <!-- ============================================================== -->
                <!-- End Right content here -->
                <!-- ============================================================== -->
            </div>
            <!-- END wrapper -->

            <script>
                var resizefunc = [];
            </script>

            <!-- jQuery  -->

        </body>
    </html>

    And the youtube1.php here:
    PHP:
    <?php[/B][/B]
    [
    B][B]#  ____                  _       _   
    # / ___| _ __   ___  ___(_) __ _| | 
    # \___ \| '_ \ / _ \/ __| |/ _` | | 
    #  ___) | |_) |  __/ (__| | (_| | |___
    # |____/| .__/ \___|\___|_|\__,_|_____|
    #       |_|                     
    #  __  __      _____                      ____
    # |  \/  | __ |___  | __ ___   ___  _   _|  _ \
    # | |\/| |/ _` | / / '_ ` _ \ / _ \| | | | | | |
    # | |  | | (_| |/ /| | | | | | (_) | |_| | |_| |
    # |_|  |_|\__,_/_/ |_| |_| |_|\___/ \__,_|____/
                                                
    #Author : Special - Ma7mouD
    require_once("libraries/TeamSpeak3/TeamSpeak3.php");
    require_once(
    "config.php");
    session_start();
    $IDChannel $_POST['name'];
    $resume_time time();
    $result = array();
    $verfied "0";
            try {
                    
    $ts3_VirtualServer TeamSpeak3::factory("serverquery://".$YATQA_username.":".$YATQA_password."@".$YATQA_ip.":".$YATQA_queryport."/?server_port=".$virtualserver_port."&nickname=".$botname."");
                    foreach (
    $ts3_VirtualServer->clientList() as $cl) {
                                            if (
    $cl->getProperty('connection_client_ip') == $_SERVER['REMOTE_ADDR']) {
                                                    
    $result[] = $cl->client_nickname;
                                                    
    $client_verified $cl;
                                                    
    $verfied++;
                                                    
    $unid $client_verified["client_unique_identifier"];
                                                    
    $dbid $client_verified["client_database_id"];
                    
    $_SESSION['client_uid'] = $unid;
            
    $client_uid $unid;
            
    $_SESSION['client_db'] = $client["client_database_id"];
                                    }
                            }
                    }   
                    catch (
    Exception $e) {
                            echo 
    'Error Contact Admin';
                            die;
                            }
                    if(
    $verfied == "0"){
                    }
                    if(
    $verfied == "1"){ 
                  
        
    $url_yt "https://www.googleapis.com/youtube/v3/channels?part=statistics&id=$IDChannel&key=AIzaSyBz1JN0lJnFMEusCh7eHI9D6_mhl0JHz2o";
        
    $yt_array file_get_contents($url_yt);
        
    $ytcount json_decode($yt_arraytrue);
        
    $ytsubscribers $ytcount['items'][0]['statistics']['subscriberCount'];

        
    $url_yt "https://www.googleapis.com/youtube/v3/channels?part=snippet%2CcontentDetails&id=$IDChannel&key=AIzaSyBz1JN0lJnFMEusCh7eHI9D6_mhl0JHz2o";
        
    $yt_array file_get_contents($url_yt);
        
    $ytcount json_decode($yt_arraytrue);
        
    $ytsubscriberss $ytcount['items'][0]['snippet']['description'];
    }

    if (
    $ytsubscriberss == "$client_uid"){

    if(
    $ytsubscribers <100 && $ytsubscribers>=200){
        
    //Here the addServerGroup function Just type what do you want.
        
    $client_verified->addServerGroup("");
        
    //Poke them type what do you want..
        
    $client_verified->poke("Sucess:Verify Your account");
        foreach(
    $ts3_VirtualServer->clientList() as $ts3_client) {

    if(
    $_SERVER['REMOTE_ADDR'] == $ts3_client['connection_client_ip']) {
    $nicknames[] = $ts3_client["client_nickname"];
    $nickname $ts3_client["client_nickname"];
    $dbid $ts3_client["client_database_id"];
    $clid $ts3_client["clid"];
    $uid $ts3_client["client_unique_identifier"];

    }
    }
    $cid $ts3_VirtualServer->channelCreate(array(
        
    "channel_name" =>  "$nickname",
        
    "channel_topic" => "$ytsubscribers",
        
    "channel_codec" => TeamSpeak3::CODEC_OPUS_VOICE,
        
    "channel_flag_permanent" => TRUE,
        
    "cpid"                   => '',
        ));
        
    $ts3_client->clientGetByUid($uid)->move($cid);
        
    $ts3_client->clientGetByUid($uid)->setChannelGroup($cid 9);
    die;
    }elseif(
    $ytsubscribers <200 && $ytsubscribers>=500){
        
    //Here the addServerGroup function Just type what do you want.
        
    $client_verified->addServerGroup("");
        
    //Poke them type what do you want..
        
    $client_verified->poke("Sucess:Verify Your account");
        foreach(
    $ts3_VirtualServer->clientList() as $ts3_client) {

    if(
    $_SERVER['REMOTE_ADDR'] == $ts3_client['connection_client_ip']) {
    $nicknames[] = $ts3_client["client_nickname"];
    $nickname $ts3_client["client_nickname"];
    $dbid $ts3_client["client_database_id"];
    $clid $ts3_client["clid"];
    $uid $ts3_client["client_unique_identifier"];

    }
    }
    $cid $ts3_VirtualServer->channelCreate(array(
        
    "channel_name" =>  "$nickname",
        
    "channel_topic" => "$ytsubscribers",
        
    "channel_codec" => TeamSpeak3::CODEC_OPUS_VOICE,
        
    "channel_flag_permanent" => TRUE,
        
    "cpid"                   => '',
        ));
        
    $ts3_client->clientGetByUid($uid)->move($cid);
        
    $ts3_client->clientGetByUid($uid)->setChannelGroup($cid 9);
    die;
    }
      
    else{
        echo 
    "Ops: You do not have enough number of subscribers "."$client_uid";
    die;
    }
      
    }else{
        echo 
    "<center>Put Your Unique ID On the description</center>";
        die;
      
    }                         

    And the config here:
    PHP:
    <?php[/B][/B]
    [
    B][B]#   ____             __ _     
    #  / ___|___  _ __  / _(_) __ _
    # | |   / _ \| '_ \| |_| |/ _` |
    # | |__| (_) | | | |  _| | (_| |
    #  \____\___/|_| |_|_| |_|\__, |
    #                         |___/
    #Info
    $YATQA_username 'serveradmin';
    $YATQA_password '';
    $YATQA_ip '';
    $YATQA_queryport '10011';
    $virtualserver_port '9987';
    $botname 'YouTuber%20System%20['mt_rand(09).']';
    ?>
     
    Last edited: Jan 7, 2017
    MahmouD and Mr_omar like this.
  2. AmellRa89

    AmellRa89 Member

    Put Your Unique ID On the description
    ???
    please tutorial to use this script
     
  3. Mr_omar

    Mr_omar Restricted

    Put your Unique ID on your Youtube Channel/About
     
  4. SpeciaL

    SpeciaL Contributor

    @AmellRa89 That's a bot when anyone Verify his account, And he's subscribers like *100*, Got a group on ts3 (100 Subscribers YT)
     
  5. Ridicc

    Ridicc Moderator

    @Special Could you please stop posting stuff in such cancer colors? @Mr_omar Why do you change the color of some words? Are these words something special or anything?
     
    0x0539 likes this.
  6. SpeciaL

    SpeciaL Contributor

    @Ridicc What the difference between colors , and without?
     
    Umar likes this.
  7. Ridicc

    Ridicc Moderator

    It looks ugly as fuck
     
    0x0539 likes this.
  8. ehthe

    ehthe Contributing Member

    All of my wat
     
    0x0539 likes this.
  9. Pegasus

    Pegasus New Member

    i really dont understand what TS3 is. anyone have some description or wiki? and where i can download the framework?
    Thanks.
     
  10. ehthe

    ehthe Contributing Member

    0x0539 and Ridicc like this.
  11. Pegasus

    Pegasus New Member

  12. Cparty

    Cparty New Member

    screenshot please
     

Share This Page