����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/st2/logs/v3/src/CloudflareBypass/Base/RequestMethod/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/st2/logs/v3/src/CloudflareBypass/Base/RequestMethod/RequestMethod.php
<?php
namespace CloudflareBypass\Base\RequestMethod;

/**
 * All request methods should implement this interface.
 * This interface states all methods required by CFBypasser.
 *
 * @author Kyran Rana
 */
interface RequestMethod {

    // {{{ Getters

    /**
     * Gets page for current request.
     * -> Should update cookies
     * -> Should update http code 
     * -> Should clear and update request headers.
     * -> Should clear and update response headers.
     *
     * @access public
     * @return string  page contents.
     */
    public function getPage();


    /**
     * Gets http code for current request.
     *
     * @access public
     * @return integer  http code.
     */
    public function getHttpCode();


    /**
     * Gets url for current request.
     *
     * @access public
     * @return string  url.
     */
    public function getUrl();


    /**
     * Gets all cookies for current request.
     *
     * @access public
     * @return object  all cookies.
     *
     * Format
     *
     * cURL:
     * {
     *  "cookie1": "Hostname=<string>;? Subdomain=<true|false>; Path=path;? Secure=<true|false>;? Expires=<date>;? Name=<string>; Value=<string>;",
     *  "cookie2": "Hostname=<string>;? Subdomain=<true|false>; Path=path;? Secure=<true|false>;? Expires=<date>;? Name=<string>; Value=<string>;"
     * }
     *
     * Stream context:
     * {
     *  "cookie1": "Name=<string>; Value=<string>;",
     *  "cookie2": "Name=<string>; Value=<string>;"
     * }
     *
     */
    public function getCookies();


    /**
     * Gets cookie named :cookie for current request.
     *
     * @access public
     * @param string $cookie  cookie name
     * @return mixed  cookie value | null
     *
     * Format
     *
     * cURL:
     * "Hostname=<string>;? Subdomain=<true|false>; Path=<string>;? Secure=<true|false>;? Expires=<date>;? Name=<string>; Value=<string>;"
     *
     * Stream context:
     * "Name=<string>; Value=<string>;"
     */
    public function getCookie( $cookie );


    /**
     * Gets request handle.
     *
     * @access public
     * @return object  request handle.
     */
    public function getResource();


    /**
     * Gets CF request handle.
     * - Handle with all required options set to bypass CF.
     *
     * @access public
     * @return object  cf request handle
     */
    public function getCFResource();


    /**
     * Gets request headers for current request.
     *
     * @access public
     * @return array  request headers.
     *
     * Format:
     * [
     *   "user-agent: <user agent>",
     *   "cookie: <cookie>",
     *   "no-cache: <cache header>"
     * ]
     */
    public function getRequestHeaders();


    /**
     * Gets request header :header for current request.
     *
     * @access public
     * @param string $header  header name
     * @return mixed  header value | null
     */
    public function getRequestHeader( $request_header );


    /**
     * Gets response headers for current request.
     *
     * @access public
     * @return array  response headers.
     * 
     * Format:
     * [
     *   "HTTP/1.1 200 OK",
     *   "Accept-Ranges: bytes",
     *   "Set-Cookie: <set cookie>"
     * ]
     */
    public function getResponseHeaders();

    // }}}

    // ------------------------------------------------------------------------------------------------

    // {{{ Setters

    /**
     * Sets url for current request.
     *
     * @access public
     * @param string $url  current url.
     * @return void
     */
    public function setUrl( $url );
    

    /**
     * Sets cookie for current request.
     *
     * @access public
     * @param string $name  cookie name.
     * @param string $value  cookie value.
     * @return void
     */
    public function setCookie( $name, $value );


    /**
     * Sets follow location for current request.
     *
     * @access public
     * @param boolean $follow  TRUE to enable follow location.
     * @return void
     */
    public function setFollowLocation( $follow );


    /**
     * Sets request method for current request.
     * 
     * @access public
     * @param string $request_method  request method.
     * @return void
     */
    public function setRequestMethod( $request_method );

    // }}}
}

ZeroDay Forums Mini