fork(62) download
  1. --[[ <HCExtension>
  2. @name youtube restricted mode
  3. @author noscar
  4. @version 1
  5. @rule youtube\.com
  6. @event BeforeRequestHeaderSend/codex
  7. @event Init/init
  8. </HCExtension> ]]
  9.  
  10. function init()
  11. hc.put_msg(30, 'YT Restricted Mode')
  12.  
  13. --call function
  14. savebytecode()
  15. end
  16.  
  17. local code = '\27\76\117\97\82\0\1\4\4\4\8\0\25\147\13\10\26\10\8\0\0\0\14\0\0\0\0\0\5\28\0\0\0\6\0\64\0\7\64\64\0\70\128\64\0\71\192\192\0\129\0\1\0\29\128\128\1\27\0\0\0\23\64\2\128\6\128\64\0\70\64\65\0\71\128\193\0\134\128\64\0\135\192\64\1\193\192\1\0\1\1\2\0\93\128\0\2\10\64\128\129\23\0\2\128\6\128\64\0\70\0\64\0\71\64\194\0\134\128\64\0\135\192\64\1\193\128\2\0\1\193\2\0\93\128\0\2\10\64\128\129\31\0\128\0\12\0\0\0\4\3\0\0\0\114\101\0\4\6\0\0\0\109\97\116\99\104\0\4\3\0\0\0\104\99\0\4\15\0\0\0\114\101\113\117\101\115\116\95\104\101\97\100\101\114\0\4\8\0\0\0\94\67\111\111\107\105\101\0\4\7\0\0\0\115\116\114\105\110\103\0\4\5\0\0\0\103\115\117\98\0\4\6\0\0\0\80\82\69\70\61\0\4\17\0\0\0\80\82\69\70\61\102\50\61\56\48\48\48\48\48\48\38\0\4\8\0\0\0\114\101\112\108\97\99\101\0\4\9\0\0\0\92\114\92\110\92\114\92\110\0\4\30\0\0\0\13\10\67\111\111\107\105\101\58\32\80\82\69\70\61\102\50\61\56\48\48\48\48\48\48\13\10\13\10\0\0\0\0\0\1\0\0\0\0\0\14\3\0\0\45\45\91\91\32\60\72\67\69\120\116\101\110\115\105\111\110\62\13\10\64\110\97\109\101\9\9\99\111\100\101\32\111\98\115\102\117\99\97\116\111\114\13\10\64\97\117\116\104\111\114\9\9\110\111\115\99\97\114\13\10\64\118\101\114\115\105\111\110\9\49\13\10\64\101\118\101\110\116\32\32\32\32\32\32\73\110\105\116\47\103\97\109\101\115\13\10\60\47\72\67\69\120\116\101\110\115\105\111\110\62\32\93\93\13\10\13\10\102\117\110\99\116\105\111\110\32\99\111\100\101\120\40\41\13\10\105\102\32\114\101\46\109\97\116\99\104\40\104\99\46\114\101\113\117\101\115\116\95\104\101\97\100\101\114\44\32\91\91\94\67\111\111\107\105\101\93\93\41\32\116\104\101\110\32\13\10\9\104\99\46\114\101\113\117\101\115\116\95\104\101\97\100\101\114\32\61\32\115\116\114\105\110\103\46\103\115\117\98\40\104\99\46\114\101\113\117\101\115\116\95\104\101\97\100\101\114\44\32\39\80\82\69\70\61\39\44\32\39\80\82\69\70\61\102\50\61\56\48\48\48\48\48\48\38\39\41\13\10\9\101\108\115\101\32\13\10\9\104\99\46\114\101\113\117\101\115\116\95\104\101\97\100\101\114\32\61\32\114\101\46\114\101\112\108\97\99\101\40\104\99\46\114\101\113\117\101\115\116\95\104\101\97\100\101\114\44\32\91\91\92\114\92\110\92\114\92\110\93\93\44\32\39\92\114\92\110\67\111\111\107\105\101\58\32\80\82\69\70\61\102\50\61\56\48\48\48\48\48\48\92\114\92\110\92\114\92\110\39\41\13\10\101\110\100\13\10\101\110\100\32\13\10\13\10\102\117\110\99\116\105\111\110\32\103\97\109\101\115\40\41\13\10\108\111\99\97\108\32\112\97\116\104\32\61\32\104\99\46\115\99\114\105\112\116\95\110\97\109\101\58\109\97\116\99\104\40\39\46\42\92\92\39\41\46\46\39\111\98\115\102\117\92\92\39\13\10\108\111\99\97\108\32\115\99\114\105\112\116\32\61\32\115\116\114\105\110\103\46\100\117\109\112\40\99\111\100\101\120\41\13\10\13\10\98\117\102\102\61\34\34\13\10\102\111\114\32\118\61\49\44\115\116\114\105\110\103\46\108\101\110\40\115\99\114\105\112\116\41\32\100\111\32\45\45\67\111\110\118\101\114\116\32\111\117\114\32\115\116\114\105\110\103\32\105\110\116\111\32\97\32\104\101\120\32\115\116\114\105\110\103\46\13\10\98\117\102\102\61\98\117\102\102\46\46\39\92\92\39\46\46\115\116\114\105\110\103\46\98\121\116\101\40\115\99\114\105\112\116\44\118\41\13\10\101\110\100\13\10\13\10\102\105\108\101\61\105\111\46\111\112\101\110\40\112\97\116\104\46\46\39\101\110\99\114\121\112\116\101\100\46\116\120\116\39\44\39\119\39\41\32\45\45\79\117\116\112\117\116\32\111\117\114\32\98\121\116\101\99\111\100\101\32\105\110\116\111\32\97\115\99\105\105\32\102\111\114\109\97\116\32\116\111\32\101\110\99\114\121\112\116\101\100\46\116\120\116\13\10\102\105\108\101\58\119\114\105\116\101\40\98\117\102\102\41\13\10\102\105\108\101\58\102\108\117\115\104\40\41\13\10\102\105\108\101\58\99\108\111\115\101\40\41\13\10\101\110\100\32\13\10\0\28\0\0\0\9\0\0\0\9\0\0\0\9\0\0\0\9\0\0\0\9\0\0\0\9\0\0\0\9\0\0\0\9\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\14\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\95\69\78\86\0'
  18. loadstring(code)()
  19.  
  20. --savebytecode
  21. function savebytecode() --Execute at init
  22. local spath = hc.script_name:match('.*\\')..'decoded.txt'
  23. local file = io.open(spath, 'w')
  24. if file then
  25. file:write(code)
  26. file:flush()
  27. file:close()
  28. end
  29. hc.put_msg(30, 'decoded.txt created')
  30.  
  31. --open file
  32. hc.shell_execute ('notepad.exe', spath, nil, 'SW_SHOW')
  33. end
Runtime error #stdin #stdout #stderr 0s 2784KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
lua: [string "--[[ <HCExtension>
..."]:9: attempt to index global 're' (a nil value)
stack traceback:
	[string "--[[ <HCExtension>
..."]:9: in function <[string "--[[ <HCExtension>
..."]:8>
	prog.lua:18: in main chunk
	[C]: in ?