lockstar.tech Open in urlscan Pro
172.67.190.110  Public Scan

URL: https://lockstar.tech/
Submission: On August 25 via api from US — Scanned from CH

Form analysis 0 forms found in the DOM

Text Content

WELCOME TO THE LOCK STAR API V1.0 DOCUMENTATION AND SUPPORT PAGE!


API OVERVIEW

Our API provides timed protection for your websites. With the API, you can:

 * Verify unique access codes and domains.
 * Manage and track visitors' timed access rights.
 * Prevents instant bypass through the time-guaranteed protection mechanism.
 * Prevents the simultaneous execution of short referral processes within the
   browser.
 * Imposes a time-guaranteed penalty on users involved in any form of
   manipulation, making the site inaccessible during this time.
 * Prevents the simultaneous use of multiple browsers for parallel processes
   within the website.
 * The time-guaranteed protection provides a 100% guarantee, especially when
   using bid ads, thus minimizing losses to zero while maximizing profit.


INSTALLATION AND USAGE


REGISTRATION AND SETUP

 1. Register for our API service and obtain your unique access code.
 2. Configure the protect.php file on your server with the appropriate
    variables.


API CALLS

Use the API calls to verify the access code and domain, and manage the status of
visitors.


<?php
$api_url = "https://lockstar.tech/API-domain.php";
$access_code = "2378fc3a99";
$domain = "YOUR_DOMAIN_NAME";

$user_ip = $_SERVER['REMOTE_ADDR'];

$post_data = http_build_query([
    'access_code' => $access_code,
    'domain' => $domain,
    'ip_address' => $user_ip,
    'ad_blocker' => isset($_POST['ad_blocker']) ? 'true' : 'false'
]);

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $api_url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'Content-Type: application/x-www-form-urlencoded',
    'Content-Length: ' . strlen($post_data)
]);

$response = curl_exec($ch);

if (curl_errno($ch)) {
    $error_msg = curl_error($ch);
    curl_close($ch);
    die("CURL error occurred: $error_msg");
}

$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

if ($http_code !== 200) {
    error_log("HTTP status code: $http_code");
    error_log("Response: $response");
    die("Error occurred during API request. HTTP status code: $http_code");
}

$response_data = json_decode($response, true);

if ($response_data['status'] === 'penalty') {
    header("Location: " . $response_data['redirect']);
    exit();
}

$timeout_duration = isset($response_data['timeout_duration']) ? $response_data['timeout_duration'] : 25;
$formatted_valid_until = isset($response_data['valid_until']) ? date("Y-m-d H:i:s", strtotime($response_data['valid_until'])) : '';
?>

                


RESPONSE AND FEEDBACK

Handle responses and potential errors based on the documented status codes and
messages.


COMMON ERRORS AND SOLUTIONS

 * 405 Method Not Allowed: Only POST requests are allowed by the API.
 * 400 Bad Request: Check for missing or incorrect parameters.
 * 500 Internal Server Error: Manage database issues or other internal errors.


SUPPORT AND CONTACT

 * Email: support@lockstar.tech
 * Phone: Soon...
 * Telegram: Tech Support Group SOON..


FREQUENTLY ASKED QUESTIONS (FAQ)

 * Why am I getting an "Ad blocker detected" message?
   
   The API detects if visitors are using ad blockers and handles this by
   blocking access.

 * Why am I getting a "Penalty" message?
   
   Visitors may receive a penalty if they exceed the allowed time limit or
   violate other rules.


VERSION AND UPDATES

The current version of the API is v1.0. Information on updates and changes can
be found here.

ADMIN contact us on Telegram