Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
backup /
extensions /
ParserFunctions /
Delete
Unzip
Name
Size
Permission
Date
Action
COPYING
14.91
KB
-rw-r--r--
2010-10-03 00:36
Convert.php
28.08
KB
-rw-r--r--
2011-09-13 02:36
Expr.php
15.77
KB
-rw-r--r--
2011-01-29 14:54
ParserFunctions.i18n.magic.php
19.24
KB
-rw-r--r--
2011-05-20 02:11
ParserFunctions.i18n.php
304.71
KB
-rw-r--r--
2011-09-08 19:11
ParserFunctions.php
4.94
KB
-rw-r--r--
2011-09-13 02:36
ParserFunctions_body.php
24.14
KB
-rw-r--r--
2011-10-03 16:18
README
671
B
-rw-r--r--
2011-01-10 06:24
convertTests.txt
4.87
KB
-rw-r--r--
2011-09-13 02:36
exprTests.txt
454
B
-rw-r--r--
2009-02-14 15:45
funcsParserTests.txt
2.64
KB
-rw-r--r--
2010-07-09 23:11
stringFunctionTests.txt
397
B
-rw-r--r--
2010-07-09 23:11
testExpr.php
938
B
-rw-r--r--
2010-10-03 00:36
Save
Rename
<?php require_once ( getenv( 'MW_INSTALL_PATH' ) !== false ? getenv( 'MW_INSTALL_PATH' ) . "/maintenance/commandLine.inc" : dirname( __FILE__ ) . '/../../maintenance/commandLine.inc' ); require( 'Expr.php' ); $tests = file( 'exprTests.txt' ); $pass = $fail = 0; // Each test is on one line. The test must always evaluate to '1'. $parser = new ExprParser; foreach ( $tests as $test ) { $test = trim( $test ); if ( in_string( ';', $test ) ) list( $input, $expected ) = explode( ';', $test ); else { $input = $test; $expected = 1; } $expected = trim( $expected ); $input = trim( $input ); $result = $parser->doExpression( $input ); if ( $result != $expected ) { print "FAILING test -- $input gave a final result of $result, instead of $expected.\n"; $fail++; } else { print "PASSED test $test\n"; $pass++; } } print "Passed $pass tests, failed $fail tests, out of a total of " . ( $pass + $fail ) . "\n";