⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.139
Server IP:
44.234.190.86
Server:
Linux ip-172-31-55-191 5.4.0-1060-aws #63~18.04.1-Ubuntu SMP Mon Nov 15 14:31:31 UTC 2021 x86_64
Server Software:
Apache/2.4.29 (Ubuntu)
PHP Version:
7.0.33-30+ubuntu18.04.1+deb.sury.org+1
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
wp-includes
/
Requests
/
Auth
/
View File Name :
Basic.php
user, $this->pass) = $args; } } /** * Register the necessary callbacks * * @see curl_before_send * @see fsockopen_header * @param Requests_Hooks $hooks Hook system */ public function register(Requests_Hooks &$hooks) { $hooks->register('curl.before_send', array(&$this, 'curl_before_send')); $hooks->register('fsockopen.after_headers', array(&$this, 'fsockopen_header')); } /** * Set cURL parameters before the data is sent * * @param resource $handle cURL resource */ public function curl_before_send(&$handle) { curl_setopt($handle, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($handle, CURLOPT_USERPWD, $this->getAuthString()); } /** * Add extra headers to the request before sending * * @param string $out HTTP header string */ public function fsockopen_header(&$out) { $out .= sprintf("Authorization: Basic %s\r\n", base64_encode($this->getAuthString())); } /** * Get the authentication string (user:pass) * * @return string */ public function getAuthString() { return $this->user . ':' . $this->pass; } }