I got the tools and learning how to do with it.
+ Reply to Thread
Results 1 to 10 of 10
-
Last edited by gadumuc; 21st Sep 2022 at 08:54.
-
I've personally not had to deal with vdocipher. However, if I'm not mistaken, the process is a little different for that.
Are you using vdocipher.py? -
-
There's one in the zip linked in this post:
https://forum.videohelp.com/threads/405992-Getwvkeys-source-code-for-everyone!!!!?high...de#post2659100 -
-
-
hello,
I just finish my script to search for the keys for decryption against the key.db file and also save the decryption keys in the key.db file or create another of your choice.
[Attachment 66991 - Click to enlarge]
if you are interested let me know. I will share in the forum. -
hello,
you can try this kid code: 6c5c7d3b45af3de7beb2e8f07c9b4a00
Here is the scrypt for search in the key.db file :
Code:import sqlite3, os, pyfiglet from pathlib import Path choix = 0 BLUE = '\x1b[38;5;27m' RED = '\x1b[38;5;160m' GREEN = '\x1b[38;5;46m' CYAN = '\x1b[38;5;14m' YELLOW = '\x1b[38;5;226m' END = '\x1b[0;0m' path = Path('keys.db') if path.is_file(): title = pyfiglet.figlet_format('Search Keys database', font='slant', width=150) print(f'{CYAN}{title}{END}') print(f'{CYAN}----------Menu Wks-Keys----------{END}') print(f'{YELLOW}Entrer le code 1 pour le code Kid.{END}') print(f'{YELLOW}Entrer le code 2 pour le code PSSH.{END}') print(F'{YELLOW}Entrer le code 3 pour quitter le programme{END}') while (choix!=3): print(f'{YELLOW}Choisissez 1 ou 2 ou 3 : {END} {BLUE}', end='') choix = input() if choix in ['1','2','3']: break else: print("Choix incorrect !") else: print(f'{Red}[Eurreur] : Veuillez vérifier que le fichier key.db existe!{END}') def searchsqlite(code, query): try: sqliteConnection = sqlite3.connect('keys.db') cursor = sqliteConnection.cursor() print(f'{GREEN}[INFO] : Connecté à SQLite{END}') sqlite_select_query = """SELECT keys FROM DATABASE WHERE {0} == '{1}';""".format(query,code) cursor.execute(sqlite_select_query) records = cursor.fetchall() if records: for key in records: wv = key[0].split(":") print(f'{BLUE}[KEY] :{wv[1]}:{wv[2].replace("}]","")}{END}') else: print(f'{RED}[Erreur] : Aucun {query} à était trouver dans le fichier keys.db.{END}') cursor.close() except error as error: print(f'{RED}[ERREUR] : Impossible de lire les données de la table sqlite.{END}', error) finally: if sqliteConnection: sqliteConnection.close() print(f'{GREEN}[INFO] : La connexion SQLite est fermée{END}') def VérificationLenght(num): if len(num) != 32: print(f"{RED}La clé ne peut pas étre inférieur ou supérieur à la longueur de cette instance : {num}{END}") os.system("pause") else: return num if choix == '1': print(f'{YELLOW}Veuillez entrer le code kid : {END}{BLUE}', end='') code = input() if VérificationLenght(code) : searchsqlite(code,'KID') os.system("pause") elif choix == '2': print(f'{YELLOW}Veuillez entrer le code PSSH : {END}{BLUE}', end='') code = input() searchsqlite(code,'PSSH') os.system("pause") elif choix == '3': os._exit(0)
Code:pip install pysqlite3
-
hi, here is the code to create and edit the key.db file.
Code:import sqlite3, os, pyfiglet import datetime import time from time import strptime from pathlib import Path a = time.ctime() BLUE = '\x1b[38;5;27m' RED = '\x1b[38;5;160m' GREEN = '\x1b[38;5;46m' CYAN = '\x1b[38;5;14m' YELLOW = '\x1b[38;5;226m' END = '\x1b[0;0m' path = Path('keys.db') def CreateDatabase(): try: sqliteConnection = sqlite3.connect('keys.db') cursor = sqliteConnection.cursor() print(f"{GREEN}[INFO] : Connecté à SQLite.{END}") sqlite_select_query = """CREATE TABLE IF NOT EXISTS "DATABASE" ( "KID" TEXT, "pssh" TEXT, "time" TEXT, "keys" TEXT, PRIMARY KEY("KID") )""" cursor.execute(sqlite_select_query) print(f"{GREEN}[INFO] : Table SQLite créer.{END}") cursor.close except sqlite3.Error as error: print(f"{RED}[ERREUR] : Erreur lors de la création d'une table DATABASE.{END}") finally: if sqliteConnection: sqliteConnection.close() print(f"{GREEN}[INFO] : La connexion SQLite est fermée.{END}") if not path.is_file(): CreateDatabase() def EditDatabase(Kid,Pssh,Key,a): try: sqliteConnection = sqlite3.connect('keys.db') cursor = sqliteConnection.cursor() print(f"{GREEN}[INFO] : Connecté à SQLite.{END}") sqlite_insert_query = """INSERT INTO DATABASE (KID, pssh, time, keys) VALUES (?, ?, ?, ?);""" data_key = (Kid, Pssh, datetime.datetime.strptime(a, "%c"), "[{"'"key"'": "'"%s:%s"'"}]" % (Kid, Key)) cursor.execute(sqlite_insert_query, data_key) sqliteConnection.commit() print(f"{GREEN}[INFO] : Enregistrement inséré avec succès dans la table DATABASE.{END}") cursor.close except sqlite3.Error as error: print(f"{RED}[ERREUR] : Impossible de écrire les données de la table DATABASE.{END}") finally: if sqliteConnection: sqliteConnection.close() print(f"{GREEN}[INFO] : La connexion SQLite est fermée.{END}") os.system("pause") def VérificationLenght(num): if len(num) != 32: print(f"{RED}La clé ne peut pas étre inférieur ou supérieur à la longueur de cette instance : {num}{END}") os.system("pause") else: return num title = pyfiglet.figlet_format('Edite Keys database', font='slant', width=150) print(f'{CYAN}{title}{END}') print(f'{CYAN}----------Edite Database Keys----------{END}') print(f'{YELLOW}Veuillez entre le code KID : {END}{BLUE}', end='') Kid = input() if VérificationLenght(Kid): print(f'{YELLOW}Veuillez entre le code PSSH : {END}{BLUE}', end='') Pssh = input() print(f'{YELLOW}Veuillez entre le code HEY : {END}{BLUE}', end='') Key = input() if VérificationLenght(Key): EditDatabase(Kid,Pssh,Key,a)
here is how I did to find the key.db with sqlite3 with python but you can create a name of your choice. Regards,
Similar Threads
-
I don't get key with wks-key.
By Brift_Bv in forum Video Streaming DownloadingReplies: 34Last Post: 18th Nov 2023, 04:35 -
Problem getting the key from this site
By naim2007 in forum Video Streaming DownloadingReplies: 24Last Post: 30th Oct 2022, 10:49 -
Can anyone help with a key?
By Quint in forum Video Streaming DownloadingReplies: 5Last Post: 21st Sep 2022, 08:25 -
How to denoise this sample?
By capfirepants in forum RestorationReplies: 16Last Post: 27th Nov 2020, 11:41 -
TS sample with Dolby-E
By Arun08 in forum Video ConversionReplies: 4Last Post: 9th Jun 2019, 04:10