buyer kontol nego ga ngotak
comecondo.com
Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
68.183.124.220
Cant read /etc/named.conf
Name
Type
Size
Owner/Group
Permission
Last Modified
Actions
.
dir
-
gavin/www-data
drwxr-sr-x
2024-12-15 11:41:30
..
dir
-
root/root
drwxr-xr-x
2019-08-25 02:29:45
.sucuriquarantine
dir
-
root/www-data
drwxr-sr-x
2024-05-24 05:31:33
home
dir
-
gavin/www-data
drwxrwsr-x
2026-05-23 05:31:31
worksheets
dir
-
gavin/www-data
drwxrwsr-x
2026-05-23 05:31:31
wp-admin
dir
-
gavin/www-data
drwxr-sr-x
2025-08-29 03:10:31
wp-content
dir
-
gavin/www-data
drwxrwsr-x
2026-05-23 05:31:31
wp-includes
dir
-
gavin/www-data
drwxr-sr-x
2021-06-27 11:01:30
.htaccess
text/plain
201 B
root/www-data
-rw-r--r--
2021-06-24 04:05:20
agent-contact-1.JPG
image/jpeg
22.78 KB
gavin/www-data
-rw-rw-r--
2022-01-31 05:13:10
circle-16.png
image/png
268 B
gavin/www-data
-rw-rw-r--
2021-01-11 04:23:00
index.html
text/html
11.06 KB
gavin/www-data
-rw-r--r--
2019-08-25 02:29:47
index.php
text/x-php
420 B
gavin/www-data
-rw-r--r--
2017-11-30 11:11:00
license.txt
text/plain
19.47 KB
gavin/www-data
-rw-r--r--
2019-01-01 08:37:49
map.php
text/html
1012 B
gavin/www-data
-rw-rw-r--
2021-01-01 03:50:38
pin-8-16.png
image/png
309 B
gavin/www-data
-rw-rw-r--
2021-01-11 04:38:33
pin-8-24.png
image/png
499 B
gavin/www-data
-rw-rw-r--
2021-01-11 04:40:01
pin-blue-1.png
image/png
28.16 KB
gavin/www-data
-rw-rw-r--
2022-01-27 09:10:36
pin-green-1.png
image/png
12.71 KB
gavin/www-data
-rw-rw-r--
2022-01-27 09:23:52
pin-house-red-2.png
image/png
1.36 KB
gavin/www-data
-rw-rw-r--
2022-01-30 09:18:10
pin-house-red-3.png
image/png
2.49 KB
gavin/www-data
-rw-rw-r--
2022-01-30 09:20:50
readme.html
text/html
7.27 KB
gavin/www-data
-rw-r--r--
2019-04-08 10:59:56
wallpaper1.jpg
image/jpeg
58.99 KB
gavin/www-data
-rw-rw-r--
2022-01-29 05:15:06
wallpaper2.jpg
image/jpeg
788.8 KB
gavin/www-data
-rw-rw-r--
2022-02-01 11:27:14
wp-activate.php
text/x-php
6.76 KB
gavin/www-data
-rw-r--r--
2019-01-12 06:41:52
wp-blog-header.php
text/x-php
369 B
gavin/www-data
-rw-r--r--
2017-11-30 11:11:00
wp-comments-post.php
text/x-php
2.23 KB
gavin/www-data
-rw-r--r--
2019-01-21 01:34:51
wp-config-sample.php
text/x-php
2.83 KB
gavin/www-data
-rw-r--r--
2020-10-24 04:07:41
wp-config.php
text/x-php
3.62 KB
gavin/www-data
-rw-r--r--
2022-04-20 01:23:49
wp-cron.php
text/x-php
3.76 KB
gavin/www-data
-rw-r--r--
2019-01-09 08:37:51
wp-links-opml.php
text/x-php
2.44 KB
gavin/www-data
-rw-r--r--
2019-01-16 05:29:49
wp-load.php
text/x-php
3.23 KB
gavin/www-data
-rw-r--r--
2017-11-30 11:11:00
wp-login.php
text/x-php
38.62 KB
gavin/www-data
-rw-r--r--
2019-06-10 01:34:45
wp-mail.php
text/x-php
8.21 KB
gavin/www-data
-rw-r--r--
2017-11-30 11:11:00
wp-settings.php
text/x-php
18.52 KB
gavin/www-data
-rw-r--r--
2019-03-28 07:04:51
wp-signup.php
text/x-php
30.36 KB
gavin/www-data
-rw-r--r--
2019-01-16 04:51:52
wp-trackback.php
text/x-php
4.65 KB
gavin/www-data
-rw-r--r--
2017-11-30 11:11:00
xmlrpc.php
text/x-php
3 KB
gavin/www-data
-rw-r--r--
2018-08-17 01:51:36
© BlackDragon
403WebShell 403Webshell
Server IP : 68.183.124.220 / Your IP : 216.73.216.228 Web Server : Apache/2.4.18 (Ubuntu) System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : gavin ( 1000 ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : / var /www /html /wp-includes /pomo / Upload File :
current_dir [ Writeable ]
document_root [ Writeable ]
Command :
[ Back ] Current File : /var/www/html/wp-includes/pomo/translations.php <?php
/**
* Class for a set of entries for translation and their associated headers
*
* @version $Id: translations.php 1157 2015-11-20 04:30:11Z dd32 $
* @package pomo
* @subpackage translations
*/
require_once dirname( __FILE__ ) . '/plural-forms.php';
require_once dirname( __FILE__ ) . '/entry.php';
if ( ! class_exists( 'Translations', false ) ) :
class Translations {
var $entries = array();
var $headers = array();
/**
* Add entry to the PO structure
*
* @param array|Translation_Entry $entry
* @return bool true on success, false if the entry doesn't have a key
*/
function add_entry( $entry ) {
if ( is_array( $entry ) ) {
$entry = new Translation_Entry( $entry );
}
$key = $entry->key();
if ( false === $key ) {
return false;
}
$this->entries[ $key ] = &$entry;
return true;
}
/**
* @param array|Translation_Entry $entry
* @return bool
*/
function add_entry_or_merge( $entry ) {
if ( is_array( $entry ) ) {
$entry = new Translation_Entry( $entry );
}
$key = $entry->key();
if ( false === $key ) {
return false;
}
if ( isset( $this->entries[ $key ] ) ) {
$this->entries[ $key ]->merge_with( $entry );
} else {
$this->entries[ $key ] = &$entry;
}
return true;
}
/**
* Sets $header PO header to $value
*
* If the header already exists, it will be overwritten
*
* TODO: this should be out of this class, it is gettext specific
*
* @param string $header header name, without trailing :
* @param string $value header value, without trailing \n
*/
function set_header( $header, $value ) {
$this->headers[ $header ] = $value;
}
/**
* @param array $headers
*/
function set_headers( $headers ) {
foreach ( $headers as $header => $value ) {
$this->set_header( $header, $value );
}
}
/**
* @param string $header
*/
function get_header( $header ) {
return isset( $this->headers[ $header ] ) ? $this->headers[ $header ] : false;
}
/**
* @param Translation_Entry $entry
*/
function translate_entry( &$entry ) {
$key = $entry->key();
return isset( $this->entries[ $key ] ) ? $this->entries[ $key ] : false;
}
/**
* @param string $singular
* @param string $context
* @return string
*/
function translate( $singular, $context = null ) {
$entry = new Translation_Entry(
array(
'singular' => $singular,
'context' => $context,
)
);
$translated = $this->translate_entry( $entry );
return ( $translated && ! empty( $translated->translations ) ) ? $translated->translations[0] : $singular;
}
/**
* Given the number of items, returns the 0-based index of the plural form to use
*
* Here, in the base Translations class, the common logic for English is implemented:
* 0 if there is one element, 1 otherwise
*
* This function should be overridden by the sub-classes. For example MO/PO can derive the logic
* from their headers.
*
* @param integer $count number of items
*/
function select_plural_form( $count ) {
return 1 == $count ? 0 : 1;
}
/**
* @return int
*/
function get_plural_forms_count() {
return 2;
}
/**
* @param string $singular
* @param string $plural
* @param int $count
* @param string $context
*/
function translate_plural( $singular, $plural, $count, $context = null ) {
$entry = new Translation_Entry(
array(
'singular' => $singular,
'plural' => $plural,
'context' => $context,
)
);
$translated = $this->translate_entry( $entry );
$index = $this->select_plural_form( $count );
$total_plural_forms = $this->get_plural_forms_count();
if ( $translated && 0 <= $index && $index < $total_plural_forms &&
is_array( $translated->translations ) &&
isset( $translated->translations[ $index ] ) ) {
return $translated->translations[ $index ];
} else {
return 1 == $count ? $singular : $plural;
}
}
/**
* Merge $other in the current object.
*
* @param Object $other Another Translation object, whose translations will be merged in this one (passed by reference).
* @return void
*/
function merge_with( &$other ) {
foreach ( $other->entries as $entry ) {
$this->entries[ $entry->key() ] = $entry;
}
}
/**
* @param object $other
*/
function merge_originals_with( &$other ) {
foreach ( $other->entries as $entry ) {
if ( ! isset( $this->entries[ $entry->key() ] ) ) {
$this->entries[ $entry->key() ] = $entry;
} else {
$this->entries[ $entry->key() ]->merge_with( $entry );
}
}
}
}
class Gettext_Translations extends Translations {
/**
* The gettext implementation of select_plural_form.
*
* It lives in this class, because there are more than one descendand, which will use it and
* they can't share it effectively.
*
* @param int $count
*/
function gettext_select_plural_form( $count ) {
if ( ! isset( $this->_gettext_select_plural_form ) || is_null( $this->_gettext_select_plural_form ) ) {
list( $nplurals, $expression ) = $this->nplurals_and_expression_from_header( $this->get_header( 'Plural-Forms' ) );
$this->_nplurals = $nplurals;
$this->_gettext_select_plural_form = $this->make_plural_form_function( $nplurals, $expression );
}
return call_user_func( $this->_gettext_select_plural_form, $count );
}
/**
* @param string $header
* @return array
*/
function nplurals_and_expression_from_header( $header ) {
if ( preg_match( '/^\s*nplurals\s*=\s*(\d+)\s*;\s+plural\s*=\s*(.+)$/', $header, $matches ) ) {
$nplurals = (int) $matches[1];
$expression = trim( $matches[2] );
return array( $nplurals, $expression );
} else {
return array( 2, 'n != 1' );
}
}
/**
* Makes a function, which will return the right translation index, according to the
* plural forms header
*
* @param int $nplurals
* @param string $expression
*/
function make_plural_form_function( $nplurals, $expression ) {
try {
$handler = new Plural_Forms( rtrim( $expression, ';' ) );
return array( $handler, 'get' );
} catch ( Exception $e ) {
// Fall back to default plural-form function.
return $this->make_plural_form_function( 2, 'n != 1' );
}
}
/**
* Adds parentheses to the inner parts of ternary operators in
* plural expressions, because PHP evaluates ternary oerators from left to right
*
* @param string $expression the expression without parentheses
* @return string the expression with parentheses added
*/
function parenthesize_plural_exression( $expression ) {
$expression .= ';';
$res = '';
$depth = 0;
for ( $i = 0; $i < strlen( $expression ); ++$i ) {
$char = $expression[ $i ];
switch ( $char ) {
case '?':
$res .= ' ? (';
$depth++;
break;
case ':':
$res .= ') : (';
break;
case ';':
$res .= str_repeat( ')', $depth ) . ';';
$depth = 0;
break;
default:
$res .= $char;
}
}
return rtrim( $res, ';' );
}
/**
* @param string $translation
* @return array
*/
function make_headers( $translation ) {
$headers = array();
// sometimes \ns are used instead of real new lines
$translation = str_replace( '\n', "\n", $translation );
$lines = explode( "\n", $translation );
foreach ( $lines as $line ) {
$parts = explode( ':', $line, 2 );
if ( ! isset( $parts[1] ) ) {
continue;
}
$headers[ trim( $parts[0] ) ] = trim( $parts[1] );
}
return $headers;
}
/**
* @param string $header
* @param string $value
*/
function set_header( $header, $value ) {
parent::set_header( $header, $value );
if ( 'Plural-Forms' == $header ) {
list( $nplurals, $expression ) = $this->nplurals_and_expression_from_header( $this->get_header( 'Plural-Forms' ) );
$this->_nplurals = $nplurals;
$this->_gettext_select_plural_form = $this->make_plural_form_function( $nplurals, $expression );
}
}
}
endif;
if ( ! class_exists( 'NOOP_Translations', false ) ) :
/**
* Provides the same interface as Translations, but doesn't do anything
*/
class NOOP_Translations {
var $entries = array();
var $headers = array();
function add_entry( $entry ) {
return true;
}
/**
* @param string $header
* @param string $value
*/
function set_header( $header, $value ) {
}
/**
* @param array $headers
*/
function set_headers( $headers ) {
}
/**
* @param string $header
* @return false
*/
function get_header( $header ) {
return false;
}
/**
* @param Translation_Entry $entry
* @return false
*/
function translate_entry( &$entry ) {
return false;
}
/**
* @param string $singular
* @param string $context
*/
function translate( $singular, $context = null ) {
return $singular;
}
/**
* @param int $count
* @return bool
*/
function select_plural_form( $count ) {
return 1 == $count ? 0 : 1;
}
/**
* @return int
*/
function get_plural_forms_count() {
return 2;
}
/**
* @param string $singular
* @param string $plural
* @param int $count
* @param string $context
*/
function translate_plural( $singular, $plural, $count, $context = null ) {
return 1 == $count ? $singular : $plural;
}
/**
* @param object $other
*/
function merge_with( &$other ) {
}
}
endif;
Youez - 2016 - github.com/yon3zuLinuXploit