This file contains hidden or 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 base64 | |
| import binascii | |
| import re | |
| import urllib.parse | |
| import codecs | |
| import math | |
| import html | |
| import quopri | |
| import string |
This file contains hidden or 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 phonenumbers | |
| from phonenumbers import geocoder, carrier | |
| from opencage.geocoder import OpenCageGeocode | |
| import re | |
| import folium | |
| import webbrowser | |
| import os | |
| # ----------------------------------------- | |
| # 📘 Custom carrier resolver for Malaysia |
This file contains hidden or 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 os | |
| import re | |
| import requests | |
| import m3u8 | |
| import argparse | |
| from pathlib import Path | |
| from Crypto.Cipher import AES | |
| import av | |
| from concurrent.futures import ThreadPoolExecutor | |
| from collections import defaultdict |
This file contains hidden or 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
| (async function unfollowUsersSlowly() { | |
| const delay = ms => new Promise(resolve => setTimeout(resolve, ms)); | |
| const buttons = [...document.querySelectorAll('button')].filter(btn => btn.innerText.trim() === 'Following'); | |
| for (let i = 0; i < buttons.length; i++) { | |
| const btn = buttons[i]; | |
| btn.scrollIntoView({ behavior: "smooth", block: "center" }); | |
| btn.click(); | |
| console.log(`⚡ Prompting unfollow for #${i + 1}`); |
This file contains hidden or 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 argparse | |
| import base64 | |
| from pathlib import Path | |
| from Crypto.Cipher import AES, PKCS1_OAEP | |
| from Crypto.PublicKey import RSA | |
| from Crypto.Util import Padding | |
| from pywidevine.device import Device | |
| from pywidevine.pssh import PSSH | |
| from pywidevine.cdm import Cdm | |
| from pywidevine.license_protocol_pb2 import ( |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| import subprocess | |
| COLORS = { | |
| 'blue': '\033[1;34m', | |
| 'green': '\033[1;32m', | |
| 'red': '\033[1;31m', |
This file contains hidden or 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
| // MIRRORING LOGIC START | |
| const originalCreateSessionFn = MediaKeys.prototype.createSession; | |
| MediaKeys.prototype.createSession = function() { | |
| const session = originalCreateSessionFn.apply(this, arguments); | |
| session.addEventListener("message", event => { | |
| const payload = btoa(String.fromCharCode.apply(null, new Uint8Array(event.message))); | |
| fetch("http://127.0.0.1:1337/dev/widevine/responseLicense", { |
This file contains hidden or 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
| // Create a WeakMap to track whether a message has been modified | |
| const modifiedEventsMap = new WeakMap(); | |
| let savedPSSH = null; // Global variable to store PSSH | |
| let savedSessionId = null; | |
| // Save the original reference of generateRequest | |
| const originalGenerateRequest = MediaKeySession.prototype.generateRequest; | |
| // Override generateRequest with a custom function | |
| MediaKeySession.prototype.generateRequest = function(initDataType, initData) { |
NewerOlder