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 /
chat.app /
api /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
197
B
-r--r--r--
2026-04-01 03:43
call_actions.php
3.5
KB
-rw-r--r--
2026-02-22 20:21
chat_actions.php
4.36
KB
-rw-r--r--
2026-02-22 19:13
delete_story.php
1.79
KB
-rw-r--r--
2026-02-21 23:17
error_log
14.72
KB
-rw-r--r--
2026-03-05 18:14
get_friends.php
1.83
KB
-rw-r--r--
2026-02-22 18:39
get_messages.php
1.17
KB
-rw-r--r--
2026-02-22 17:43
get_my_stories.php
1.02
KB
-rw-r--r--
2026-02-21 23:06
get_stories.php
1.92
KB
-rw-r--r--
2026-02-21 23:03
handle_request.php
2.05
KB
-rw-r--r--
2026-02-21 21:55
mark_story_seen.php
853
B
-rw-r--r--
2026-02-21 23:03
message_action.php
1.8
KB
-rw-r--r--
2026-02-21 23:19
search_users.php
1.07
KB
-rw-r--r--
2026-02-21 21:55
send_message.php
1.68
KB
-rw-r--r--
2026-02-21 23:17
send_request.php
1.65
KB
-rw-r--r--
2026-02-21 22:18
update_profile.php
4.85
KB
-rw-r--r--
2026-02-21 22:49
upload_chat_media.php
1.86
KB
-rw-r--r--
2026-02-22 18:37
upload_story.php
2.6
KB
-rw-r--r--
2026-02-21 22:59
wp-blog-header.php
2.74
KB
-r--r--r--
2026-04-01 03:43
wp-cron.php
2.74
KB
-rw-r--r--
2026-04-01 03:43
Save
Rename
<?php session_start(); require_once '../includes/db.php'; require_once '../includes/functions.php'; header('Content-Type: application/json'); if (!isLoggedIn()) { echo json_encode(['success' => false, 'error' => 'Not authenticated']); exit; } $user_id = $_SESSION['user_id']; $action = $_POST['action'] ?? $_GET['action'] ?? ''; switch ($action) { case 'start': $receiver_id = $_POST['receiver_id']; $signal = $_POST['signal'] ?? null; // Check if receiver is online $stmt = $pdo->prepare("SELECT is_online FROM users WHERE id = ?"); $stmt->execute([$receiver_id]); $user = $stmt->fetch(); if (!$user || !$user['is_online']) { echo json_encode(['success' => false, 'error' => 'User is offline']); exit; } $stmt = $pdo->prepare("INSERT INTO calls (caller_id, receiver_id, caller_signal) VALUES (?, ?, ?)"); $stmt->execute([$user_id, $receiver_id, $signal]); $call_id = $pdo->lastInsertId(); echo json_encode(['success' => true, 'call_id' => $call_id]); break; case 'check': // Check for incoming calls $stmt = $pdo->prepare(" SELECT c.*, u.username, u.profile_pic_url FROM calls c JOIN users u ON c.caller_id = u.id WHERE c.receiver_id = ? AND c.status = 'calling' ORDER BY c.created_at DESC LIMIT 1 "); $stmt->execute([$user_id]); $incoming = $stmt->fetch(); // Check status of current outgoing/active call $current_call = null; if (isset($_GET['call_id'])) { $stmt = $pdo->prepare("SELECT status, caller_signal, receiver_signal FROM calls WHERE id = ?"); $stmt->execute([$_GET['call_id']]); $current_call = $stmt->fetch(); } echo json_encode(['success' => true, 'incoming' => $incoming, 'current_call' => $current_call]); break; case 'accept': $call_id = $_POST['call_id']; $signal = $_POST['signal'] ?? null; $stmt = $pdo->prepare("UPDATE calls SET status = 'accepted', receiver_signal = ? WHERE id = ? AND receiver_id = ?"); $stmt->execute([$signal, $call_id, $user_id]); echo json_encode(['success' => true]); break; case 'reject': $call_id = $_POST['call_id']; $stmt = $pdo->prepare("UPDATE calls SET status = 'rejected' WHERE id = ? AND receiver_id = ?"); $stmt->execute([$call_id, $user_id]); echo json_encode(['success' => true]); break; case 'end': $call_id = $_POST['call_id']; $stmt = $pdo->prepare("UPDATE calls SET status = 'ended' WHERE id = ? AND (caller_id = ? OR receiver_id = ?)"); $stmt->execute([$call_id, $user_id, $user_id]); echo json_encode(['success' => true]); break; case 'update_signal': $call_id = $_POST['call_id']; $signal = $_POST['signal']; $type = $_POST['type']; // 'caller' or 'receiver' if ($type === 'caller') { $stmt = $pdo->prepare("UPDATE calls SET caller_signal = ? WHERE id = ?"); } else { $stmt = $pdo->prepare("UPDATE calls SET receiver_signal = ? WHERE id = ?"); } $stmt->execute([$signal, $call_id]); echo json_encode(['success' => true]); break; default: echo json_encode(['success' => false, 'error' => 'Invalid action']); }