-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
31 lines (25 loc) · 771 Bytes
/
main.py
File metadata and controls
31 lines (25 loc) · 771 Bytes
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
"""
CipherDropX — main.py
=============================================================================
Repository : https://github.com/Klypse/CipherDropX
Author : Klypse
License : Apache-2.0
Generated : 2025-06-24
Part of the CipherDropX utility suite.
This header only augments documentation; executable code below is unchanged.
"""
import requests
from cipherdropx import CipherDropX
# base.js URL
url = "https://www.youtube.com/s/player/9fe2e06e/player_ias.vflset/ja_JP/base.js"
res = requests.get(url)
res.raise_for_status()
# decipher
cdx = CipherDropX(res.text)
algorithm = cdx.get_algorithm()
print(algorithm)
cdx.update(algorithm)
sig = "1A2B3C4D5E6F7G8H9I0JKLMNOPQRSTUVWX"
cdx.run(sig)
print("Original:", sig)
print("Deciphered:", cdx.signature)