├── 1.txt ├── Procfile ├── token.txt ├── 2.txt ├── app.json ├── requirements.txt ├── droplink.py ├── y.py ├── gp.py ├── ex.py ├── bypas.py ├── README.md ├── main.py └── sd.py /1.txt: -------------------------------------------------------------------------------- 1 | http://chuxoast.com/1gok 2 | -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | worker: python main.py 2 | -------------------------------------------------------------------------------- /token.txt: -------------------------------------------------------------------------------- 1 | 5415632965:AAE2zGMrA0lW1rs19z7i8rTtTeobh6j7ALc -------------------------------------------------------------------------------- /2.txt: -------------------------------------------------------------------------------- 1 | {'error': False, 'src_url': 'http://chuxoast.com/1gok', 'bypassed_url': 'http://Facebook.in'} 2 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "buildpacks": [ 3 | { 4 | "url": "heroku/python" 5 | } 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | APScheduler==3.6.3 2 | beautifulsoup4==4.10.0 3 | cachetools==4.2.2 4 | certifi==2021.10.8 5 | charset-normalizer==2.0.12 6 | cloudscraper==1.2.60 7 | idna==3.3 8 | lxml==4.8.0 9 | pyparsing==3.0.7 10 | python-telegram-bot==13.11 11 | pytz==2022.1 12 | pytz-deprecation-shim==0.1.0.post0 13 | requests==2.27.1 14 | requests-toolbelt==0.9.1 15 | six==1.16.0 16 | soupsieve==2.3.1 17 | tornado==6.1 18 | tzdata==2022.1 19 | tzlocal==4.1 20 | urllib3==1.26.9 21 | colorama==0.4.3 22 | -------------------------------------------------------------------------------- /droplink.py: -------------------------------------------------------------------------------- 1 | import re 2 | import time 3 | import requests 4 | from bs4 import BeautifulSoup 5 | from urllib.parse import urlparse 6 | 7 | 8 | 9 | url = open('1.txt', 'r').read() 10 | print("You Have Entered:") 11 | print(url) 12 | print("Checking Link!") 13 | # ============================================== 14 | print("Bypassing Link...") 15 | def droplink_bypass(url): 16 | client = requests.Session() 17 | res = client.get(url) 18 | 19 | ref = re.findall("action[ ]{0,}=[ ]{0,}['|\"](.*?)['|\"]", res.text)[0] 20 | 21 | h = {'referer': ref} 22 | res = client.get(url, headers=h) 23 | 24 | bs4 = BeautifulSoup(res.content, 'lxml') 25 | inputs = bs4.find_all('input') 26 | data = { input.get('name'): input.get('value') for input in inputs } 27 | 28 | h = { 29 | 'content-type': 'application/x-www-form-urlencoded', 30 | 'x-requested-with': 'XMLHttpRequest' 31 | } 32 | p = urlparse(url) 33 | final_url = f'{p.scheme}://{p.netloc}/links/go' 34 | 35 | time.sleep(3.1) 36 | res = client.post(final_url, data=data, headers=h).json() 37 | 38 | return res 39 | 40 | # ============================================== 41 | 42 | print(droplink_bypass(url) ,file=open("2.txt", "w")) 43 | -------------------------------------------------------------------------------- /y.py: -------------------------------------------------------------------------------- 1 | #@Am_Robots **<---FINAL STEP** 2 | import time 3 | import requests 4 | import cloudscraper 5 | from bs4 import BeautifulSoup 6 | from urllib.parse import urlparse 7 | 8 | 9 | url = "https://gplinks.co/j0f4K" 10 | # ============================================== 11 | 12 | def gplinks_bypass(url): 13 | scraper = cloudscraper.create_scraper(allow_brotli=False) 14 | res = scraper.get(url) 15 | 16 | h = { "referer": res.url } 17 | res = scraper.get(url, headers=h) 18 | 19 | bs4 = BeautifulSoup(res.content, 'lxml') 20 | inputs = bs4.find_all('input') 21 | data = { input.get('name'): input.get('value') for input in inputs } 22 | 23 | h = { 24 | 'content-type': 'application/x-www-form-urlencoded', 25 | 'x-requested-with': 'XMLHttpRequest' 26 | } 27 | 28 | time.sleep(5) # !important 29 | 30 | p = urlparse(url) 31 | final_url = f'{p.scheme}://{p.netloc}/links/go' 32 | res = scraper.post(final_url, data=data, headers=h).json() 33 | 34 | return res 35 | 36 | # ============================================== 37 | 38 | print(gplinks_bypass(url)) 39 | 40 | # ============================================== 41 | 42 | f''' 43 | SAMPLE OUTPUT: 44 | { 45 | 'Status': 'Bypassed', 46 | 'Info': 'XXXXXX', 47 | 'Bypassed URL': 'XXXX' (Bypassed URL) 48 | } 49 | ''' 50 | -------------------------------------------------------------------------------- /gp.py: -------------------------------------------------------------------------------- 1 | print("Setting Up!") 2 | print("Performing Check...") 3 | import time 4 | import requests 5 | import cloudscraper 6 | from bs4 import BeautifulSoup 7 | from urllib.parse import urlparse 8 | print("Everything Looks Good! Lets Continue.") 9 | 10 | 11 | url = open('1.txt', 'r').read() 12 | print("Entered Link:") 13 | print(url) 14 | print("Checking Link...") 15 | print("Checking Done!") 16 | # ============================================== 17 | print("Bypassing the Link...") 18 | def gplinks_bypass(url): 19 | scraper = cloudscraper.create_scraper(allow_brotli=False) 20 | res = scraper.get(url) 21 | 22 | h = { "referer": res.url } 23 | res = scraper.get(url, headers=h) 24 | 25 | bs4 = BeautifulSoup(res.content, 'lxml') 26 | inputs = bs4.find_all('input') 27 | data = { input.get('name'): input.get('value') for input in inputs } 28 | 29 | h = { 30 | 'content-type': 'application/x-www-form-urlencoded', 31 | 'x-requested-with': 'XMLHttpRequest' 32 | } 33 | 34 | time.sleep(10) # !important 35 | 36 | p = urlparse(url) 37 | final_url = f'{p.scheme}://{p.netloc}/links/go' 38 | res = scraper.post(final_url, data=data, headers=h).json() 39 | 40 | return res 41 | 42 | # ============================================== 43 | 44 | print(gplinks_bypass(url) ,file=open("2.txt", "w")) 45 | print("Confirming Link...") 46 | print("Successfully Bypassed!") 47 | -------------------------------------------------------------------------------- /ex.py: -------------------------------------------------------------------------------- 1 | import os 2 | from colorama import Fore, init 3 | from requests import post 4 | 5 | init(convert=True) 6 | 7 | os.system('cls && title AIO BYPASS' if os.name == 'nt' else 'clear') 8 | 9 | ascii = """ 10 | $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$$\ $$\ $$\ $$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ 11 | $$ __$$\ \_$$ _|$$ __$$\ $$ __$$\\$$\ $$ |$$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ 12 | $$ / $$ | $$ | $$ / $$ | $$ | $$ |\$$\ $$ / $$ | $$ |$$ / $$ |$$ / \__|$$ / \__| 13 | $$$$$$$$ | $$ | $$ | $$ | $$$$$$$\ | \$$$$ / $$$$$$$ |$$$$$$$$ |\$$$$$$\ \$$$$$$\ 14 | $$ __$$ | $$ | $$ | $$ | $$ __$$\ \$$ / $$ ____/ $$ __$$ | \____$$\ \____$$\ 15 | $$ | $$ | $$ | $$ | $$ | $$ | $$ | $$ | $$ | $$ | $$ |$$\ $$ |$$\ $$ | 16 | $$ | $$ |$$$$$$\ $$$$$$ | $$$$$$$ | $$ | $$ | $$ | $$ |\$$$$$$ |\$$$$$$ | 17 | \__| \__|\______| \______/ \_______/ \__| \__| \__| \__| \______/ \______/ 18 | """ 19 | 20 | def bp(link): 21 | data = { 22 | "url": link, 23 | } 24 | 25 | r = post("https://api.bypass.vip/", data=data) 26 | return r.json() 27 | 28 | print(ascii.replace('$', Fore.RED+"$"+Fore.RESET)) 29 | print("") 30 | link = open('1.txt', 'r').read() 31 | b = bp(link) 32 | 33 | if b['success'] == True: 34 | print(f"[{Fore.GREEN}+{Fore.RESET}] Website Found: {Fore.BLUE}{b['website']}{Fore.RESET}") 35 | print(f"{b['destination']}" ,file=open("2.txt", "w")) 36 | print(f"[{Fore.GREEN}+{Fore.RESET}] Bypassed In: {Fore.BLUE}{b['time_ms']}ms{Fore.RESET}") 37 | else: 38 | print(f"[{Fore.RED}-{Fore.RESET}] An error has occured or this link is invalid !" ,file=open("2.txt", "w")) 39 | -------------------------------------------------------------------------------- /bypas.py: -------------------------------------------------------------------------------- 1 | 2 | import re 3 | import requests 4 | from base64 import b64decode 5 | from urllib.parse import unquote 6 | 7 | # ========================================== 8 | URL = open('1.txt', 'r').read() 9 | print("You Have Entered:") 10 | print(URL) 11 | print("Checking Link...") 12 | ''' 13 | 404: Complete exception handling not found :( 14 | ''' 15 | print("Bypassing Link...") 16 | # ========================================== 17 | 18 | def decrypt_url(code): 19 | a, b = '', '' 20 | for i in range(0, len(code)): 21 | if i % 2 == 0: a += code[i] 22 | else: b = code[i] + b 23 | 24 | key = list(a + b) 25 | i = 0 26 | 27 | while i < len(key): 28 | if key[i].isdigit(): 29 | for j in range(i+1,len(key)): 30 | if key[j].isdigit(): 31 | u = int(key[i]) ^ int(key[j]) 32 | if u < 10: key[i] = str(u) 33 | i = j 34 | break 35 | i+=1 36 | 37 | key = ''.join(key) 38 | decrypted = b64decode(key)[16:-16] 39 | 40 | return decrypted.decode('utf-8') 41 | 42 | # ========================================== 43 | 44 | def adfly_bypass(url): 45 | res = requests.get(url).text 46 | 47 | out = {'error': False, 'src_url': url} 48 | 49 | try: 50 | ysmm = re.findall("ysmm\s+=\s+['|\"](.*?)['|\"]", res)[0] 51 | except: 52 | out['error'] = True 53 | return out 54 | 55 | url = decrypt_url(ysmm) 56 | 57 | if re.search(r'go\.php\?u\=', url): 58 | url = b64decode(re.sub(r'(.*?)u=', '', url)).decode() 59 | elif '&dest=' in url: 60 | url = unquote(re.sub(r'(.*?)dest=', '', url)) 61 | 62 | out['bypassed_url'] = url 63 | 64 | return out 65 | 66 | # ========================================== 67 | 68 | out = adfly_bypass(URL) 69 | print(out ,file=open("2.txt", "w")) 70 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # This telegram bot can bypass stinky and irritating url shortner with in a sec or two 2 | 3 | 4 | ## contributers 5 | - (deku/anyway/animewala) - telegram bot creator or convertor 6 | - TheCaduceus - bypass bots repo supplier 7 | - yuuki - gplink and droplink bypass bot creator 8 | 9 | 10 | 11 | 12 | 13 | ## Supported Links 14 | - adf.ly link 15 | - droplink.co link 16 | - gplink stinky url 17 | - AppDrive or DriveApp links (login required wont work for now) 18 | - linkvertise.com 19 | - exe.io/exey.io 20 | - sub2unlock.net/sub2unlock.com 21 | - rekonise.com 22 | - letsboost.net 23 | - ph.apps2app.com 24 | - mboost.me 25 | - shortconnect.com 26 | - sub4unlock.com 27 | - ytsubme.com 28 | - bit.ly 29 | - social-unlock.com 30 | - boost.ink 31 | - goo.gl 32 | - shrto.ml 33 | - t.co 34 | - tinyurl.com 35 | 36 | # bot father commands list 37 | ```javascript 38 | start - Welcome Message 39 | help - all command list 40 | adf - bypass adf.ly link 41 | droplink - bypass droplink.co link 42 | sd - AppDrive or DriveApp links (login required wont work ) 43 | lv - linkvertise link bypass 44 | ex - other supported link bypass 45 | ``` 46 | 47 | # Intial Deploy to heroku 48 | Intially I was not able to push a simple bot to heroku, but yeah googling a lot made it work! 49 | 50 | ## Very Initial Steps if you wanna host in your vps or local machine[NOOB Steps] 51 | 52 | 1. Install Telegram :) 53 | 2. Create a telegram bot by talking to [Bot Father] 54 | 3. Install python in your computer, if you are on windows 55 | 4. Download my repo or clone it using git clone 56 | 5. Edit TOKEN.txt and add your bot token 57 | 6. For linux edit main.py and replace python with python3 58 | 7. open cmd or terminal from that folder 59 | 8. for windows or (for Linux) 60 | 61 | ```bash 62 | run python main.py 63 | ``` 64 | for Linux 65 | ```bash 66 | run python3 main.py 67 | ``` 68 | 69 | ### (Deploying to Heroku) 70 | - fork this repo and edit TOKEN.txt and fill your bot token 71 | - use the link below and deploy it 72 | 73 | [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/AM-ROBOTS/BYPASS-BOT) 74 | 75 | - dont forget to enable worker in resources tab 76 | - done 77 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | import telegram.ext 2 | import os 3 | 4 | with open('token.txt', 'r') as f: 5 | TOKEN = f.read() 6 | 7 | def start(update, context): 8 | update.message.reply_text("Hello Bro.\nI am Bypass Bot. Made with Love By \nAnurag's Bot👉 @AM_ROBOTS @sources_cods") 9 | 10 | def help(update, context): 11 | update.message.reply_text(""" 12 | the following commands are available 13 | /start -> Welcome Message 14 | 15 | /help -> all helpful command list 16 | 17 | /adf -> bypass adf.ly link 18 | 19 | /lv -> linkvertise link bypass 20 | 21 | /sd -> AppDrive or DriveApp links (login required wont work for now) 22 | 23 | /ex -> use this command for these services 24 | linkvertise.com 25 | rekonise.com 26 | letsboost.net 27 | mboost.me 28 | bit.ly 29 | boost.ink 30 | goo.gl 31 | shrto.ml 32 | t.co 33 | 34 | usage - commands{} link{https://...} (example -->/adf https://adf.ly/xyz) 35 | """) 36 | 37 | def adf(update, context): 38 | zipk = context.args[0] 39 | open('1.txt','w').write(zipk) 40 | update.message.reply_text(f"Bypassing The Link") 41 | os.system('python bypas.py') 42 | zkm = open('2.txt', 'r').read() 43 | update.message.reply_text(f"Link Bypassed") 44 | update.message.reply_text(f"{zkm}") 45 | def ex(update, context): 46 | zipk = context.args[0] 47 | open('1.txt','w').write(zipk) 48 | update.message.reply_text(f"Bypassing The Link") 49 | os.system('python ex.py') 50 | zkm = open('2.txt', 'r').read() 51 | update.message.reply_text(f"{zkm}") 52 | 53 | def gp(update, context): 54 | zipk = context.args[0] 55 | open('1.txt','w').write(zipk) 56 | update.message.reply_text(f"Bypassing The Link") 57 | os.system('python gp.py') 58 | update.message.reply_text(f"Link Bypassed") 59 | zkm = open('2.txt', 'r').read() 60 | update.message.reply_text(f"{zkm}") 61 | 62 | def droplink(update, context): 63 | zipk = context.args[0] 64 | open('1.txt','w').write(zipk) 65 | update.message.reply_text(f"Bypassing The Link") 66 | os.system('python droplink.py') 67 | zkm = open('2.txt', 'r').read() 68 | update.message.reply_text(f"{zkm}") 69 | 70 | def sd(update, context): 71 | zipk = context.args[0] 72 | open('1.txt','w').write(zipk) 73 | update.message.reply_text(f"Bypassing The Link") 74 | os.system('python sd.py') 75 | zkm = open('2.txt', 'r').read() 76 | update.message.reply_text(f"{zkm}") 77 | 78 | def lv(update, context): 79 | zipk = context.args[0] 80 | open('1.txt','w').write(zipk) 81 | update.message.reply_text(f"Bypassing The Link") 82 | os.system('python ex.py') 83 | zkm = open('2.txt', 'r').read() 84 | update.message.reply_text(f"{zkm}") 85 | 86 | updater = telegram.ext.Updater(TOKEN, use_context=True) 87 | disp = updater.dispatcher 88 | disp.add_handler(telegram.ext.CommandHandler("start", start)) 89 | disp.add_handler(telegram.ext.CommandHandler("help", help)) 90 | disp.add_handler(telegram.ext.CommandHandler("adf", adf)) 91 | disp.add_handler(telegram.ext.CommandHandler("droplink", droplink)) 92 | disp.add_handler(telegram.ext.CommandHandler("sd", sd)) 93 | disp.add_handler(telegram.ext.CommandHandler("lv", lv)) 94 | disp.add_handler(telegram.ext.CommandHandler("gp", gp)) 95 | disp.add_handler(telegram.ext.CommandHandler("ex", ex)) 96 | updater.start_polling() 97 | updater.idle() 98 | -------------------------------------------------------------------------------- /sd.py: -------------------------------------------------------------------------------- 1 | 2 | import re 3 | import requests 4 | from lxml import etree 5 | from urllib.parse import urlparse 6 | 7 | 8 | url = open('1.txt', 'r').read() 9 | email = "OPTIONAL" 10 | passwd = "OPTIONAL" 11 | print("You have Entered:") 12 | print("Link:") 13 | print(url) 14 | print("Email:") 15 | print(email) 16 | print("Password:") 17 | print(passwd) 18 | # Destination config ---- 19 | SHARED_DRIVE_ID = '' # team drive ID (optional) (for MyDrive, keep this field empty) 20 | FOLDER_ID = '' # drive folder ID (optional) 21 | 22 | ''' 23 | NOTE: 24 | - Auto-detection for non-login urls, and indicated via 'link_type' (direct/login) in output. 25 | SUPPORTED DOMAINS: 26 | - appdrive.in 27 | - driveapp.in 28 | 29 | ''' 30 | print("Bypassing Link...") 31 | # =================================================================== 32 | 33 | def account_login(client, url, email, password): 34 | data = { 35 | 'email': email, 36 | 'password': password 37 | } 38 | client.post(f'https://{urlparse(url).netloc}/login', data=data) 39 | 40 | def update_account(client, url, shared_drive_id, folder_id): 41 | data = { 42 | 'root_drive': shared_drive_id, 43 | 'folder': folder_id 44 | } 45 | client.post(f'https://{urlparse(url).netloc}/account', data=data) 46 | 47 | def gen_payload(data, boundary=f'{"-"*6}_'): 48 | data_string = '' 49 | for item in data: 50 | data_string += f'{boundary}\r\n' 51 | data_string += f'Content-Disposition: form-data; name="{item}"\r\n\r\n{data[item]}\r\n' 52 | data_string += f'{boundary}--\r\n' 53 | return data_string 54 | 55 | def parse_info(data): 56 | info = re.findall('>(.*?)<\/li>', data) 57 | info_parsed = {} 58 | for item in info: 59 | kv = [s.strip() for s in item.split(':', maxsplit = 1)] 60 | info_parsed[kv[0].lower()] = kv[1] 61 | return info_parsed 62 | 63 | # =================================================================== 64 | 65 | def appdrive_dl(url): 66 | client = requests.Session() 67 | client.headers.update({ 68 | "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" 69 | }) 70 | 71 | account_login(client, url, account['email'], account['passwd']) 72 | update_account(client, url, SHARED_DRIVE_ID, FOLDER_ID) 73 | 74 | res = client.get(url) 75 | key = re.findall('"key",\s+"(.*?)"', res.text)[0] 76 | 77 | ddl_btn = etree.HTML(res.content).xpath("//button[@id='drc']") 78 | 79 | info_parsed = parse_info(res.text) 80 | info_parsed['error'] = False 81 | info_parsed['link_type'] = 'login' # direct/login 82 | 83 | headers = { 84 | "Content-Type": f"multipart/form-data; boundary={'-'*4}_", 85 | } 86 | 87 | data = { 88 | 'type': 1, 89 | 'key': key, 90 | 'action': 'original' 91 | } 92 | 93 | if len(ddl_btn): 94 | info_parsed['link_type'] = 'direct' 95 | data['action'] = 'direct' 96 | 97 | while data['type'] <= 3: 98 | try: 99 | response = client.post(url, data=gen_payload(data), headers=headers).json() 100 | break 101 | except: data['type'] += 1 102 | 103 | if 'url' in response: 104 | info_parsed['gdrive_link'] = response['url'] 105 | elif 'error' in response and response['error']: 106 | info_parsed['error'] = True 107 | info_parsed['error_message'] = response['message'] 108 | else: 109 | info_parsed['error'] = True 110 | info_parsed['error_message'] = 'Something went wrong :(' 111 | 112 | if info_parsed['error']: return info_parsed 113 | 114 | if urlparse(url).netloc == 'driveapp.in' and not info_parsed['error']: 115 | res = client.get(info_parsed['gdrive_link']) 116 | drive_link = etree.HTML(res.content).xpath("//a[contains(@class,'btn')]/@href")[0] 117 | info_parsed['gdrive_link'] = drive_link 118 | 119 | info_parsed['src_url'] = url 120 | 121 | return info_parsed 122 | 123 | # =================================================================== 124 | 125 | print(appdrive_dl(url) ,file=open("2.txt", "w")) 126 | --------------------------------------------------------------------------------