!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/doc/phpmyadmin/examples/   drwxr-xr-x
Free 83.33 GB of 96.73 GB (86.15%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     signon.php (2.5 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Single signon for phpMyAdmin
 *
 * This is just example how to use session based single signon with
 * phpMyAdmin, it is not intended to be perfect code and look, only
 * shows how you can integrate this functionality in your application.
 */

declare(strict_types=1);

/* Use cookies for session */
ini_set('session.use_cookies''true');
/* Change this to true if using phpMyAdmin over https */
$secure_cookie false;
/* Need to have cookie visible from parent directory */
session_set_cookie_params(0'/'''$secure_cookietrue);
/* Create signon session */
$session_name 'SignonSession';
session_name($session_name);
// Uncomment and change the following line to match your $cfg['SessionSavePath']
//session_save_path('/foobar');
@session_start();

/* Was data posted? */
if (isset($_POST['user'])) {
    
/* Store there credentials */
    
$_SESSION['PMA_single_signon_user'] = $_POST['user'];
    
$_SESSION['PMA_single_signon_password'] = $_POST['password'];
    
$_SESSION['PMA_single_signon_host'] = $_POST['host'];
    
$_SESSION['PMA_single_signon_port'] = $_POST['port'];
    
/* Update another field of server configuration */
    
$_SESSION['PMA_single_signon_cfgupdate'] = ['verbose' => 'Signon test'];
    
$_SESSION['PMA_single_signon_HMAC_secret'] = hash('sha1'uniqid(strval(rand()), true));
    
$id session_id();
    
/* Close that session */
    
@session_write_close();
    
/* Redirect to phpMyAdmin (should use absolute URL here!) */
    
header('Location: ../index.php');
} else {
    
/* Show simple form */
    
header('Content-Type: text/html; charset=utf-8');

    echo 
'<?xml version="1.0" encoding="utf-8"?>' "\n";
    echo 
'<!DOCTYPE HTML>
<html lang="en" dir="ltr">
<head>
<link rel="icon" href="../favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon">
<meta charset="utf-8">
<title>phpMyAdmin single signon example</title>
</head>
<body>'
;

    if (isset(
$_SESSION['PMA_single_signon_error_message'])) {
        echo 
'<p class="error">';
        echo 
$_SESSION['PMA_single_signon_error_message'];
        echo 
'</p>';
    }

    echo 
'<form action="signon.php" method="post">
Username: <input type="text" name="user" autocomplete="username"><br>
Password: <input type="password" name="password" autocomplete="current-password"><br>
Host: (will use the one from config.inc.php by default)
<input type="text" name="host"><br>
Port: (will use the one from config.inc.php by default)
<input type="text" name="port"><br>
<input type="submit">
</form>
</body>
</html>'
;
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0041 ]--