403Webshell
Server IP : 45.77.68.45  /  Your IP : 127.0.0.100
Web Server : PHPix/0.2.2 (Caddy compatible)
System : wasi wasmer.sh 0.0.0 0.0.0 wasm32
User :  ( 1)
PHP Version : 8.3.21
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/assets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/assets/start-wp.php
<?php

declare(strict_types=1);

$rootHtaccess = '/app/wp-content/root-htaccess';
$appHtaccess = '/app/.htaccess';

if (file_exists($appHtaccess)) {
    if (!is_file($rootHtaccess)) {
        echo "Copying app's .htaccess file into wp-content\n";
        $contents = file_get_contents($appHtaccess);
        if ($contents !== false) {
            file_put_contents($rootHtaccess, $contents);
        }
    }
    unlink($appHtaccess);
}

if (!file_exists($appHtaccess) && is_file($rootHtaccess)) {
    echo "Using wp-content .htaccess file as app's htaccess\n";
    symlink($rootHtaccess, $appHtaccess);
}

Youez - 2016 - github.com/yon3zu
LinuXploit