One Hat Cyber Team
Your IP :
172.16.0.254
Server IP :
58.26.163.33
Server :
Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Server Software :
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
PHP Version :
7.3.25
Buat File
|
Buat Folder
Eksekusi
Dir :
C:
/
laragon
/
etc
/
apps
/
phpRedisAdmin
/
Edit File:
logout.php
<?php require_once 'includes/common.inc.php'; if (!empty($config['cookie_auth'])) { // Cookie-based auth setcookie('phpRedisAdminLogin', '', 1); header("Location: login.php"); die(); } else { // HTTP Digest auth $needed_parts = array( 'nonce' => 1, 'nc' => 1, 'cnonce' => 1, 'qop' => 1, 'username' => 1, 'uri' => 1, 'response' => 1 ); $data = array(); $keys = implode('|', array_keys($needed_parts)); preg_match_all('/('.$keys.')=(?:([\'"])([^\2]+?)\2|([^\s,]+))/', $_SERVER['PHP_AUTH_DIGEST'], $matches, PREG_SET_ORDER); foreach ($matches as $m) { $data[$m[1]] = $m[3] ? $m[3] : $m[4]; unset($needed_parts[$m[1]]); } if (!isset($_GET['nonce'])) { header('Location: logout.php?nonce='.$data['nonce']); die; } if ($data['nonce'] == $_GET['nonce']) { unset($_SERVER['PHP_AUTH_DIGEST']); if (!empty($config['cookie_auth'])) { $login = authCookie(); } else { $login = authHttpDigest(); } } header('Location: logout.php'); }
Simpan