Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Request Decoding Xtream Codes v2.7.8 php Files

redhat

Administrator
Staff member
Administrator
Joined
Jun 19, 2019
Messages
3,467
Reaction score
17,063
Points
134
Location
root[@]woi
Hello Guys,

i have get from our Member @Adem all Xtream Codes v2.7.8 Files. Who is honest and can decoded the files truly ?

Please do not ask for all files, I will not distribute them directly to everyone.

I will share the files with the one who:

1. Demonstrate that he is indeed able to decode the files.
2. I will not give all at once, i will share the files part for part

Add the attachment i just upload a demo file, where the Decoder can decode it and send me it back, so he can show me that he was able to decode the File.

All credits goes to @Adem (don`t ask him for sharing the Files, because he only entrusted the files to me and does not want to be disturbed further with it)
 

Attachments

Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
users.php

Code:
<?php

/**
* @package ipTV Panel
* @authors\tXtream-Codes
*/

session_start();

#Include Init File
require("../init.php");

#Access to this page is only visible to admin

if ( ! $mcMember->IsAdmin() )
{
    $mcMember->logout();
    header( 'Location: ../index.php?error=NO_ADMIN' );
    exit( 0 );
}


$show = array(
    "restreamers",
    "streamers",
    "show_all" );

$selected_show = "show_all";

if ( ! empty( ipTV_lib::$request['show'] ) )
{
    if ( in_array( ipTV_lib::$request['show'], $show ) )
    {
        $selected_show = ipTV_lib::$request['show'];
    }
}

if ( isset( ipTV_lib::$request['action'] ) )
{
    $action = ipTV_lib::$request['action'];
    unset( ipTV_lib::$request['action'] );
    switch ( $action )
    {
        case "user_enable":
            if ( ! empty( ipTV_lib::$request['user_id'] ) )
            {
                $user_id = intval( ipTV_lib::$request['user_id'] );

                $ipTV_db->query( "UPDATE `users` SET `status` = 1 WHERE `id` = '%d'", $user_id );
                $ok_message = $_LANG['user_enabled'];
            }
            break;

        case "user_disable":
            if ( ! empty( ipTV_lib::$request['user_id'] ) )
            {
                $user_id = intval( ipTV_lib::$request['user_id'] );

                $ipTV_db->query( "UPDATE `users` SET `status` = 0 WHERE `id` = '%d'", $user_id );
                kick_user( $user_id );
                $ok_message = $_LANG['user_disabled'];
            }
            break;


        case "kill_activity":
            if ( ! empty( ipTV_lib::$request['activity_id'] ) )
            {
                $activity_id = intval( ipTV_lib::$request['activity_id'] );
                kick_activity( $activity_id );
                $ok_message = $_LANG['connection_killed'];
            }
            break;

        case "del_activity":
            if ( ! empty( ipTV_lib::$request['activity_id'] ) )
            {
                $activity_id = intval( ipTV_lib::$request['activity_id'] );
                kick_activity( $activity_id );
                $ipTV_db->query( "DELETE FROM `user_activity` WHERE `id` = '%d'", $activity_id );
                $ok_message = $_LANG['connection_delete'];
            }
            break;


        case "user_activity":
            $output = $_LANG['no_activity_found'];
            if ( ! empty( ipTV_lib::$request['user_id'] ) )
            {
                $user_id = intval( ipTV_lib::$request['user_id'] );

                if ( RowExists( "users", "id", $user_id ) )
                {

                    $ipTV_db->query( "SELECT t1.pid,t1.bandwidth,t1.date_end,t1.id,t1.stream_id,t1.user_ip,t1.user_agent,t1.date_start,t2.stream_display_name,IF(t1.`date_end` IS NULL, 0, 1) AS status FROM `user_activity` t1,`streams` t2 WHERE t1.user_id = '%d' AND t1.stream_id = t2.id ORDER BY status ASC,t1.id DESC", $user_id );

                    if ( $ipTV_db->num_rows() > 0 )
                    {
                        $activities = $ipTV_db->get_rows();
                     
                        $output = "<table class='constable' style='width:1000px;' >
                                   <thead><tr>
                                        <th>{$_LANG['connection']}</th>
                                        <th>{$_LANG['channel']}</th>
                                        <th>{$_LANG['ip']}</th>
                                        <th>{$_LANG['flag']}</th>
                                        <th>{$_LANG['user_agent']}</th>
                                        <th>{$_LANG['date_started']}</th>
                                        <th>{$_LANG['date_end']}</th>
                                        <th>{$_LANG['total_time_online']}</th>
                                        <th>{$_LANG['bandwidth']}</th>
                                        <th>{$_LANG['options']}</th>
                                   </tr></thead><tbody>";

                        foreach ( $activities as $activity )
                        {
                            $active = false;

                            $output .= "<tr>";
                            if(is_null($activity['pid']))
                            {
                                $color = "FFD6CC";
                                $output .= "<td bgcolor='#$color'><b>{$_LANG['closed']}</b></td>";
                            }
                            elseif(ps_running($activity['pid']))
                            {
                                $color = "E0FFD6";
                                $output .= "<td bgcolor='#$color'><b>{$_LANG['opened']}</b></td>";
                            }
                            else
                            {
                                $color = "EBD6EB";
                                $output .= "<td bgcolor='#$color'><b>{$_LANG['closed_unex']}</b></td>";
                            }

                            $output .= "<td bgcolor='#$color'>{$activity['stream_display_name']}</td>";
                            $output .= "<td bgcolor='#$color'>{$activity['user_ip']}</td>";

                            $country = strtoupper( geoip_country_code_by_name( $activity['user_ip'] ) );
                            $country_img = "<img src='../templates/images/flags_country/unknown.png' title='{$_LANG['unknown']}'>";

                            if ( @$country )
                            {
                                $country_img = "<img src='../templates/images/flags_country/' . $country . '.png' title='' . $country . '' />";
                            }

                            $output .= "<td bgcolor='#$color'>$country_img</td>";

                            $output .= "<td bgcolor='#$color'>{$activity['user_agent']}</td>";
                            $output .= "<td bgcolor='#$color'>" . date( "j F, Y, H:i:s", $activity['date_start'] ) . "</td>";
                            if ( is_null( $activity['date_end'] ) )
                            {

                                $output .= "<td bgcolor='#$color'><font color='orange'>{$_LANG['still_watching']}</font></td>";
                                $output .= "<td bgcolor='#$color'><font color='blue'>" . gmdate( "H:i:s", time() - $activity['date_start'] ) . " +</font></td>";
                                $output .= "<td bgcolor='#$color'><font color='blue'>{$_LANG['waiting']}</font></td>";
                            }
                            else
                            {
                                $output .= "<td bgcolor='#$color'>" . date( "j F, Y, H:i:s", $activity['date_end'] ) . "</td>";
                                $output .= "<td bgcolor='#$color'>" . gmdate( "H:i:s", $activity['date_end'] - $activity['date_start'] ) . "</td>";
                                $output .= "<td bgcolor='#$color'>" . formatBytes( $activity['bandwidth'], 2 ) . "</td>";
                            }


                            $output .= "<td bgcolor='#$color'>";

                            if ( $active === true )
                            {
                                $output .= "<a target='_blank' href='users.php?action=kill_activity&activity_id={$activity['id']}' class='table-icon kill' title='{$_LANG['kill_connection']}'></a>";

                            }
                            $output .= "<a target='_blank' onclick='return confirm('{$_LANG['kill_con']}')' href='users.php?action=del_activity&activity_id={$activity['id']}' class='table-icon delete' title='{$_LANG['delete_activity']}'></a></td>";
                            $output .= "</tr>";
                        }
                        $output .= "</tbody></table>";
                    }

                    echo $output;
                    exit;
                }
            }

            echo $output;
            exit;
            break;
        case "user_kick":
            if ( ! empty( ipTV_lib::$request['user_id'] ) )
            {
                $user_id = intval( ipTV_lib::$request['user_id'] );
                kick_user( $user_id );
                $ok_message = $_LANG['user_kicked'];
            }
            break;

        case "user_delete":
            if ( ! empty( ipTV_lib::$request['user_id'] ) )
            {
                $user_id = intval( ipTV_lib::$request['user_id'] );
                $ipTV_db->query( "DELETE FROM `users` WHERE `id` = '%d'", $user_id );
                kick_user( $user_id );
                $ok_message = $_LANG['user_deleted'];

            }
            break;


        case "generate_script":
            if ( ! empty( ipTV_lib::$request['user_id'] ) && ! empty( ipTV_lib::$request['type'] ) )
            {
                $user_id = intval( ipTV_lib::$request['user_id'] );
                $type = ipTV_lib::$request['type'];

                $data = GenerateScript( $user_id, $type, true );
            }

            break;
        case "download_list":
            if ( ! empty( ipTV_lib::$request['user_id'] ) && ! empty( ipTV_lib::$request['type'] ) )
            {
                $user_id = intval( ipTV_lib::$request['user_id'] );
                $type = ipTV_lib::$request['type'];

                $data = GenerateList( $user_id, $type, true );
            }
            break;

    }
}


$users = GetUsers( $selected_show );
if ( empty( $users ) )
{
    $warn_message = $_LANG['no_streaming_lines_found'];
}

$template = @file_get_contents( IPTV_TEMPLATES_PATH . '/' . 'header_admin.php' );
$template .= file_get_contents( IPTV_TEMPLATES_PATH . '/' . '/admin/' . 'users.php' );
$template .= @file_get_contents( IPTV_TEMPLATES_PATH . '/' . 'footer.php' );
eval( ' ?> ' . $template . ' <?php ' );

?>
 
Last edited by a moderator:
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Hello Guys,

i have get from our Member @Adem all Xtream Codes v2.7.8 Files. Who is honest and can decoded the files truly ?

Please do not ask for all files, I will not distribute them directly to everyone.

I will share the files with the one who:
1. Demonstrate that he is indeed able to decode the files.
2. I will not give all at once, i will share the files part for part

Add the attachment i just upload a demo file, where the Decoder can decode it and send me it back, so he can show me that he was able to decode the File.

All credits goes to @Adem (don`t ask him for sharing the Files, because he only entrusted the files to me and does not want to be disturbed further with it)
I see this is cms part?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

Here the next Files to decode.
 

Attachments

Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Here the next Files to decode.
PHP:
<?php

/**
 *  @file checker.php
 * @Author Xtream-Codes.com
 * @Copyright 2014
 * @Title Xtream-Codes.com IPTV Stream Checker.
 */

if ( ! @$argc )
{
    exit( 0 );
}

require ( str_replace( "\\\\", "/", dirname( $argv[0] ) ) . '/init.php' );

define( 'IN_CHECKER', true );

$CronJobIdentifier = "/tmp/checker" . GenerateUniqueCode();
$php_bin = sys_var( 'PHP_BIN' );

if ( Is_Running( $CronJobIdentifier ) )
{
    exit( "Already Running\
" );
}


//Inform Xtream-Codes

$ipTV_db->query( "SELECT * FROM `streams` WHERE `pid` IS NOT NULL order by id DESC" );
if ( $ipTV_db->num_rows() > 0 )
{

    $rows = $ipTV_db->get_rows();


    foreach ( $rows as $row )
    {
        echo "Checking: " . $row['stream_display_name'] . "\
";
        switch ( $row['type'] )
        {

            case 'live':
                ipTV_Stream::StreamAnalyze( $row['id'], $php_bin );
                usleep( 340000 );
                break;

            case 'movie':
                if ( ! is_null( $row['pid'] ) && ! ps_running( $row['pid'] ) )
                {
                    //check if stream has been checked
                    $movie_name_fixed = ipTV_Stream::GetFixedStreamName( $row['stream_display_name'] );
                    $movie_file = MOVIES_PATH . $movie_name_fixed . '/' . $row['movie_file'];
                    if ( $codecs = ipTV_Stream::GetCodecs( $movie_file ) )
                    {
                        $ipTV_db->query( "UPDATE `streams` SET `movie_status` = 1,`stream_info` = '%s',`movie_length_secs` = '%d' WHERE `id` = '%s'", json_encode( $codecs ), ipTV_Stream::GetDuration( $movie_file ), $row['id'] );
                    }
                    else
                    {
                        $ipTV_db->query( "UPDATE `streams` SET `movie_status` = 2 WHERE `id` = '%d'", $row['id'] );
                    }

                    $ipTV_db->query( "UPDATE `streams` SET `pid` = NULL WHERE `id` = '%d'", $row['id'] );
                }
                break;
        }
    }
}
@unlink( $CronJobIdentifier );

?>
 
PHP:
<?php
error_reporting( 0 );
/**
 * @file codecs.php
 * @Author Xtream-Codes.com
 * @Copyright 2014
 * @Title Xtream-Codes.com IPTV Stream Checker.
 */

if ( ! @$argc )
{
    exit( 0 );
}

//ID Given?
if ( empty( $argv[1] ) || ! is_numeric( $argv[1] ) )
{
    echo "[*] Usage: php " . __file__ . " <STREAM_ID>\
";
    exit();
}

$stream_id = intval( $argv[1] );
define( 'IN_CHECKER', true );

require ( str_replace( "\\\\", "/", dirname( $argv[0] ) ) . '/init.php' );


$ipTV_db->query( "SELECT * FROM `streams` WHERE `id` = '%d' AND `pid` IS NOT NULL", $stream_id );
if ( $ipTV_db->num_rows() > 0 )
{
    $row = $ipTV_db->get_row();


    $stream_info = ( empty( $row['stream_info'] ) ) ? null : json_decode( $row['stream_info'], true );


    if ( empty( $stream_info ) || ! ps_running( $row['pid'] ) )
    {
        if ( $codecs = ipTV_Stream::GetCodecs( 'http://127.0.0.1:' . $row['dest_stream_port'] ) )
        {
            SetStatus( 0, $row['id'], $codecs );
            echo "[WORKS] => {$row['stream_display_name']}";
        }
        elseif ( $codecs = ipTV_Stream::GetCodecs( $row['stream_source'] ) )
        {
            //RESTREAM ERROR
            ipTV_Stream::StartStream( $row['id'] );
            sleep( 3 );
            if ( $codecs = ipTV_Stream::GetCodecs( 'http://127.0.0.1:' . $row['dest_stream_port'] ) )
            {
                SetStatus( 0, $row['id'], $codecs );
                echo "[WORKS] => {$row['stream_display_name']}";
            }
            else
            {
                SetStatus( 1, $row['id'] );
                ipTV_Stream::StartStream( $row['id'] );
                echo "[ERROR] => {$row['stream_display_name']}";
            }
        }
        else
        {
            //SOURCE IS DOWN
            SetStatus( 2, $row['id'] );
            ipTV_Stream::StartStream( $row['id'] );
            echo "[DOWN] => {$row['stream_display_name']}";
        }
    }
    else
    {
        if ( ! ipTV_Stream::StreamWorks( $row['dest_stream_port'] ) )
        {
            //VLC CRASHED
            ipTV_Stream::StartStream( $row['id'] );
            echo "[CRASHED] => {$row['stream_display_name']}";
        }
        else
            echo "[OK] => {$row['stream_display_name']}";
    }
}

function SetStatus( $status, $stream_id, $codecs = array() )
{
    global $ipTV_db;

    switch ( $status )
    {
        case 0:
            $ipTV_db->query( "UPDATE `streams` SET `problem_status` = 0,`stream_info` = '%s' WHERE `id` = '%d'", json_encode( $codecs ), $stream_id );
            $ipTV_db->query( "INSERT INTO `logs` (`stream_id`,`date`,`status`) VALUES('%d','%d','Works')", $stream_id, time() );
            break;

        case 1:
            $ipTV_db->query( "UPDATE `streams` SET `problem_status` = 1,`stream_info` = NULL WHERE `id` = '%d'", $stream_id );
            break;

        case 2:
            $ipTV_db->query( "UPDATE `streams` SET `problem_status` = 2,`stream_info` = NULL WHERE `id` = '%d'", $stream_id );
            break;
    }
}

?>
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
@malaquias yes it was my bad, it is not the pro version, it was the 2.7.8 of the light version before the Pro.
 
Hello all,
I try to decode same staff. Very thanks @goochi for information.

But I have one question this cms part?
Any body have server part?

Thanks
 
For those who need the xtream_codes modules: x64_PHP5.3, x64_PHP5.4, x64_PHP5.5, x86_PHP5.3, x86_PHP5.4, x86_PHP5.4
Download:
Do you still need help with decoding?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top