100% found this document useful (2 votes)
6K views3 pages

Delta Executor Bypass API Guide

This document contains a Python Flask application that handles security checks for a service using a specific URL format. It includes functions to convert time, send notifications to a Discord webhook, and manage captcha resolution. The main API endpoint '/api/delta' processes requests by extracting an 'id' from the URL and performing authentication checks, returning success or error messages accordingly.

Uploaded by

yoifiya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
6K views3 pages

Delta Executor Bypass API Guide

This document contains a Python Flask application that handles security checks for a service using a specific URL format. It includes functions to convert time, send notifications to a Discord webhook, and manage captcha resolution. The main API endpoint '/api/delta' processes requests by extracting an 'id' from the URL and performing authentication checks, returning success or error messages accordingly.

Uploaded by

yoifiya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

import time

import requests
import json
import os
from [Link] import urlparse, parse_qs
import base64
from flask import Flask, request, jsonify

i = 0
platoboost = "[Link]
discord_webhook_url = "" # enter your webhook if security check detected

app = Flask(__name__)

def time_convert(n):
hours = n // 60
minutes = n % 60
return f"{hours} Hours {minutes} Minutes"

def send_discord_webhook(link):
payload = {
"embeds": [{
"title": "Security Check!",
"description": f"**Please solve the Captcha**: [Open]({link})",
"color": 5763719
}]
}

try:
response = [Link](discord_webhook_url, json=payload)
response.raise_for_status()
except [Link] as error:
print(f"\033[31m ERROR \033[0m Error: {error}")

def sleep(ms):
[Link](ms / 1000)

def get_turnstile_response():
[Link](1)
return "turnstile-response"

def delta(url):
start_time = [Link]()
try:
parsed_url = urlparse(url)
query_params = parse_qs(parsed_url.query)
id = query_params.get('id', [None])[0]

if not id:
raise ValueError("Invalid URL: 'id' parameter is missing")

response =
[Link](f"[Link]
response.raise_for_status()
already_pass = [Link]()

if 'key' in already_pass:
time_left = time_convert(already_pass['minutesLeft'])
print(f"\033[32m INFO \033[0m Time left: \033[32m{time_left}\033[0m -
KEY: \033[32m{already_pass['key']}\033[0m")
return {
"status": "success",
"key": already_pass['key'],
"time_left": time_left
}

captcha = already_pass.get('captcha')

if captcha:
print("\033[32m INFO \033[0m hCaptcha detected! Trying to resolve...")
# If captcha exists, make sure to solve it before continuing
response = [Link](
f"[Link]
json={
"captcha": get_turnstile_response(),
"type": "Turnstile"
}
)
else:
# if no captcha, continue without it
response = [Link](
f"[Link]
json={}
)

if response.status_code != 200:
security_check_link = f"{platoboost}{id}"
send_discord_webhook(security_check_link)
raise Exception("Security Check, Notified on Discord!")

loot_link = [Link]()
sleep(1000)
decoded_lootlink = [Link](loot_link['redirect'])
parsed_loot_url = urlparse(decoded_lootlink)
r_param = parse_qs(parsed_loot_url.query)['r'][0]
decoded_base64 = base64.b64decode(r_param).decode('utf-8')
tk = parse_qs(urlparse(decoded_base64).query)['tk'][0]
sleep(5000)

response =
[Link](f"[Link]
response.raise_for_status()

response_plato =
[Link](f"[Link]
pass_info = response_plato.json()

if 'key' in pass_info:
time_left = time_convert(pass_info['minutesLeft'])
execution_time = [Link]() - start_time
print(f"\033[32m INFO \033[0m Time left: \033[32m{time_left}\033[0m -
KEY: \033[32m{pass_info['key']}\033[0m")
return {
"status": "success",
"key": pass_info['key'],

"time taken": f"{execution_time:.2f} seconds"


}
except Exception as error:
print(f"\033[31m ERROR \033[0m Error: {error}")
execution_time = [Link]() - start_time
return {
"status": "error",
"error": "please solve the hcaptcha nigga",
"time taken": f"{execution_time:.2f} seconds"
}

@[Link]('/api/delta', methods=['GET'])
def deltax():
url = [Link]('url')
if not url:
return jsonify({"error": "Missing 'url' parameter"}), 400

result = delta(url)
return jsonify(result)
if __name__ == "__main__":
[Link](host='[Link]', port=8080)

You might also like