AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/wp-content/plugins/jetpack/vendor/wikimedia/aho-corasick/bench/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/wp-content/plugins/jetpack/vendor/wikimedia/aho-corasick/bench/check.php
<?php
require_once __DIR__ . '/../src/MultiStringMatcher.php';
require_once __DIR__ . '/../src/MultiStringReplacer.php';

use AhoCorasick\MultiStringReplacer;

if ( !file_exists( __DIR__ . '/23835-0.txt' ) ) {
	die( 'Please download http://www.gutenberg.org/files/23835/23835-0.txt' );
}

if ( !file_exists( __DIR__ . '/ZhConversion.php' ) ) {
	die( 'You need ZhConversion.php, from http://git.io/vIMst' );
}

require_once __DIR__ . '/ZhConversion.php';

$text = file_get_contents( __DIR__ . '/23835-0.txt' );

$status = 0;
$expected = strtr( $text, $zh2Hant );

echo "MultiStringReplacer::searchAndReplace(): ";
$replacer = new MultiStringReplacer( $zh2Hant );
if ( $replacer->searchAndReplace( $text ) !== $expected ) {
	echo "ERROR\n";
	$status = 1;
} else {
	echo "OK\n";
}

if ( function_exists( 'fss_exec_replace' ) ) {
	echo "fss_exec_replace(): ";
	$fss = fss_prep_replace( $zh2Hant );
	if ( fss_exec_replace( $fss, $text ) !== $expected ) {
		echo "ERROR\n";
		$status = 1;
	} else {
		echo "OK\n";
	}
}

exit( $status );

Anon7 - 2022
AnonSec Team