- Download the python script
- Install the packages listed in requirements.txt (or use this command:
pip3 install requests pyperclip
) - Move the python script to somewhere like your desktop
- Any file under 200mb (or under 1 Gb if using litterbox, see below) can be dragged and dropped onto the python script and uploaded (except : .exe, .scr, .cpl, .doc*, .jar, and any others mentioned in their FAQ)
- The uploaded file link is now in your clipboard (link copies automatically)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import sys | |
import re | |
var = str(subprocess.check_output(["mkvmerge.exe", "--identify", "video.mkv"]).decode(sys.stdout.encoding)) | |
AttachmentID = re.findall(r"(Attachment ID (\d{1,2}):)", var) | |
AttachmentName = re.findall(r"(file name ('(.*)'))", var) | |
for a, b in zip(AttachmentID, AttachmentName): |
just run these commands to change routes and make sure to adapt the tunnel name (tun0
for me) to your specific one
sudo ip r del default dev tun0 scope link
sudo ip r add 138.67.0.0/16 dev tun0 scope link
profit $$$