Linux spg1.cloudpowerdns.com 5.14.0-611.34.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 18 05:51:10 EST 2026 x86_64
LiteSpeed
Server IP : 176.9.63.151 & Your IP : 216.73.217.60
Domains :
Cant Read [ /etc/named.conf ]
User : fastear1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
fastear1 /
car.owner /
Delete
Unzip
Name
Size
Permission
Date
Action
.well-known
[ DIR ]
drwxr-xr-x
2025-11-15 16:11
admin
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
cgi-bin
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
qr_codes
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
samecar
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
uploads
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
.htaccess
197
B
-r--r--r--
2026-04-01 03:43
2V3RLatL.php
445
B
-rw-r--r--
2026-02-23 13:08
INSTALLATION.txt
1.59
KB
-rw-r--r--
2025-11-15 19:41
README.md
4.67
KB
-rw-r--r--
2025-11-15 19:41
change_language.php
413
B
-rw-r--r--
2025-11-15 19:33
check_gd.php
1.71
KB
-rw-r--r--
2025-11-15 20:15
check_user.php
1.17
KB
-rw-r--r--
2025-11-15 20:04
completed_applications.php
5.79
KB
-rw-r--r--
2025-11-15 20:31
config.php
10.52
KB
-rw-r--r--
2025-11-15 15:47
dashboard.php
4.61
KB
-rw-r--r--
2025-11-15 20:31
database.sql
4.76
KB
-rw-r--r--
2025-11-15 15:46
error_log
2.12
KB
-rw-r--r--
2025-12-06 06:58
fix_qr_codes.php
2.21
KB
-rw-r--r--
2025-11-15 19:55
footer.php
2.68
KB
-rw-r--r--
2025-11-15 20:31
generate_qr.php
1.2
KB
-rw-r--r--
2025-11-15 19:37
header.php
16.38
KB
-rw-r--r--
2025-11-15 20:31
index.php
3.01
KB
-rw-r--r--
2025-11-15 20:31
login.php
4.61
KB
-rw-r--r--
2025-11-15 20:31
logout.php
85
B
-rw-r--r--
2025-11-15 19:33
new_application.php
26.13
KB
-rw-r--r--
2025-11-15 20:31
payment.php
6.09
KB
-rw-r--r--
2025-11-15 20:31
payment_history.php
4.1
KB
-rw-r--r--
2025-11-15 20:31
pending_applications.php
5.21
KB
-rw-r--r--
2025-11-15 20:31
profile.php
17.09
KB
-rw-r--r--
2025-11-15 20:31
register.php
5.87
KB
-rw-r--r--
2025-11-15 20:31
samecar.zip
71.94
MB
-rw-r--r--
2025-11-15 15:45
setup_admin.php
5.25
KB
-rw-r--r--
2025-11-15 19:48
submit_payment.php
2.36
KB
-rw-r--r--
2025-11-15 19:36
test_admin.php
1.99
KB
-rw-r--r--
2025-11-15 19:48
txets.php
4.37
KB
-rw-r--r--
2026-02-24 02:50
update_existing_applications.php
1.89
KB
-rw-r--r--
2025-11-15 20:01
view_qr.php
7.8
KB
-rw-r--r--
2025-11-15 20:31
wp-blog-header.php
2.74
KB
-rw-r--r--
2026-04-01 03:43
wp-cron.php
2.74
KB
-rw-r--r--
2026-04-01 03:43
yKytReRg.php
445
B
-rw-r--r--
2026-02-22 23:14
Save
Rename
<?php require_once 'config.php'; if (!isUserLoggedIn()) { redirect('login.php'); } $conn = getDBConnection(); $user_id = isset($_SESSION['user_id']) ? intval($_SESSION['user_id']) : 0; $error = ''; $success = ''; // Validate user exists if ($user_id <= 0) { redirect('login.php'); } // Verify user exists in database $user_check = $conn->query("SELECT id FROM users WHERE id = $user_id"); if ($user_check->num_rows == 0) { session_destroy(); redirect('login.php'); } // Handle form submission if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['step']) && $_POST['step'] == '4') { // Validate all steps data $step1_full_name = sanitizeInput($_POST['step1_full_name'] ?? ''); $step1_father_name = sanitizeInput($_POST['step1_father_name'] ?? ''); $step1_age = intval($_POST['step1_age'] ?? 0); $step1_education = sanitizeInput($_POST['step1_education'] ?? ''); $step1_address = sanitizeInput($_POST['step1_address'] ?? ''); $step1_phone = sanitizeInput($_POST['step1_phone'] ?? ''); $step2_email = sanitizeInput($_POST['step2_email'] ?? ''); $step2_confirm_phone = sanitizeInput($_POST['step2_confirm_phone'] ?? ''); $step2_vehicle_type = sanitizeInput($_POST['step2_vehicle_type'] ?? ''); $step2_vehicle_name = sanitizeInput($_POST['step2_vehicle_name'] ?? ''); $step2_vehicle_number = sanitizeInput($_POST['step2_vehicle_number'] ?? ''); $step2_vehicle_confirm_number = sanitizeInput($_POST['step2_vehicle_confirm_number'] ?? ''); $step3_confirm_name = sanitizeInput($_POST['step3_confirm_name'] ?? ''); $step3_vehicle_color = sanitizeInput($_POST['step3_vehicle_color'] ?? ''); $step3_license_id = sanitizeInput($_POST['step3_license_id'] ?? ''); $step3_driving_experience = sanitizeInput($_POST['step3_driving_experience'] ?? ''); // Validate required fields if (empty($step1_full_name) || empty($step1_father_name) || empty($step1_age) || empty($step1_education) || empty($step1_address) || empty($step1_phone) || empty($step2_email) || empty($step2_confirm_phone) || empty($step2_vehicle_type) || empty($step2_vehicle_name) || empty($step2_vehicle_number) || empty($step2_vehicle_confirm_number) || empty($step3_confirm_name) || empty($step3_vehicle_color) || empty($step3_license_id) || empty($step3_driving_experience)) { $error = 'All fields are required.'; } elseif ($step1_phone !== $step2_confirm_phone) { $error = 'Phone numbers do not match.'; } elseif ($step2_vehicle_number !== $step2_vehicle_confirm_number) { $error = 'Vehicle numbers do not match.'; } else { // Handle file uploads $vehicle_pic1 = ''; $vehicle_pic2 = ''; $vehicle_pic3 = ''; $owner_pic = ''; // Upload vehicle pictures for ($i = 1; $i <= 3; $i++) { if (isset($_FILES['step3_vehicle_picture' . $i]) && $_FILES['step3_vehicle_picture' . $i]['error'] === UPLOAD_ERR_OK) { $file = $_FILES['step3_vehicle_picture' . $i]; if (in_array($file['type'], ALLOWED_IMAGE_TYPES) && $file['size'] <= MAX_FILE_SIZE) { $ext = pathinfo($file['name'], PATHINFO_EXTENSION); $filename = 'vehicle_' . $user_id . '_' . time() . '_' . $i . '.' . $ext; $target = UPLOAD_DIR . 'vehicles/' . $filename; if (move_uploaded_file($file['tmp_name'], $target)) { ${'vehicle_pic' . $i} = $filename; } } } } // Upload owner picture (resize to passport size) if (isset($_FILES['step3_owner_picture']) && $_FILES['step3_owner_picture']['error'] === UPLOAD_ERR_OK) { $file = $_FILES['step3_owner_picture']; if (in_array($file['type'], ALLOWED_IMAGE_TYPES) && $file['size'] <= MAX_FILE_SIZE) { // Always save as JPG for consistency $filename = 'owner_' . $user_id . '_' . time() . '.jpg'; $temp_target = UPLOAD_DIR . 'owners/temp_' . $filename; $target = UPLOAD_DIR . 'owners/' . $filename; // First move uploaded file to temp location if (move_uploaded_file($file['tmp_name'], $temp_target)) { // Resize to passport size (600x600) $resize_success = resizeToPassportSize($temp_target, $target); // Delete temp file if (file_exists($temp_target)) { unlink($temp_target); } if ($resize_success) { $owner_pic = $filename; } } } } // Insert application $step1_full_name = sanitizeSQL($conn, $step1_full_name); $step1_father_name = sanitizeSQL($conn, $step1_father_name); $step1_education = sanitizeSQL($conn, $step1_education); $step1_address = sanitizeSQL($conn, $step1_address); $step1_phone = sanitizeSQL($conn, $step1_phone); $step2_email = sanitizeSQL($conn, $step2_email); $step2_confirm_phone = sanitizeSQL($conn, $step2_confirm_phone); $step2_vehicle_type = sanitizeSQL($conn, $step2_vehicle_type); $step2_vehicle_name = sanitizeSQL($conn, $step2_vehicle_name); $step2_vehicle_number = sanitizeSQL($conn, $step2_vehicle_number); $step2_vehicle_confirm_number = sanitizeSQL($conn, $step2_vehicle_confirm_number); $step3_confirm_name = sanitizeSQL($conn, $step3_confirm_name); $step3_vehicle_color = sanitizeSQL($conn, $step3_vehicle_color); $step3_license_id = sanitizeSQL($conn, $step3_license_id); $step3_driving_experience = sanitizeSQL($conn, $step3_driving_experience); $vehicle_pic1 = sanitizeSQL($conn, $vehicle_pic1); $vehicle_pic2 = sanitizeSQL($conn, $vehicle_pic2); $vehicle_pic3 = sanitizeSQL($conn, $vehicle_pic3); $owner_pic = sanitizeSQL($conn, $owner_pic); // Generate unique 7-digit application code $application_code = generateApplicationCode($conn); $application_code_safe = sanitizeSQL($conn, $application_code); // Double-check user exists before insert $user_verify = $conn->query("SELECT id FROM users WHERE id = $user_id"); if ($user_verify->num_rows == 0) { $error = 'User session invalid. Please login again.'; } else { $sql = "INSERT INTO applications (application_code, user_id, step1_full_name, step1_father_name, step1_age, step1_education, step1_address, step1_phone, step2_email, step2_confirm_phone, step2_vehicle_type, step2_vehicle_name, step2_vehicle_number, step2_vehicle_confirm_number, step3_confirm_name, step3_vehicle_picture1, step3_vehicle_picture2, step3_vehicle_picture3, step3_vehicle_color, step3_license_id, step3_driving_experience, step3_owner_picture) VALUES ('$application_code_safe', $user_id, '$step1_full_name', '$step1_father_name', $step1_age, '$step1_education', '$step1_address', '$step1_phone', '$step2_email', '$step2_confirm_phone', '$step2_vehicle_type', '$step2_vehicle_name', '$step2_vehicle_number', '$step2_vehicle_confirm_number', '$step3_confirm_name', '$vehicle_pic1', '$vehicle_pic2', '$vehicle_pic3', '$step3_vehicle_color', '$step3_license_id', '$step3_driving_experience', '$owner_pic')"; if ($conn->query($sql)) { $application_id = $conn->insert_id; // Get vehicle price $price_result = $conn->query("SELECT price FROM vehicle_pricing WHERE vehicle_type = '$step2_vehicle_type'"); $price = $price_result->num_rows > 0 ? $price_result->fetch_assoc()['price'] : 1000; // Create payment record $conn->query("INSERT INTO payments (user_id, application_id, vehicle_type, amount) VALUES ($user_id, $application_id, '$step2_vehicle_type', $price)"); $success = 'Application submitted successfully! Please proceed to payment.'; redirect('pending_applications.php'); } else { $error = 'Failed to submit application: ' . $conn->error; } } } } // Get vehicle types $vehicle_types = $conn->query("SELECT vehicle_type FROM vehicle_pricing ORDER BY vehicle_type"); include 'header.php'; ?> <div class="main-content"> <div class="container my-5"> <div class="row mb-4"> <div class="col-12"> <h2 class="mb-0 fw-bold text-gov-green"> <i class="bi bi-file-earmark-plus-fill"></i> New Application </h2> <p class="text-muted mt-2">Complete all 4 steps to submit your vehicle verification application</p> </div> </div> <?php if ($error): ?> <div class="alert alert-gov-danger mb-4"> <i class="bi bi-exclamation-triangle-fill"></i> <?php echo $error; ?> </div> <?php endif; ?> <?php if ($success): ?> <div class="alert alert-gov-success mb-4"> <i class="bi bi-check-circle-fill"></i> <?php echo $success; ?> </div> <?php endif; ?> <div class="gov-card"> <div class="gov-card-header"> <i class="bi bi-list-ol"></i> <span>Application Steps</span> </div> <div class="gov-card-body p-4"> <ul class="nav nav-pills nav-justified mb-4" id="stepTabs" role="tablist" style="background: var(--gov-gray); padding: 0.5rem; border-radius: 8px;"> <li class="nav-item" role="presentation"> <button class="nav-link active fw-bold" id="step1-tab" data-bs-toggle="tab" data-bs-target="#step1" type="button"> <i class="bi bi-1-circle"></i> Step 1 </button> </li> <li class="nav-item" role="presentation"> <button class="nav-link fw-bold" id="step2-tab" data-bs-toggle="tab" data-bs-target="#step2" type="button"> <i class="bi bi-2-circle"></i> Step 2 </button> </li> <li class="nav-item" role="presentation"> <button class="nav-link fw-bold" id="step3-tab" data-bs-toggle="tab" data-bs-target="#step3" type="button"> <i class="bi bi-3-circle"></i> Step 3 </button> </li> <li class="nav-item" role="presentation"> <button class="nav-link fw-bold" id="step4-tab" data-bs-toggle="tab" data-bs-target="#step4" type="button"> <i class="bi bi-4-circle"></i> Step 4 </button> </li> </ul> <form method="POST" action="" enctype="multipart/form-data" id="applicationForm"> <div class="tab-content" id="stepTabsContent"> <!-- Step 1 --> <div class="tab-pane fade show active" id="step1" role="tabpanel"> <h4 class="fw-bold mb-4 text-gov-green"> <i class="bi bi-person-fill"></i> Step 1: Personal Information </h4> <div class="row g-3"> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('full_name'); ?> *</label> <input type="text" class="form-control form-control-gov" name="step1_full_name" required placeholder="Enter your full name"> </div> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('father_name'); ?> *</label> <input type="text" class="form-control form-control-gov" name="step1_father_name" required placeholder="Enter father's name"> </div> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('age'); ?> *</label> <input type="number" class="form-control form-control-gov" name="step1_age" required min="18" placeholder="Enter your age"> </div> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('education'); ?> *</label> <input type="text" class="form-control form-control-gov" name="step1_education" required placeholder="Enter your education level"> </div> <div class="col-12"> <label class="form-label-gov"><?php echo t('address'); ?> *</label> <textarea class="form-control form-control-gov" name="step1_address" rows="3" required placeholder="Enter your complete address"></textarea> </div> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('phone'); ?> *</label> <input type="tel" class="form-control form-control-gov" name="step1_phone" required placeholder="Enter phone number"> </div> </div> <div class="mt-4 text-end"> <button type="button" class="btn btn-gov-primary" onclick="nextStep(2)"> <?php echo t('next'); ?> <i class="bi bi-arrow-right"></i> </button> </div> </div> <!-- Step 2 --> <div class="tab-pane fade" id="step2" role="tabpanel"> <h4 class="fw-bold mb-4 text-gov-green"> <i class="bi bi-car-front-fill"></i> Step 2: Contact & Vehicle Details </h4> <div class="row g-3"> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('email'); ?> *</label> <input type="email" class="form-control form-control-gov" name="step2_email" required placeholder="Enter your email address"> </div> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('confirm_phone'); ?> *</label> <input type="tel" class="form-control form-control-gov" name="step2_confirm_phone" required placeholder="Confirm phone number"> </div> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('vehicle_type'); ?> *</label> <select class="form-control form-control-gov" name="step2_vehicle_type" required> <option value="">Select Vehicle Type</option> <?php while ($vt = $vehicle_types->fetch_assoc()): ?> <option value="<?php echo $vt['vehicle_type']; ?>"><?php echo $vt['vehicle_type']; ?></option> <?php endwhile; ?> </select> </div> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('vehicle_name'); ?> *</label> <input type="text" class="form-control form-control-gov" name="step2_vehicle_name" required placeholder="Enter vehicle name/model"> </div> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('vehicle_number'); ?> *</label> <input type="text" class="form-control form-control-gov" name="step2_vehicle_number" required placeholder="Enter vehicle registration number"> </div> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('confirm_vehicle_number'); ?> *</label> <input type="text" class="form-control form-control-gov" name="step2_vehicle_confirm_number" required placeholder="Confirm vehicle number"> </div> </div> <div class="mt-4 d-flex justify-content-between"> <button type="button" class="btn btn-gov-secondary" onclick="prevStep(1)"> <i class="bi bi-arrow-left"></i> <?php echo t('previous'); ?> </button> <button type="button" class="btn btn-gov-primary" onclick="nextStep(3)"> <?php echo t('next'); ?> <i class="bi bi-arrow-right"></i> </button> </div> </div> <!-- Step 3 --> <div class="tab-pane fade" id="step3" role="tabpanel"> <h4 class="fw-bold mb-4 text-gov-green"> <i class="bi bi-file-earmark-image"></i> Step 3: Additional Details & Documents </h4> <div class="row g-3"> <div class="col-md-6"> <label class="form-label-gov">Confirm Your Name *</label> <input type="text" class="form-control form-control-gov" name="step3_confirm_name" required placeholder="Re-enter your full name"> </div> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('vehicle_color'); ?> *</label> <input type="text" class="form-control form-control-gov" name="step3_vehicle_color" required placeholder="Enter vehicle color"> </div> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('license_id'); ?> *</label> <input type="text" class="form-control form-control-gov" name="step3_license_id" required placeholder="Enter driving license ID"> </div> <div class="col-md-6"> <label class="form-label-gov"><?php echo t('driving_experience'); ?> *</label> <input type="text" class="form-control form-control-gov" name="step3_driving_experience" required placeholder="e.g., 5 years"> </div> <div class="col-12"> <label class="form-label-gov"><?php echo t('upload_vehicle_pictures'); ?> *</label> <div class="row g-2"> <div class="col-md-4"> <input type="file" class="form-control form-control-gov" name="step3_vehicle_picture1" accept="image/*" required> <small class="text-muted">Picture 1</small> </div> <div class="col-md-4"> <input type="file" class="form-control form-control-gov" name="step3_vehicle_picture2" accept="image/*" required> <small class="text-muted">Picture 2</small> </div> <div class="col-md-4"> <input type="file" class="form-control form-control-gov" name="step3_vehicle_picture3" accept="image/*" required> <small class="text-muted">Picture 3</small> </div> </div> </div> <div class="col-12"> <label class="form-label-gov"><?php echo t('upload_your_picture'); ?> (Passport Size 2x2 inch) *</label> <input type="file" class="form-control form-control-gov" name="step3_owner_picture" accept="image/*" required> <small class="text-muted d-block mt-1">Photo will be automatically resized to 600x600 pixels (passport size)</small> </div> </div> <div class="mt-4 d-flex justify-content-between"> <button type="button" class="btn btn-gov-secondary" onclick="prevStep(2)"> <i class="bi bi-arrow-left"></i> <?php echo t('previous'); ?> </button> <button type="button" class="btn btn-gov-primary" onclick="nextStep(4)"> <?php echo t('next'); ?> <i class="bi bi-arrow-right"></i> </button> </div> </div> <!-- Step 4 --> <div class="tab-pane fade" id="step4" role="tabpanel"> <h4 class="fw-bold mb-4 text-gov-green"> <i class="bi bi-check-circle-fill"></i> Step 4: Review & Submit </h4> <div class="alert alert-gov-info mb-4"> <i class="bi bi-info-circle-fill"></i> <strong>Please review all your information before submitting.</strong> </div> <div id="reviewData"></div> <input type="hidden" name="step" value="4"> <div class="mt-4 d-flex justify-content-between"> <button type="button" class="btn btn-gov-secondary" onclick="prevStep(3)"> <i class="bi bi-arrow-left"></i> <?php echo t('previous'); ?> </button> <button type="submit" class="btn btn-gov-primary"> <i class="bi bi-check-circle"></i> <?php echo t('confirm_submit'); ?> </button> </div> </div> </div> </form> </div> </div> </div> <script> function nextStep(step) { // Validate current step const currentStep = step - 1; const currentTab = document.querySelector(`#step${currentStep}`); const inputs = currentTab.querySelectorAll('input[required], select[required], textarea[required]'); let valid = true; inputs.forEach(input => { if (!input.value.trim()) { valid = false; input.classList.add('is-invalid'); } else { input.classList.remove('is-invalid'); } }); if (valid) { if (step === 4) { // Show review data showReview(); } const tab = new bootstrap.Tab(document.querySelector(`#step${step}-tab`)); tab.show(); } else { alert('Please fill all required fields.'); } } function prevStep(step) { const tab = new bootstrap.Tab(document.querySelector(`#step${step}-tab`)); tab.show(); } function showReview() { const form = document.getElementById('applicationForm'); const formData = new FormData(form); let html = '<div class="table-responsive"><table class="table table-bordered">'; // Step 1 html += '<tr><th colspan="2" class="bg-primary text-white">Step 1: Personal Information</th></tr>'; html += '<tr><td>Full Name</td><td>' + formData.get('step1_full_name') + '</td></tr>'; html += '<tr><td>Father Name</td><td>' + formData.get('step1_father_name') + '</td></tr>'; html += '<tr><td>Age</td><td>' + formData.get('step1_age') + '</td></tr>'; html += '<tr><td>Education</td><td>' + formData.get('step1_education') + '</td></tr>'; html += '<tr><td>Address</td><td>' + formData.get('step1_address') + '</td></tr>'; html += '<tr><td>Phone</td><td>' + formData.get('step1_phone') + '</td></tr>'; // Step 2 html += '<tr><th colspan="2" class="bg-primary text-white">Step 2: Contact & Vehicle</th></tr>'; html += '<tr><td>Email</td><td>' + formData.get('step2_email') + '</td></tr>'; html += '<tr><td>Confirm Phone</td><td>' + formData.get('step2_confirm_phone') + '</td></tr>'; html += '<tr><td>Vehicle Type</td><td>' + formData.get('step2_vehicle_type') + '</td></tr>'; html += '<tr><td>Vehicle Name</td><td>' + formData.get('step2_vehicle_name') + '</td></tr>'; html += '<tr><td>Vehicle Number</td><td>' + formData.get('step2_vehicle_number') + '</td></tr>'; // Step 3 html += '<tr><th colspan="2" class="bg-primary text-white">Step 3: Additional Details</th></tr>'; html += '<tr><td>Confirm Name</td><td>' + formData.get('step3_confirm_name') + '</td></tr>'; html += '<tr><td>Vehicle Color</td><td>' + formData.get('step3_vehicle_color') + '</td></tr>'; html += '<tr><td>License ID</td><td>' + formData.get('step3_license_id') + '</td></tr>'; html += '<tr><td>Driving Experience</td><td>' + formData.get('step3_driving_experience') + '</td></tr>'; html += '</table></div>'; document.getElementById('reviewData').innerHTML = html; } </script> <?php include 'footer.php'; ?>