/* Decoded by unphp.net */
]/", "", $_POST["ip"]); //$ip = @str_replace(['\', '$', '|', '`', ';', '&', '<', '>'], "", $_POST["ip"]); $response = @shell_exec("timeout 5 bash -c 'ping -c 3 ".$ip."'"); $receive = @preg_match("/3 packets transmitted, (.*) received/s",$response,$out); if ($out[1]=="3") { echo "Ping OK"; } elseif ($out[1]=="0") { echo "Ping NOK"; } else { echo "Syntax Error"; }}?>