Paste the following code there.
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
async function handleRequest(request) {
const url = new URL(request.url) if (url.hostname in ORIGINS) {
const target = ORIGINS[url.hostname]
url.hostname = target
return fetch(url.toString(), request)
} return fetch(request) } addEventListener('fetch', event => { event.respondWith(handleRequest(event.request)) })
const ORIGINS = { '1337x.subdomain.workers.dev': '1337x.to' }
**Replace** 1337x with whatever you named your new worker. **Replace** [1337x.to](http://1337x.to) with the website you want to be proxied. **Don't** enter <https://1337x.to/> **Only** [1337x.to](http://1337x.to)
BOOM you can access your proxied website at 1337x.subdomain.workers.dev
Enjoy and cheers!
__ Not all websites can be proxied. Either because the websites don't want to be proxied or because can't be proxied through cloudflare workers or because cloudflare itself doesn't support them.
Leaving some sample workers. Feel free to use them.
https://1337x.unban.workers.dev
https://scrolller.unban.workers.dev
Ever wanted to lock and hide your windows files and folders behind a password? The windows hide option is just not secure enough? Worry not!
A big thanks to discord user sudo #1469 for this!
Download the FolderLocker.BAT file from the links above.
Edit the BAT file in a text editor and replace where it says Your-Password-Here with your own password. Ctrl + S.
Double click the .bat file and it will create a folder named Locker.
Add any files and/or folders to this Locker folder.
Double click the .BAT file again and enter your password to lock the folder.
The folder will disappear.
In order to access the folder again, double click the FolderLocker.BAT file.
* It will ask for the password that you previously set.
* Input the password and press enter.
* You will gain access to your locked folder!
To lock the folder again, double click on the .BAT file again.
iOS 14+
Visit AhaDNS Blitz using Safari.
Tick all the options you want.
After selecting the options click on Download Apple mobileconfig button.
Click allow when the pop up appears.
Go to Settings > General > VPN, DNS & Device Management.
Click on Downloaded Profile.
Click on AhaDNS Blitz.
Click on Install.
Enter passcode if you have.
Click Next.
Click Install.
Click Install when the popup appears.
Enjoy System wide ad blocking on iOS!
Android
Visit AhaDNS Blitz using any browser.
Tick all the options you want.
After selecting the options click on Copy URL button.
* Or you can use our URL https://blitz.ahadns.com/1:1.4.7.8.17
Download Nebulo DNS app.
Open app.
Select DNS over HTTPS.
Click on server button.
Click on add server.
Enter the copied URL from bullet point 3 of this guide.
Disable battery optimization for Nebulo app in Android settings.
Make sure to enable always on for Nebulo in Android VPN settings.
Enjoy System wide ad blocking on Android!
MAC OS
The steps for Mac OS are similar to iOS.
Press “Allow” if asked to allow download of mobileconfig file above.
Double-click the downloaded mobileconfig file.
You should now get a pop-up telling you to review the profile in System Preferences.
Go to System Preferences → Profiles.
Enable the downloaded profile.
Done! You’re now using encrypted DNS over HTTPS in all your networks.
JAILED PERMASIGNED APP INSTALLER iOS 14 - 15.4.1
An app has been released which allows you to install or sideload unlimited IPA's and the best thing is they will never expire unlike with AltStore and Sideloadly.
Install Trollinstaller via services like AltStore, Sideloadly, etc.
Open Trollinstaller, click on “Install” Button & wait for it to be finished.
If your phone reboots here, go back to previous step.
An alert should pop up when TrollStore installed successfully, click close and the app should exit.
If TrollStore is on home screen, start it. If not, then reboot and it should appear afterwards. Then start it.
Go into the settings tab, hit "Install ldid" so TrollStore can install unsigned apps.
Tap "Install Persistence Helper" and choose a system app you don't need to use (e.g. Tips or Home) in the list that appears.
Optional : You now may delete “Trollinstaller” app if you see “TrollStore” on your homepage.
Next download or save an iPA file to be sideloaded on you iDevice.
Very Important
Save your iPA file in the “On My iPhone/iPad etc.” storage and not in “iCloud Drive”. Failing to do this step will probably result in failed iPA installation.
Install the iPA Package by Opening the Share Sheet, and opening the file in “TrollStore”.
Profit.
PRERQUISTIES - GETTING CREDENTIALS.JSON
Visit the Google Cloud Console
Make sure you're using the right google account, if you're not, change it first. After that, press Create Project.
Go to the OAuth Consent tab
Press external, and press Create
Fill app name whatever you want
Fill User support email and developer contact information with your google account, and ignore other configs. Press Save and Continue.
Skip the scopes step
Add your google account as tester, press Save and Continue.
Press back to dashboard
Press Credentials tab > Create Credentials > OAuth client ID.
Select Desktop and name it whatever you want
This will appear, download it.
PRERQUISTIES - GETTING TOKEN.PICKLE
Visit Google API page
Search for drive
Press Google Drive API and enable it.
Install Python from here
* Use the Windows installer (64-bit)
Install GIT from here
* Use the 64-bit Git for Windows Setup.
Install Heroku CLI from here
Make sure to add both Python and GIT to PATH during the installation. The option is present during installation. Just remember to select it.
Create a folder called BOTS on your PC.
Navigate to File Explorer address bar while you are inside the folder.
Delete existing entry.
Type cmd and hit enter.
This will open a CMD prompt window.
Type pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib and hit enter.
Copy and paste git clone https://github.com/anasty17/mirror-leech-telegram-bot mirrorbot/ && cd mirrorbot
This will clone the repo and make a folder on your PC called mirrorbot.
Copy the credentials.json file which you had generated and downloaded earlier and paste it into the mirrorbot folder.
Go back to CMD window which is opened and type python3 generate_drive_token.py and hit enter.
It will show you a URL. Copy the URL and paste it inside a browser and open it.
Follow the steps inside browser and accept everything.
You'll get your authorization code. Copy that and paste inside terminal and press enter.
PRERQUISTIES - GENERATING SERVICE ACCOUNTS
To generate service accounts, go back to CMD and paste the following and hit enter.
1 2
python -m pip install progress python3 gen_sa_accounts.py --quick-setup 1 --new-only
Copy the link and open it in a new tab, connect it to your google account, and paste the authorization code you just got.
To generate service accounts, go back to CMD and paste the following and hit enter.
1
python3 gen_sa_accounts.py --quick-setup 1 --new-only
Wait and you'll get an accounts folder with all the service accounts credentials files. It is recommended to add all the service accounts to a Google Group. You can then add the google group to your team drive which you will be using for the mirror bot.
Open the config.env file inside mirrorbot folder with Notepad and insert your values.
Namely:
BOT TOKEN - The Telegram Bot Token that you got from @BotFather.
GDRIVE FOLDER ID - The folder ID where you will be storing the mirrored files. It is the thing which comes after folders/ in a Google Drive URL. Here the folder ID will be 1XBSIksifdei322xxxxxxx https://drive.google.com/drive/u/0/folders/1XBSIksifdei322xxxxxxx
OWNER ID - The Telegram User ID (not username) of the Owner of the bot. Get it from userinfobot
TELEGRAM_API - This is to authenticate your Telegram account for downloading Telegram files. You can get this from https://my.telegram.org.
TELEGRAM_HASH - This is to authenticate your Telegram account for downloading Telegram files. You can get this from https://my.telegram.org.
AUTHORIZED_CHATS - Fill user_id and chat_id of groups/users you want to authorize. Separate them by space. Get it from userinfobot
SUDO_USERS - Fill user_id of users whom you want to give sudo permission. Separate them by space.
BASE_URL_OF_BOT - For Heroku fill https://yourappname.herokuapp.com
SEARCH_API_LINK - Search api app link. Get your api from deploying this repository.
* Here is how your config.env should look like, with your values filled where necessary:
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# REQUIRED CONFIG
BOT_TOKEN = ""
GDRIVE_FOLDER_ID = ""
OWNER_ID =
DOWNLOAD_DIR = "/usr/src/app/downloads"
DOWNLOAD_STATUS_UPDATE_INTERVAL = 5
AUTO_DELETE_MESSAGE_DURATION = 20
IS_TEAM_DRIVE = "True"
TELEGRAM_API =
TELEGRAM_HASH = ""
# OPTIONAL CONFIG
DATABASE_URL = ""
AUTHORIZED_CHATS = ""
SUDO_USERS = ""
IGNORE_PENDING_REQUESTS = "False"
USE_SERVICE_ACCOUNTS = "True"
INDEX_URL = ""
STATUS_LIMIT = "4"
STOP_DUPLICATE = ""
CMD_INDEX = ""
UPTOBOX_TOKEN = ""
TORRENT_TIMEOUT = "900"
EXTENTION_FILTER = ""
INCOMPLETE_TASK_NOTIFIER = "True"
# Update
UPSTREAM_REPO = ""
UPSTREAM_BRANCH = ""
# Leech
TG_SPLIT_SIZE = ""
AS_DOCUMENT = ""
EQUAL_SPLITS = ""
CUSTOM_FILENAME = ""
# qBittorrent
BASE_URL_OF_BOT = ""
SERVER_PORT = ""
WEB_PINCODE = ""
QB_SEED = ""
# Rss
RSS_DELAY = ""
RSS_COMMAND = ""
RSS_CHAT_ID = ""
USER_STRING_SESSION = ""
# Pivate Files
ACCOUNTS_ZIP_URL = ""
TOKEN_PICKLE_URL = ""
MULTI_SEARCH_URL = ""
YT_COOKIES_URL = ""
NETRC_URL = ""
# Mega
MEGA_API_KEY = ""
MEGA_EMAIL_ID = ""
MEGA_PASSWORD = ""
# Shortener
SHORTENER = ""
SHORTENER_API = ""
# GDTOT COOKIE
CRYPT = ""
# Size Limits
TORRENT_DIRECT_LIMIT = ""
ZIP_UNZIP_LIMIT = ""
CLONE_LIMIT = ""
MEGA_LIMIT = ""
STORAGE_THRESHOLD = ""
# Buttons
VIEW_LINK = ""
BUTTON_FOUR_NAME = ""
BUTTON_FOUR_URL = ""
BUTTON_FIVE_NAME = ""
BUTTON_FIVE_URL = ""
BUTTON_SIX_NAME = ""
BUTTON_SIX_URL = ""
# Torrent Search
SEARCH_API_LINK = ""
SEARCH_LIMIT = ""
SEARCH_PLUGINS = '["https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/rarbg.py",
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/piratebay.py",
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/legittorrents.py",
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/limetorrents.py",
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/torrentscsv.py",
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/zooqle.py",
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/eztv.py",
"https://raw.githubusercontent.com/MaurizioRicci/qBittorrent_search_engines/master/kickass_torrent.py",
"https://raw.githubusercontent.com/MaurizioRicci/qBittorrent_search_engines/master/yts_am.py",
"https://raw.githubusercontent.com/MadeOfMagicAndWires/qBit-plugins/master/engines/linuxtracker.py",
"https://raw.githubusercontent.com/MadeOfMagicAndWires/qBit-plugins/master/engines/nyaasi.py",
"https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/ettv.py",
"https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/glotorrents.py",
"https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/thepiratebay.py",
"https://raw.githubusercontent.com/nindogo/qbtSearchScripts/master/magnetdl.py",
"https://raw.githubusercontent.com/khensolomon/leyts/master/yts.py"]'
* After editing the config.env and adding your values do Ctrl+S to save the file.
* Go back to the open CMD window.
* Now copy/paste git checkout heroku and hit enter.
* Now copy/paste git add . -f and hit enter.
* Now copy/paste the following two lines and hit enter.
1
2
git config --global user.email "any random email address"
git config --global user.name "any random name"
* Now copy/paste git commit -m token and hit enter.
* Now copy/paste heroku login and hit enter.
* Follow the on screen instructions.
* Now copy/paste heroku create --region us YOURAPPNAME and hit enter.
* Replace YOURAPPNAME with whatever you will like your mirrorbot app on heroku to be called.
* Now copy/paste heroku git:remote -a YOURAPPNAME and hit enter.
* Replace YOURAPPNAME with the heroku app name you picked in previous step.
* Now copy/paste heroku stack:set container and hit enter.
* Now copy/paste git push heroku heroku:master -f and hit enter.
**YOUR BOT SHOULD BE DEPLOYED SHORTLY**!
**BOT COMMANDS TO BE SENT TO [@BotFather](https://t.me/BotFather)**
* Use /setcommands
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
mirror - Mirror
qbmirror - Mirror torrent using qBittorrent
clone - Copy file/folder to Drive
watch - Mirror yt-dlp supported link
status - Get Mirror Status message
search - Search for torrents with API
stats - Bot Usage Stats
cancel - Cancel a task
cancelall - Cancel all tasks
count - Count file/folder of Drive
restart - Restart the Bot
zipmirror - Mirror and upload as zip
unzipmirror - Mirror and extract files
qbzipmirror - Mirror torrent and upload as zip using qb
qbunzipmirror - Mirror torrent and extract files using qb
leech - Leech
zipleech - Leech and upload as zip
unzipleech - Leech and extract files
qbleech - Leech torrent using qBittorrent
qbzipleech - Leech torrent and upload as zip using qb
qbunzipleech - Leech torrent and extract using qb
zipwatch - Mirror yt-dlp supported link as zip
leechwatch - Leech through yt-dlp supported link
leechzipwatch - Leech yt-dlp support link as zip
leechset - Leech settings
setthumb - Set thumbnail
list - Search files in Drive
del - Delete file/folder from Drive
log - Get the Bot Log
shell - Run commands in Shell
ping - Ping the Bot
help - All cmds with description
## Google Shared Drives + One Drive Generators
* * *
Try different ones and different domains. Some go extinct so you gotta try them all if one is not working. Don't store personal documents, images and videos as the admins can see all the files if they want.
**GOOGLE SHARED DRIVES**
* <https://td.msgsuite.workers.dev/>
* <https://td.hackgence.com/>
* <https://t.me/MSGuite_SD_Creator_Bot>
* <https://team.gdrive.vip/>
* <https://tv.ssr.workers.dev/>
* <https://team.isumit.workers.dev/>
**ONE DRIVES**
* <https://www.apioffice.workers.dev/#form>
* <https://ms.jim9527.workers.dev/#form>
* <https://free-a1.a1od.workers.dev/>
* <https://freems.1ove.club/ceo/>
* <https://cn365.a1od.workers.dev/>
* <https://free.kits.workers.dev/#mdui-dialog>
* <https://a1_sc.a1od.workers.dev/#form>
* <https://azure.starter.workers.dev/#form>
* <https://tb.mygindex.workers.dev/>
## Activate Windows & Office Products!
* * *
* Download Windows & MS Office Products from [here](https://tb.rg-adguard.net/public.php).
* Use [Rufus](https://rufus.ie/en/) to create installation media in case you want to install Windows.
* Follow what's [here](https://github.com/massgravel/Microsoft-Activation-Scripts) to activate windows and/or MS Office products.
Backup of the latest Scripts incase Github goes down.
* [Mediafire](https://www.mediafire.com/file/conjtcokbajqjwz/KMS2038_%2526_Digital_%2526_Online_Activation_Suite_v9.4_%255BWindows_%2526_Office_Activation%255D.rar/file) and [AnonFiles](https://anonfiles.com/L317y6x3y0/KMS2038_Digital_Online_Activation_Suite_v9.4_Windows_Office_Activation_rar)
* * *
![Join the CHAMPAGNE Discord Server!](https://cdn.discordapp.com/attachments/972766815224733747/996852484821757952/CHAMPAGNE-Wiki-Footer.png)
[Discord](https://discord.gg/cH3ZkVc3Gd)