Skip to content

Instantly share code, notes, and snippets.

View Ap0dexMe0's full-sized avatar

Ap0dex Ap0dexMe0

View GitHub Profile
@Ap0dexMe0
Ap0dexMe0 / chrome-cdm-mirror.js
Last active October 11, 2024 18:47
Here's my sample snippet to get you started. It is designed to simplify the Chrome CDM mirroring process. Have fun, and feel free to share your thoughts! You are welcome to recode the code according to the key and value according to your possession
// 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) {
@Ap0dexMe0
Ap0dexMe0 / meow.js
Created October 13, 2024 10:56
Challenge/License Mirroring Decoding
// 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", {
@Ap0dexMe0
Ap0dexMe0 / git-manager.py
Last active April 1, 2025 07:47
Git Manager CLI: stage modified/untracked files, commit and push with interactive selection and colored output.
#!/usr/bin/env python3
import os
import sys
import subprocess
COLORS = {
'blue': '\033[1;34m',
'green': '\033[1;32m',
'red': '\033[1;31m',
@Ap0dexMe0
Ap0dexMe0 / recover_client_id.py
Created June 18, 2025 00:01
Widevine Recover Client ID
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 (
@Ap0dexMe0
Ap0dexMe0 / IG-Unfollower.js
Created June 18, 2025 00:05
Instagram Real Time Auto Unfollower
(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}`);
@Ap0dexMe0
Ap0dexMe0 / streamtoolkit.py
Created June 19, 2025 00:20
A Python-based HLS toolkit to download, decrypt (AES-128), extract audio/video/subtitle tracks, and mux streams from .m3u8 playlists using multithreading and PyAV.
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
@Ap0dexMe0
Ap0dexMe0 / tracker.py
Created July 17, 2025 09:22
Phone Number Tracker with Location and Carrier Detection (Malaysia Optimized)
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
@Ap0dexMe0
Ap0dexMe0 / analyzer.py
Created July 18, 2025 21:44
Cryptography, Encoding & Obfuscation Analyzer
import base64
import binascii
import re
import urllib.parse
import codecs
import math
import html
import quopri
import string
@Ap0dexMe0
Ap0dexMe0 / drm-bypass.js
Last active July 22, 2025 21:24
Simulates a fault(Fake) page cast to bypass Google's Digital Rights Management Block, allowing you to Record or Screenshot a website no matters its Security Policy/DRM.
// ==UserScript==
// @name DRM Bypass Helper
// @author Pari Malam
// @version 2.5
// @description Simulates a fault(Fake) page cast to bypass Google's Digital Rights Management Block, allowing you to Record or Screenshot a website no matters its Security Policy/DRM.
// @match https://www.netflix.com/*
// @match https://www.hulu.com/*
// @match https://www.crunchyroll.com/*
// @match https://www.youtube.com/*
// @match https://www.hbomax.com/*
@Ap0dexMe0
Ap0dexMe0 / netflix-bypass.js
Last active April 28, 2026 18:31
Netflix Bypass Household
// ==UserScript==
// @name Block Specific GraphQL + Domains
// @namespace Custom Blocking Script
// @version 1.1
// @description Blocks GraphQL POSTs containing specific operations and requests to specific domains
// @match *://*/*
// @run-at document-start
// @grant none
// @inject-into page
// ==/UserScript==