-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlinkvertise_bypasser.py
64 lines (54 loc) · 2.43 KB
/
linkvertise_bypasser.py
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
60
61
62
63
64
import requests
from os import system
import os
import pyperclip
def clear_screen():
system("cls || clear")
def set_title(title):
system(f"title {title}" if os.name == "nt" else f"PS1='\\[\\e]0;{title}\\a\\]'; clear")
def blue(text):
return "".join(f"\033[38;2;{30 + i * 3};{144 + i * 3};{255}m{c}" for i, c in enumerate(text))
def yellow(text):
return "".join(f"\033[38;2;{255 - i * 3};{255 - i * 3};{102 + i * 2}m{c}" for i, c in enumerate(text))
def red(text):
return "".join(f"\033[38;2;255;{100 + i * 3};{100 + i * 3}m{c}\033[0m" for i, c in enumerate(text))
uwu1 = []
def uwu2(link):
global uwu1
if link in uwu1:
print(yellow("\n[+] This link has already been bypassed! [+]\n"))
return link
headers = {
"origin": "https://thebypasser.com",
"referer": "https://thebypasser.com/"
}
try:
response = requests.get(f"https://api.toksaver.com/bypass/{link}", headers=headers)
destination_link = response.json()["link"]
pyperclip.copy(destination_link)
uwu1.append(link)
print(yellow("\n[+] Link copied to clipboard! [+]\n"))
return destination_link
except:
return None
if __name__ == "__main__":
clear_screen()
set_title("Linkvertise Bypasser - Successful: 0 - Failed: 0")
print(blue("╔══════════════════════════════════════════════════════════╗"))
print(blue("║ Welcome to Linkvertise Bypasser ║"))
print(blue("╚══════════════════════════════════════════════════════════╝"))
successful_links = 0
failed_links = 0
while True:
linkvertise_link = input(blue("\n[>] Please enter a Linkvertise link: "))
destination_link = uwu2(linkvertise_link)
if destination_link:
successful_links += 1
print(yellow(f"\n[>] Destination link: {destination_link}\n"))
else:
failed_links += 1
print(red("\n[!] An unexpected error occurred\n"))
set_title(f"Linkvertise Bypasser - Successful: {successful_links} - Failed: {failed_links}")
choice = input(blue("[>] Press Enter to bypass another link or Q to quit: "))
if choice.lower() == "q":
break