Esempio n. 1
0
function Close($message)
{
    global $cli;
    LogOut();
    if (file_exists("Cookies.txt")) {
        unlink("Cookies.txt");
    }
    qecho($message . "\n");
    if (!count($cli->params)) {
        sleep(2);
    }
    die;
}
Esempio n. 2
0
 function decrypt($ciphertext)
 {
     if ($this->_key == null) {
         qecho("Secret key is undefined\n");
     }
     if (is_string($ciphertext)) {
         return $this->_decryptString($ciphertext);
     } elseif (is_array($ciphertext)) {
         return $this->_decryptArray($ciphertext);
     } else {
         qecho("The cipher text must be a string or long integer array\n");
     }
 }