fork(264) download
  1.  
  2. local script = string.dump(
  3. function()
  4. --Content
  5. return ("Camouflaging Done.")
  6. end)
  7.  
  8. buff = ""
  9. for v = 1, string.len(script) do
  10. --Convert our string into a hex string.
  11. buff = buff..'\\'..string.byte(script, v)
  12. end
  13.  
  14. -- Output after encode/obfuscate
  15. --print(buff)
  16.  
  17. --function to decode the above script
  18. function decodeme(encoded)
  19. encoded = encoded:gsub("\\", ",")
  20. encoded = string.sub (encoded, 2)
  21. source = ""
  22.  
  23. for token in string.gmatch(encoded, "%d+") do
  24. source = source.. (string.char(token))
  25. end
  26.  
  27. return source
  28. end
  29.  
  30. local code = '\27\76\117\97\82\0\1\4\4\4\8\0\25\147\13\10\26\10\1\0\0\0\1\0\0\0\0\0\2\3\0\0\0\37\0\0\0\8\0\0\128\31\0\128\0\1\0\0\0\4\14\0\0\0\114\101\97\100\95\115\101\116\116\105\110\103\115\0\1\0\0\0\1\0\0\0\1\0\0\0\0\0\11\66\0\0\0\6\0\64\0\65\64\0\0\29\128\0\1\70\0\64\0\129\128\0\0\93\128\0\1\134\0\64\0\193\192\0\0\157\128\0\1\198\0\65\0\199\64\193\1\1\129\1\0\214\0\129\1\7\193\65\0\64\1\128\1\29\129\0\1\27\1\0\0\23\128\10\128\7\1\66\0\64\1\128\1\129\65\2\0\193\129\2\0\29\129\0\2\71\1\66\0\128\1\128\1\193\65\2\0\1\194\2\0\93\129\0\2\135\1\195\0\199\65\67\1\1\130\3\0\221\129\0\1\0\2\0\2\157\129\128\1\24\64\1\3\23\128\4\128\198\1\65\0\199\193\195\3\1\2\4\0\67\2\128\0\221\65\128\1\198\1\65\0\199\65\196\3\1\130\4\0\221\65\0\1\198\1\64\0\1\194\4\0\221\129\0\1\7\2\197\3\70\2\65\0\71\66\193\4\129\66\5\0\86\130\130\4\29\66\0\1\23\64\2\128\198\1\65\0\199\129\197\3\1\194\5\0\65\2\6\0\221\65\128\1\23\192\0\128\7\65\70\0\64\1\128\1\129\129\6\0\29\65\128\1\31\0\128\0\27\0\0\0\4\8\0\0\0\114\101\113\117\105\114\101\0\4\5\0\0\0\102\105\108\101\0\4\5\0\0\0\115\104\97\49\0\4\11\0\0\0\115\116\114\105\110\103\104\97\115\104\0\4\3\0\0\0\104\99\0\4\9\0\0\0\105\110\105\95\112\97\116\104\0\4\10\0\0\0\92\104\119\105\100\46\107\101\121\0\4\12\0\0\0\73\115\70\105\108\101\69\120\105\115\116\0\4\9\0\0\0\82\101\97\100\95\73\78\73\0\4\10\0\0\0\91\77\65\67\72\73\78\69\93\0\4\5\0\0\0\72\87\73\68\0\4\10\0\0\0\65\67\67\69\83\83\75\69\89\0\4\5\0\0\0\104\109\97\99\0\4\7\0\0\0\100\101\99\111\100\101\0\4\9\0\0\0\98\72\86\104\85\103\61\61\0\4\11\0\0\0\115\101\116\95\103\108\111\98\97\108\0\4\8\0\0\0\104\87\105\68\45\79\75\0\4\12\0\0\0\101\120\101\99\117\116\101\95\99\109\100\0\4\41\0\0\0\68\105\115\97\98\108\101\69\120\116\101\110\115\105\111\110\32\84\105\109\101\32\84\114\105\97\108\32\40\54\48\32\77\105\110\117\116\101\115\41\0\4\11\0\0\0\101\120\116\101\110\115\105\111\110\115\0\4\7\0\0\0\101\110\97\98\108\101\0\4\16\0\0\0\92\69\120\116\101\110\116\105\111\110\115\46\105\110\105\0\4\8\0\0\0\112\117\116\95\109\115\103\0\3\0\0\0\0\0\0\240\63\4\22\0\0\0\54\48\32\77\105\110\117\116\101\115\10\84\105\109\101\32\84\114\105\97\108\0\4\10\0\0\0\119\114\105\116\101\102\105\108\101\0\4\1\0\0\0\0\0\0\0\0\1\0\0\0\0\0\122\0\0\0\64\67\58\92\85\115\101\114\115\92\116\104\97\116\115\107\105\101\92\68\111\99\117\109\101\110\116\115\92\86\105\115\117\97\108\32\83\116\117\100\105\111\32\50\48\49\48\92\80\114\111\106\101\99\116\115\92\76\117\97\32\77\105\110\105\109\105\122\101\114\92\76\117\97\32\77\105\110\105\109\105\122\101\114\92\98\105\110\92\68\101\98\117\103\92\116\111\111\108\115\92\115\99\114\105\112\116\119\105\122\92\115\111\117\114\99\101\46\108\117\97\0\66\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\8\0\0\0\5\0\0\0\102\105\108\101\0\3\0\0\0\66\0\0\0\5\0\0\0\115\104\97\49\0\6\0\0\0\66\0\0\0\5\0\0\0\104\97\115\104\0\9\0\0\0\66\0\0\0\8\0\0\0\105\110\105\112\97\116\104\0\13\0\0\0\66\0\0\0\10\0\0\0\104\119\105\100\95\104\97\115\104\0\23\0\0\0\60\0\0\0\9\0\0\0\107\101\121\95\104\97\115\104\0\28\0\0\0\60\0\0\0\12\0\0\0\104\109\97\99\95\97\115\95\104\101\120\0\34\0\0\0\60\0\0\0\11\0\0\0\101\120\116\101\110\115\105\111\110\115\0\48\0\0\0\54\0\0\0\1\0\0\0\5\0\0\0\95\69\78\86\0\1\0\0\0\0\0\122\0\0\0\64\67\58\92\85\115\101\114\115\92\116\104\97\116\115\107\105\101\92\68\111\99\117\109\101\110\116\115\92\86\105\115\117\97\108\32\83\116\117\100\105\111\32\50\48\49\48\92\80\114\111\106\101\99\116\115\92\76\117\97\32\77\105\110\105\109\105\122\101\114\92\76\117\97\32\77\105\110\105\109\105\122\101\114\92\98\105\110\92\68\101\98\117\103\92\116\111\111\108\115\92\115\99\114\105\112\116\119\105\122\92\115\111\117\114\99\101\46\108\117\97\0\3\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\95\69\78\86\0'
  31. -- Output after decode/deobfuscate
  32. print(loadstring(decodeme(code))())
Runtime error #stdin #stdout #stderr 0s 15008KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
lua5.3: prog.lua:24: bad argument #1 to 'char' (value out of range)
stack traceback:
	[C]: in function 'string.char'
	prog.lua:24: in function 'decodeme'
	prog.lua:32: in main chunk
	[C]: in ?