Skip to content
Snippets Groups Projects
Commit 84ba044d authored by Pierre Ynard's avatar Pierre Ynard Committed by Hugo Beauzée-Luyssen
Browse files

youtube.lua: document an "n" descrambling transformation

parent 16d6b231
No related branches found
No related tags found
1 merge request!940youtube.lua: exponential form integers in "n" descrambling input data
......@@ -286,6 +286,7 @@ function n_descramble( nparam, js )
alphabet2 = {
func = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",
match = {
-- function(){for(var d=64,e=[];++d-e.length-32;){switch(d){case 58:d-=14;case 91:case 92:case 93:continue;case 123:d=47;case 94:case 95:case 96:continue;case 46:d=95}e.push(String.fromCharCode(d))}return e}
-- function(){for(var d=64,e=[];++d-e.length-32;)switch(d){case 46:d=95;default:e.push(String.fromCharCode(d));case 94:case 95:case 96:break;case 123:d-=76;case 92:case 93:continue;case 58:d=44;case 91:}return e}
"^function%(%){[^}]-case 58:d%-=14;",
"^function%(%){[^}]-case 58:d=44;",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment