function($command)
{
//Setting the last action performed
$this->last_action = "get-command";
//Defining the $url_part and the command to be executed
$url_part = "get-command&command=".$this->sanitize($command);
//Concatenating the closing single quote
$url_part .="'";
//Concatenating the header url and $url_part to create the full url to be executed
$url_part = $this->getHeaderUrl() . $url_part;
//Calling shell_exec and returning the result array
return $this->callShellExec($url_part);
}