HR16G5978

MY ENC TOOL V3

Sep 7th, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.02 KB | None | 0 0
  1. local Note = gg.EXT_FILES_DIR .. "/" .. "Note.txt"
  2. if io.open(Note, "r") ~= nil then
  3. else
  4. Alert = gg.alert("โ•โ”ณโ”๐Ÿ”ธโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”๐Ÿ”ธโ”โ”โ•\n\t๐Ÿ”น\t\t๐Ÿ›ก๏ธ Encryption Version 3.0 ๐Ÿ›ก\nโ•โ”ปโ”๐Ÿ”ธโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”๐Ÿ”ธโ”โ”โ•\n\nFeatures :๏ธ\n\t๐Ÿ”น\tAdded Anti Lasm 1Gb +\n\t๐Ÿ”น\tBlock Sstool/TC (Auto Crash)\n\t๐Ÿ”น\tNew AntiLog/Hook\n\t๐Ÿ”น\tEncrypt All String With Key\n\t๐Ÿ”น\tWork In All GG Version\n\n๐Ÿ”–Tool by Hแด€แด„แด‹แด‡ส€_ส€แด€แดŠแด˜แดœT -- @kunwarviren_7\n\nโ•โ”โ”๐Ÿ”ธโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”๐Ÿ”ธโ”โ”โ•",
  5. "CONTINUE",
  6. "",
  7. "DON'T SHOW AGAIN"
  8. )
  9. if Alert ~= 3 then
  10. else
  11. local w = io.open(Note, "w")
  12. w:write(tostring(Alert)) --3
  13. w:close()
  14. end
  15. end
  16.  
  17. function savedata()
  18. data = ''
  19. source = gg.EXT_CACHE_DIR .. "/" .. "Hแด€แด„แด‹แด‡ส€_ส€แด€แดŠแด˜แดœT.cfg"
  20. info = loadfile(source)
  21. if info ~= nil then
  22. data = info()
  23. else
  24. data = {gg.getFile(), gg.getFile():gsub("/[^/]+$", '')}
  25. end
  26. return data
  27. end
  28.  
  29. local Enc = { } ; local Dec = { }
  30.  
  31. Enc.info = gg.prompt({
  32. "๐Ÿ“Ž Select file to encrypt :",
  33. "๐Ÿ“ Select writable path for output :",
  34. }, savedata(), {
  35. "file",
  36. "path",
  37. })
  38.  
  39. if not Enc.info then
  40. print(os.date("%H:%M:%S %p โŒš๏ธ %A, %d %B %Y\n\nโœ˜ Canceled !"))
  41. return nil
  42. end
  43.  
  44. pathes = {Enc.info[1],Enc.info[2].."/"..Enc.info[1]:match("[^/]+$"):gsub("%.lua$", '')..".Hแด€แด„แด‹แด‡ส€_ส€แด€แดŠแด˜แดœT.lua",gg.EXT_FILES_DIR.."/".."Hแด€แด„แด‹แด‡ส€_ส€แด€แดŠแด˜แดœT.tmp"}
  45.  
  46. function random_number(length)
  47. local random = ''
  48. local Number = {"1", "2", "3", "4", "5", "6", "7", "8", "9"}
  49. for i = 1, length do
  50. random = random..Number[math.random(1, #Number)]
  51. end
  52. return random
  53. end
  54.  
  55. Enc.Key = {"10000","20000","30000","10100","20100","30100","210","20","120","10"}
  56. Dec.Key = { }
  57. Enc.Kea = { }
  58. for i = 1, 1000 do;table.insert(Enc.Key,"10000");table.insert(Dec.Key,"10000");end
  59.  
  60. function Encode1(str, length, ...)
  61. res = ''
  62. arg = {str:gsub(".", function(m)return ("%02x"):format((m:byte() + Enc.Key[5] * (Enc.Key[1] - Enc.Key[9]) + length) % 256)end):byte(1, -1)}
  63. ind = 1
  64. while( ind < #arg + 1 )do
  65. arg[ind] = (arg[ind] + Enc.Key[1] * (Enc.Key[9] + Enc.Key[10] * ind) + length + ind) % 256
  66. ind = ind + 1
  67. end
  68. return res.."{ENC = {"..table.concat(arg, ",").."}}, "..length..''
  69. end
  70.  
  71. function Encode2(str, length, ...)
  72. res = ''
  73. arg = {str:gsub(".", function(m)return ("%02x"):format((m:byte() + Enc.Key[4] * (Enc.Key[8] - Enc.Key[6]) + length) % 256)end):byte(1, -1)}
  74. ind = 1
  75. while( ind < #arg + 1 )do
  76. arg[ind] = (arg[ind] + Enc.Key[2] * Enc.Key[7] + (Enc.Key[8] * ind) + length + ind) % 256
  77. ind = ind + 1
  78. end
  79. return res.."{ENC = {"..table.concat(arg, ",").."}}, "..length..''
  80. end
  81.  
  82. function Encode3(str, length, ...)
  83. res = ''
  84. arg = {str:gsub(".", function(m)return ("%02x"):format((m:byte() + Enc.Key[3] * (Enc.Key[6] + Enc.Key[9]) - length) % 256)end):byte(1, -1)}
  85. ind = 1
  86. while( ind < #arg + 1 )do
  87. arg[ind] = (arg[ind] + Enc.Key[3] * (Enc.Key[10] - Enc.Key[7] * ind) + length + ind) % 256
  88. ind = ind + 1
  89. end
  90. return res.."{ENC = {"..table.concat(arg, ",").."}}, "..length..''
  91. end
  92.  
  93. function Encode4(str, length, ...)
  94. res = ''
  95. arg = {str:gsub(".", function(m)return ("%02x"):format((m:byte() + Enc.Key[2] * (Enc.Key[7] + Enc.Key[10]) - length) % 256)end):byte(1, -1)}
  96. ind = 1
  97. while( ind < #arg + 1 )do
  98. arg[ind] = (arg[ind] - Enc.Key[4] * (Enc.Key[9] + Enc.Key[8] - ind) + length + ind) % 256
  99. ind = ind + 1
  100. end
  101. return res.."{ENC = {"..table.concat(arg, ",").."}}, "..length..''
  102. end
  103.  
  104. function Encode5(str, length, ...)
  105. res = ''
  106. arg = {str:gsub(".", function(m)return ("%02x"):format((m:byte() + Enc.Key[1] * (Enc.Key[9] + Enc.Key[10]) - length) % 256)end):byte(1, -1)}
  107. ind = 1
  108. while( ind < #arg + 1 )do
  109. arg[ind] = (arg[ind] - Enc.Key[5] * (Enc.Key[1] + Enc.Key[3] - ind) + length + ind) % 256
  110. ind = ind + 1
  111. end
  112. return res.."{ENC = {"..table.concat(arg, ",").."}}, "..length..''
  113. end
  114.  
  115. function Encode6(str, length, ...)
  116. res = ''
  117. arg = {str:byte(1, -1)}
  118. ind = 1
  119. while( ind < #arg + 1 )do
  120. arg[ind] = (arg[ind] + Enc.Key[1] * (Enc.Key[4] + Enc.Key[9] - ind) - length * ind)%256
  121. ind = ind + 1
  122. end
  123. return res.."{ENC = {"..table.concat(arg, ",").."}}, "..length..''
  124. end
  125.  
  126. function Encode7(str, length, ...)
  127. res = ''
  128. arg = {str:byte(1, -1)}
  129. ind = 1
  130. while( ind < #arg + 1 )do
  131. arg[ind] = (arg[ind] + Enc.Key[2] * (Enc.Key[5] + Enc.Key[10] - ind) - length * ind) % 256
  132. ind = ind + 1
  133. end
  134. return res.."{ENC = {"..table.concat(arg, ",").."}}, "..length..''
  135. end
  136.  
  137. function Encode(text)
  138. filter = ''
  139. x = math.random(1, 5)
  140. text = text:gsub("\\n", "\n"):gsub("\\t", "\t")
  141. if x == 1 then
  142. filter = filter.."_G:Konzlet1("..Encode1(text, random_number(3), random_number(x))..")"
  143. elseif x == 2 then
  144. filter = filter.."_G:Konzlet2("..Encode2(text, random_number(3), random_number(x))..")"
  145. elseif x == 3 then
  146. filter = filter.."_G:Konzlet3("..Encode3(text, random_number(3), random_number(x))..")"
  147. elseif x == 4 then
  148. filter = filter.."_G:Konzlet4("..Encode4(text, random_number(3), random_number(x))..")"
  149. elseif x == 5 then
  150. filter = filter.."_G:Konzlet5("..Encode5(text, random_number(3), random_number(x))..")"
  151. end
  152. return filter
  153. end
  154.  
  155. local Cryptable = {
  156. {'gg.getResultsCount', 'gg["getResultsCount"]'},
  157. {'gg.SIGN_INEQUAL', 'gg["SIGN_INEQUAL"]'},
  158. {'gg.multiChoice', 'gg["multiChoice"]'},
  159. {'gg.setSpeed', 'gg["setSpeed"]'},
  160. {'gg.getSpeed', 'gg["getSpeed"]'},
  161. {'gg.REGION_C_HEAP', 'gg["REGION_C_HEAP"]'},
  162. {'gg.bytes', 'gg["bytes"]'},
  163. {'gg.getFile', 'gg["getFile"]'},
  164. {'gg.require', 'gg["require"]'},
  165. {'gg.SIGN_LESS_OR_EQUAL', 'gg["SIGN_LESS_OR_EQUAL"]'},
  166. {'gg.TYPE_QWORD', 'gg["TYPE_QWORD"]'},
  167. {'gg.getValues', 'gg["getValues"]'},
  168. {'gg.setValues', 'gg["setValues"]'},
  169. {'gg.editAll', 'gg["editAll"]'},
  170. {'gg.SIGN_NOT_EQUAL', 'gg["SIGN_NOT_EQUAL"]'},
  171. {'gg.getListItems', 'gg["getListItems"]'},
  172. {'gg.loadResults', 'gg["loadResults"]'},
  173. {'gg.TYPE_XOR', 'gg["TYPE_XOR"]'},
  174. {'gg.getSelectedResults', 'gg["getSelectedResults"]'},
  175. {'gg.getTargetPackage', 'gg["getTargetPackage"]'},
  176. {'gg.internal3', 'gg["internal3"]'},
  177. {'gg.PROT_NONE', 'gg["PROT_NONE"]'},
  178. {'gg.startFuzzy', 'gg["startFuzzy"]'},
  179. {'gg.processKill', 'gg["processKill"]'},
  180. {'gg.alert', 'gg["alert"]'},
  181. {'gg.REGION_STACK', 'gg["REGION_STACK"]'},
  182. {'gg.CACHE_DIR', 'gg["CACHE_DIR"]'},
  183. {'gg.setRanges', 'gg["setRanges"]'},
  184. {'gg.getRanges', 'gg["getRanges"]'},
  185. {'gg.REGION_CODE_SYS', 'gg["REGION_CODE_SYS"]'},
  186. {'gg.getLine', 'gg["getLine"]'},
  187. {'gg.unrandomizer', 'gg["unrandomizer"]'},
  188. {'gg.getActiveTab', 'gg["getActiveTab"]'},
  189. {'gg.skipRestoreState', 'gg["skipRestoreState"]'},
  190. {'gg.PROT_WRITE', 'gg["PROT_WRITE"]'},
  191. {'gg.TYPE_BYTE', 'gg["TYPE_BYTE"]'},
  192. {'gg.REGION_C_DATA', 'gg["REGION_C_DATA"]'},
  193. {'gg.SIGN_GREATER_OR_EQUAL', 'gg["SIGN_GREATER_OR_EQUAL"]'},
  194. {'gg.FILES_DIR', 'gg["FILES_DIR"]'},
  195. {'gg.allocatePage', 'gg["allocatePage"]'},
  196. {'gg.FREEZE_IN_RANGE', 'gg["FREEZE_IN_RANGE"]'},
  197. {'gg.getValuesRange', 'gg["getValuesRange"]'},
  198. {'gg.PROT_READ', 'gg["PROT_READ"]'},
  199. {'gg.REGION_OTHER', 'gg["REGION_OTHER"]'},
  200. {'gg.REGION_VIDEO', 'gg["REGION_VIDEO"]'},
  201. {'gg.LOAD_VALUES', 'gg["LOAD_VALUES"]'},
  202. {'gg.internal1', 'gg["internal1"]'},
  203. {'gg.EXT_FILES_DIR', 'gg["EXT_FILES_DIR"]'},
  204. {'gg.REGION_BAD', 'gg["REGION_BAD"]'},
  205. {'gg.removeListItems', 'gg["removeListItems"]'},
  206. {'gg.getTargetInfo', 'gg["getTargetInfo"]'},
  207. {'gg.toast', 'gg["toast"]'},
  208. {'gg.processResume', 'gg["processResume"]'},
  209. {'gg.makeRequest', 'gg["makeRequest"]'},
  210. {'gg.LOAD_VALUES_FREEZE', 'gg["LOAD_VALUES_FREEZE"]'},
  211. {'gg.getLocale', 'gg["getLocale"]'},
  212. {'gg.getSelectedListItems', 'gg["getSelectedListItems"]'},
  213. {'gg.timeJump', 'gg["timeJump"]'},
  214. {'gg.processToggle', 'gg["processToggle"]'},
  215. {'gg.getResultCount', 'gg["getResultCount"]'},
  216. {'gg.FREEZE_MAY_DECREASE', 'gg["FREEZE_MAY_DECREASE"]'},
  217. {'gg.SIGN_FUZZY_EQUAL', 'gg["SIGN_FUZZY_EQUAL"]'},
  218. {'gg.processPause', 'gg["processPause"]'},
  219. {'gg.FREEZE_MAY_INCREASE', 'gg["FREEZE_MAY_INCREASE"]'},
  220. {'gg.getRangesList', 'gg["getRangesList"]'},
  221. {'gg.isProcessPaused', 'gg["isProcessPaused"]'},
  222. {'gg.getResults', 'gg["getResults"]'},
  223. {'gg.TAB_SEARCH', 'gg["TAB_SEARCH"]'},
  224. {'gg.copyText', 'gg["copyText"]'},
  225. {'gg.REGION_CODE_APP', 'gg["REGION_CODE_APP"]'},
  226. {'gg.POINTER_NO', 'gg["POINTER_NO"]'},
  227. {'gg.TAB_SAVED_LIST', 'gg["TAB_SAVED_LIST"]'},
  228. {'gg.searchFuzzy', 'gg["searchFuzzy"]'},
  229. {'gg.BUILD', 'gg["BUILD"]'},
  230. {'gg.internal2', 'gg["internal2"]'},
  231. {'gg.REGION_ASHMEM', 'gg["REGION_ASHMEM"]'},
  232. {'gg.TYPE_AUTO', 'gg["TYPE_AUTO"]'},
  233. {'gg.REGION_ANONYMOUS', 'gg["REGION_ANONYMOUS"]'},
  234. {'gg.clearResults','gg["clearResults"]'},
  235. {'gg.SAVE_AS_TEXT', 'gg["SAVE_AS_TEXT"]'},
  236. {'gg.removeResults', 'gg["removeResults"]'},
  237. {'gg.refineAddress', 'gg["refineAddress"]'},
  238. {'gg.refineNumber', 'gg["refineNumber"]'},
  239. {'gg.SIGN_LARGER', 'gg["SIGN_LARGER"]'},
  240. {'gg.TYPE_FLOAT', 'gg["TYPE_FLOAT"]'},
  241. {'gg.choice', 'gg["choice"]'},
  242. {'gg.SIGN_FUZZY_GREATER', 'gg["SIGN_FUZZY_GREATER"]'},
  243. {'gg.SIGN_EQUAL', 'gg["SIGN_EQUAL"]'},
  244. {'gg.numberFromLocale', 'gg["numberFromLocale"]'},
  245. {'gg.FREEZE_NORMAL', 'gg["FREEZE_NORMAL"]'},
  246. {'gg.LOAD_APPEND', 'gg["LOAD_APPEND"]'},
  247. {'gg.TYPE_WORD', 'gg["TYPE_WORD"]'},
  248. {'gg.POINTER_READ_ONLY', 'gg["POINTER_READ_ONLY"]'},
  249. {'gg.POINTER_WRITABLE', 'gg["POINTER_WRITABLE"]'},
  250. {'gg.REGION_JAVA_HEAP', 'gg["REGION_JAVA_HEAP"]'},
  251. {'gg.getSelectedElements', 'gg["getSelectedElements"]'},
  252. {'gg.showUiButton', 'gg["showUiButton"]'},
  253. {'gg.isVisible', 'gg["isVisible"]'},
  254. {'gg.gotoAddress', 'gg["gotoAddress"]'},
  255. {'gg.SIGN_FUZZY_LESS', 'gg["SIGN_FUZZY_LESS"]'},
  256. {'gg.getSelectedPackage', 'gg["getSelectedPackage"]'},
  257. {'gg.TAB_MEMORY_EDITOR', 'gg["TAB_MEMORY_EDITOR"]'},
  258. {'gg.REGION_C_BSS', 'gg["REGION_C_BSS"]'},
  259. {'gg.saveList', 'gg["saveList"]'},
  260. {'gg.addListItems', 'gg["addListItems"]'},
  261. {'gg.POINTER_EXECUTABLE', 'gg["POINTER_EXECUTABLE"]'},
  262. {'gg.prompt', 'gg["prompt"]'},
  263. {'gg.DUMP_SKIP_SYSTEM_LIBS', 'gg["DUMP_SKIP_SYSTEM_LIBS"]'},
  264. {'gg.setVisible', 'gg["setVisible"]'},
  265. {'gg.REGION_PPSSPP', 'gg["REGION_PPSSPP"]'},
  266. {'gg.REGION_JAVA', 'gg["REGION_JAVA"]'},
  267. {'gg.searchNumber', 'gg["searchNumber"]'},
  268. {'gg.POINTER_EXECUTABLE_WRITABLE', 'gg["POINTER_EXECUTABLE_WRITABLE"]'},
  269. {'gg.TYPE_DOUBLE', 'gg["TYPE_DOUBLE"]'},
  270. {'gg.PROT_EXEC', 'gg["PROT_EXEC"]'},
  271. {'gg.saveVariable', 'gg["saveVariable"]'},
  272. {'gg.TAB_SETTINGS', 'gg["TAB_SETTINGS"]'},
  273. {'gg.isPackageInstalled', 'gg["isPackageInstalled"]'},
  274. {'gg.numberToLocale', 'gg["numberToLocale"]'},
  275. {'gg.clearList', 'gg["clearList"]'},
  276. {'gg.copyMemory', 'gg["copyMemory"]'},
  277. {'gg.EXT_STORAGE', 'gg["EXT_STORAGE"]'},
  278. {'gg.SIGN_SMALLER', 'gg["SIGN_SMALLER"]'},
  279. {'gg.REGION_C_ALLOC', 'gg["REGION_C_ALLOC"]'},
  280. {'gg.hideUiButton', 'gg["hideUiButton"]'},
  281. {'gg.VERSION_INT', 'gg["VERSION_INT"]'},
  282. {'gg.sleep', 'gg["sleep"]'},
  283. {'gg.loadList', 'gg["loadList"]'},
  284. {'gg.SIGN_FUZZY_NOT_EQUAL', 'gg["SIGN_FUZZY_NOT_EQUAL"]'},
  285. {'gg.TYPE_DWORD', 'gg["TYPE_DWORD"]'},
  286. {'gg.VERSION', 'gg["VERSION"]'},
  287. {'gg.isClickedUiButton', 'gg["isClickedUiButton"]'},
  288. {'gg.dumpMemory', 'gg["dumpMemory"]'},
  289. {'gg.PACKAGE', 'gg["PACKAGE"]'},
  290. {'gg.EXT_CACHE_DIR', 'gg["EXT_CACHE_DIR"]'},
  291. {'gg.searchAddress', 'gg["searchAddress"]'},
  292. {'os.setlocale', 'os["setlocale"]'},
  293. {'os.clock', 'os["clock"]'},
  294. {'os.tmpname', 'os["tmpname"]'},
  295. {'os.getenv', 'os["getenv"]'},
  296. {'os.execute', 'os["execute"]'},
  297. {'os.difftime', 'os["difftime"]'},
  298. {'os.rename', 'os["rename"]'},
  299. {'os.exit', 'os["exit"]'},
  300. {'os.remove', 'os["remove"]'},
  301. {'os.time', 'os["time"]'},
  302. {'os.date', 'os["date"]'},
  303. {'io.popen', 'io["popen"]'},
  304. {'io.stdout', 'io["stdout"]'},
  305. {'io.lines', 'io["lines"]'},
  306. {'io.write', 'io["write"]'},
  307. {'io.tmpfile', 'io["tmpfile"]'},
  308. {'io.open', 'io["open"]'},
  309. {'io.stderr', 'io["stderr"]'},
  310. {'io.close', 'io["close"]'},
  311. {'io.input', 'io["input"]'},
  312. {'io.read', 'io["read"]'},
  313. {'io.output', 'io["output"]'},
  314. {'io.flush', 'io["flush"]'},
  315. {'io.type', 'io["type"]'},
  316. {'string.dump', 'string["dump"]'},
  317. {'string.reverse', 'string["reverse"]'},
  318. {'string.char', 'string["char"]'},
  319. {'string.unpack', 'string["unpack"]'},
  320. {'string.match', 'string["match"]'},
  321. {'string.gsub', 'string["gsub"]'},
  322. {'string.find', 'string["find"]'},
  323. {'string.pack', 'string["pack"]'},
  324. {'string.gmatch', 'string["gmatch"]'},
  325. {'string.format', 'string["format"]'},
  326. {'string.packsize', 'string["packsize"]'},
  327. {'string.lower', 'string["lower"]'},
  328. {'string.upper', 'string["upper"]'},
  329. {'string.rep', 'string["rep"]'},
  330. {'string.sub', 'string["sub"]'},
  331. {'string.byte', 'string["byte"]'},
  332. {'string.len', 'string["len"]'},
  333. {'table.concat', 'table["concat"]'},
  334. {'table.remove', 'table["remove"]'},
  335. {'table.sort', 'table["sort"]'},
  336. {'table.pack', 'table["pack"]'},
  337. {'table.move', 'table["move"]'},
  338. {'table.insert', 'table["insert"]'},
  339. {'table.unpack', 'table["unpack"]'},
  340. {'math.sqrt', 'math["sqrt"]'},
  341. {'math.atan2', 'math["atan2"]'},
  342. {'math.ceil', 'math["ceil"]'},
  343. {'math.tanh', 'math["tanh"]'},
  344. {'math.rad', 'math["rad"]'},
  345. {'math.pi', 'math["pi"]'},
  346. {'math.abs', 'math["abs"]'},
  347. {'math.sinh', 'math["sinh"]'},
  348. {'math.atan', 'math["atan"]'},
  349. {'math.fmod', 'math["fmod"]'},
  350. {'math.mininteger', 'math["mininteger"]'},
  351. {'math.random', 'math["random"]'},
  352. {'math.max', 'math["max"]'},
  353. {'math.randomseed', 'math["randomseed"]'},
  354. {'math.modf', 'math["modf"]'},
  355. {'math.deg', 'math["deg"]'},
  356. {'math.exp', 'math["exp"]'},
  357. {'math.ldexp', 'math["ldexp"]'},
  358. {'math.cosh', 'math["cosh"]'},
  359. {'math.ult', 'math["ult"]'},
  360. {'math.log', 'math["log"]'},
  361. {'math.tointeger', 'math["tointeger"]'},
  362. {'math.frexp', 'math["frexp"]'},
  363. {'math.huge', 'math["huge"]'},
  364. {'math.asin', 'math["asin"]'},
  365. {'math.maxinteger', 'math["maxinteger"]'},
  366. {'math.tan', 'math["tan"]'},
  367. {'math.floor', 'math["floor"]'},
  368. {'math.pow', 'math["pow"]'},
  369. {'math.acos', 'math["acos"]'},
  370. {'math.cos', 'math["cos"]'},
  371. {'math.type', 'math["type"]'},
  372. {'math.min', 'math["min"]'},
  373. {'math.sin', 'math["sin"]'},
  374. {'debug.getregistry', 'debug["getregistry"]'},
  375. {'debug.getuservalue', 'debug["getuservalue"]'},
  376. {'debug.setuservalue', 'debug["setuservalue"]'},
  377. {'debug.getupvalue', 'debug["getupvalue"]'},
  378. {'debug.getinfo', 'debug["getinfo"]'},
  379. {'debug.getlocal', 'debug["getlocal"]'},
  380. {'debug.setlocal', 'debug["setlocal"]'},
  381. {'debug.setupvalue', 'debug["setupvalue"]'},
  382. {'debug.traceback', 'debug["traceback"]'},
  383. {'debug.getmetatable', 'debug["getmetatable"]'},
  384. {'debug.setmetatable', 'debug["setmetatable"]'},
  385. {'debug.debug', 'debug["debug"]'},
  386. {'debug.upvaluejoin', 'debug["upvaluejoin"]'},
  387. {'debug.sethook', 'debug["sethook"]'},
  388. {'debug.gethook', 'debug["gethook"]'},
  389. {'debug.upvalueid', 'debug["upvalueid"]'},
  390. {'%"\\"(.-)%\\""', Encode},{'%"(.-)%"', Encode},{"%'\\'(.-)%\\''", Encode},{"%'(.-)%'", Encode},{"%[%[(.-)%]%]", Encode},{"%[==%[(.-)%]==%]",Encode}
  391. }
  392. lines = { }
  393. for line in io.lines(pathes[1]) do
  394. lines[#lines + 1] = line
  395. end
  396.  
  397. for index = 1, #Cryptable do
  398. for i, v in pairs(lines) do
  399. lines[i] = string.gsub(v, Cryptable[index][1], Cryptable[index][2])
  400. end
  401. if index == #Cryptable then
  402. for i in ipairs(Enc.Key) do;table.insert(Dec.Key, Enc.Key[i]);end
  403. end
  404. end
  405.  
  406. data = 'local _G = _G\nlocal gg = gg\nlocal os = os\nlocal io = io\nlocal string = string\nlocal table = table\nlocal math = math\nlocal debug = debug\ngg["toast"]("๐Ÿ›ก โ„ขEncryption by Hแด€แด„แด‹แด‡ส€_ส€แด€แดŠแด˜แดœT Version 3.0โ„ข ๐Ÿ›ก")\nlocal HBI = { }\nlocal Files = io["open"](gg["getFile"](), "r")\nlocal content = Files:read("*a")\nio["close"](Files)\nFiles = nil\nif tostring(_ENV.gg):find("@") then\nprint("HOOK DETECTED\n\nDon\'t hooking this script!")\nos["exit"]()\nelse\nfor i in tostring(_ENV):gmatch("function: @(.-):") do\nif i ~= gg["getFile"]() then\ngg["alert"]("HOOK DETECTED\n\nDon\'t hooking this script!")\nreturn os["exit"]()\nend\nend\nend\nlocal KonxletText = content\nfor k, v in pairs(gg) do\nif type(v) == "function" and k == "clearResults" then\nlocal Misterz = function(...)\ngg["isPackageInstalled"](KonxletText)\nreturn v(table["unpack"]({...}))\nend\ngg[k] = Misterz\nend\nend\nfunction KonzletV4()\nlocal Length = "0"\nlocal Ranges = "10000"\nlocal Text = string["rep"]("\\000", Ranges)\nfor xxmnb = 1, "1500" do\nHBI[xxmnb + Length] = "\'"..Text.."\'"\nend\nfor i = 1, 5 do\nio["open"](gg["getFile"]().."c"..tostring(string["dump"](loadfile(gg["getFile"]()), false, false)), "w")\nend\nfor k, v in pairs(HBI) do\ngg["isPackageInstalled"](v)\nend\nreturn gg["clearResults"]()\nend\n\nKonzletV4() ; KonzletV4()'
  407.  
  408. data = string.gsub(data, '%"(.-)%"', function(c)
  409. results = ''
  410. c = c:gsub("\\n", "\n")
  411. v = math.random(6,7)
  412. if v ~= 7 then
  413. results = results.."_G:Konslet1("..Encode6(c, random_number(3), random_number(v))..")"
  414. else
  415. results = results.."_G:Konslet2("..Encode7(c, random_number(3), random_number(v))..")"
  416. end
  417. return results
  418. end)
  419.  
  420. for x, number in pairs(Dec.Key) do
  421. Dec.Key[x] = '"'..string.rep(
  422. "\\000",
  423. tonumber(number)
  424. )..'"'
  425. end
  426.  
  427. Konzlet_Vs4="local Kea = {"..table.concat(Dec.Key, ",").."}"
  428.  
  429. Enc["Kea"][1]=Konzlet_Vs4.."\n\n"..[[Kea.Key = (function(Index); return #Kea[1000 + Index]; end)]]
  430. --Hแด€แด„แด‹แด‡ส€_ส€แด€แดŠแด˜แดœT ๏ฟฝ
  431. Enc["Kea"][2]=[[local Konzlet5 = (function(str, length, ...)
  432. local res = ''
  433. local arg = str.ENC
  434. local ind = 1
  435. while( ind < #arg + 1 )do
  436. arg[ind] = string.char((arg[ind] + Key(5) * (Key(1) + Key(3) - ind) - length - ind) % 256)
  437. ind = ind + 1
  438. end
  439. local str = { }
  440. for i in ipairs(arg) do
  441. str[#str + 1] = arg[i + i]
  442. end
  443. for i = 1, #arg do
  444. if arg[i + 1] ~= nil then; table.remove(arg, i + 1); end
  445. end
  446. for i, value in pairs(str)do
  447. str[i] = arg[i]..value
  448. res = res..string.char((tonumber(str[i], 16) - Key(1) * (Key(9) + Key(10)) + length) % 256)
  449. end
  450. return res
  451. end)]]
  452.  
  453. Enc["Kea"][3]=[[local Konzlet3 = (function(str, length, ...)
  454. local res = ''
  455. local arg = str.ENC
  456. local ind = 1
  457. while( ind < #arg + 1 )do
  458. arg[ind] = string.char((arg[ind] - Key(3) * (Key(10) - Key(7) * ind) - length - ind) % 256)
  459. ind = ind + 1
  460. end
  461. local str = { }
  462. for i in ipairs(arg) do
  463. str[#str + 1] = arg[i + i]
  464. end
  465. for i = 1, #arg do
  466. if arg[i + 1] ~= nil then; table.remove(arg, i + 1); end
  467. end
  468. for i, value in pairs(str)do
  469. str[i] = arg[i]..value
  470. res = res..string.char((tonumber(str[i], 16) - Key(3) * (Key(6) + Key(9)) + length) % 256)
  471. end
  472. return res
  473. end)]]
  474.  
  475. Enc["Kea"][4]=[[local Konzlet1 = (function(str, length, ...)
  476. local res = ''
  477. local arg = str.ENC
  478. local ind = 1
  479. while( ind < #arg + 1 )do
  480. arg[ind] = res..string.char((arg[ind] - Key(1) * (Key(9) + Key(10) * ind) - length - ind) % 256)
  481. ind = ind + 1
  482. end
  483. local str = { }
  484. for i in ipairs(arg) do
  485. str[#str + 1] = arg[i + i]
  486. end
  487. for i = 1, #arg do
  488. if arg[i + 1] ~= nil then; table.remove(arg, i + 1); end
  489. end
  490. for i, value in pairs(str)do
  491. str[i] = arg[i]..value
  492. res = res..string.char((tonumber(str[i], 16) - Key(5) * (Key(1) - Key(9)) - length) % 256)
  493. end
  494. return res
  495. end)]]
  496.  
  497. Enc["Kea"][5]=[[local Konzlet2 = (function(str, length, ...)
  498. local res = ''
  499. local arg = str.ENC
  500. local ind = 1
  501. while( ind < #arg + 1 )do
  502. arg[ind] = string.char((arg[ind] - Key(2) * Key(7) - (Key(8) * ind) - length - ind) % 256)
  503. ind = ind + 1
  504. end
  505. local str = { }
  506. for i in ipairs(arg) do
  507. str[#str + 1] = arg[i + i]
  508. end
  509. for i = 1, #arg do
  510. if arg[i + 1] ~= nil then; table.remove(arg, i + 1); end
  511. end
  512. for i, value in pairs(str)do
  513. str[i] = arg[i]..value
  514. res = res..string.char((tonumber(str[i], 16) - Key(4) * (Key(8) - Key(6)) - length) % 256)
  515. end
  516. return res
  517. end)]]
  518.  
  519. Enc["Kea"][6]=[[local Konzlet4 = (function(str, length, ...)
  520. local res = ''
  521. local arg = str.ENC
  522. local ind = 1
  523. while( ind < #arg + 1 )do
  524. arg[ind] = string.char((arg[ind] + Key(4) * (Key(9) + Key(8) - ind) - length - ind) % 256)
  525. ind = ind + 1
  526. end
  527. local str = { }
  528. for i in ipairs(arg) do
  529. str[#str + 1] = arg[i + i]
  530. end
  531. for i = 1, #arg do
  532. if arg[i + 1] ~= nil then; table.remove(arg, i + 1); end
  533. end
  534. for i, value in pairs(str)do
  535. str[i] = arg[i]..value
  536. res = res..string.char((tonumber(str[i], 16) - Key(2) * (Key(7) + Key(10)) + length) % 256)
  537. end
  538. return res
  539. end)]]
  540.  
  541. Enc["Kea"][7]=[[local Konslet2 = (function(str, length, ...)
  542. local res = ''
  543. local arg = str.ENC
  544. local ind = 1
  545. while( ind < #arg + 1 )do
  546. res = res..string.char((arg[ind] - Key(2) * (Key(5) + Key(10) - ind) + length * ind) % 256)
  547. ind = ind + 1
  548. end
  549. return res
  550. end)]]
  551.  
  552. Enc["Kea"][8]=[[local Konslet1 = (function(str, length, ...)
  553. local res = ''
  554. local arg = str.ENC
  555. local ind = 1
  556. while( ind < #arg + 1 )do
  557. res = res..string.char((arg[ind] - Key(1) * (Key(4) + Key(9) - ind) + length * ind) % 256)
  558. ind = ind + 1
  559. end
  560. return res
  561. end)]]
  562. --Hแด€แด„แด‹แด‡ส€_ส€แด€แดŠแด˜แดœT ๏ฟฝ
  563. Enc["Kea"][9]=[[function _G:Konzlet1(a, b, ...)return Konzlet1(a, b, ...)end]]; Enc["Kea"][10]=[[function _G:Konzlet2(a, b, ...)return Konzlet2(a, b, ...)end]]; Enc["Kea"][11]=[[function _G:Konzlet3(a, b, ...)return Konzlet3(a, b, ...)end]]; Enc["Kea"][12]=[[function _G:Konzlet4(a, b, ...)return Konzlet4(a, b, ...)end]]; Enc["Kea"][13]=[[function _G:Konzlet5(a, b, ...)return Konzlet5(a, b, ...)end]]; Enc["Kea"][14]=[[function _G:Konslet1(a, b, ...)return Konslet1(a, b, ...)end]]; Enc["Kea"][15]=[[function _G:Konslet2(a, b, ...)return Konslet2(a, b, ...)end]]
  564.  
  565. for length, value in pairs(lines) do
  566. if length == 1 then; table.insert(Enc.Kea, data); end
  567.  
  568. Enc.Kea[#Enc.Kea + 1] = value
  569. end
  570.  
  571. data = nil
  572.  
  573. function data_write(path, mode, data)
  574. local w = io.open(path, mode)
  575. w:write(data)
  576. w:close()
  577. end
  578.  
  579. local Title = '_ENV["๏ฟฝ"] = {"\\000\\000\\000\\000\\n\\n\\t[\\"๐Ÿ›ก๏ธ โ„ข Encrypt Tool by Hแด€แด„แด‹แด‡ส€_ส€แด€แดŠแด˜แดœT Version 3.0 โ„ข ๐Ÿ›ก\\"]\\000\\000\\000\000", "\\n\\t\\t\\t\\t[\\" โ˜† https://t.me/kunwarviren_7 โ˜† \\"]\\n\\n"}\n\nlocal _Aa_ = (function()\nlocal _Xx_ = (function()\n'
  580. data_write(pathes[3], "w", Title)
  581.  
  582. local Less = '"'..string.rep("\\000", 10000)..'"'
  583. local Lien = { }
  584. for i = 1, 790 do;table.insert(Lien, Less);end
  585.  
  586. local num = 1
  587.  
  588. while ( num < 9 ) do
  589. data_write(pathes[3], "a", Enc.Kea[num])
  590. for i = 1, 2000 do
  591. data_write(pathes[3], "a", " or "..Less..'')
  592. if i == 2000 then
  593. data_write(pathes[3], "a", '\nlocal Lien = {'..table.concat(Lien, ",")..'}\n')
  594. if num == 1 then
  595. data_write(pathes[3], "a", "\nlocal Key = Kea.Key\n")
  596. end
  597. end
  598. end
  599. if num == 8 then
  600. for u, code in pairs(Enc.Kea) do
  601. if u > 8 then
  602. data_write(pathes[3], "a", code.."\n")
  603. end
  604. if u == #Enc.Kea then
  605. data_write(pathes[3], "a", "end)")
  606. for i = 1, 2000 do
  607. data_write(pathes[3], "a", " or "..Less..'')
  608. if i == 2000 then
  609. data_write(pathes[3], "a", "\n_Xx_()\nend)\n_Aa_()\n")
  610. end
  611. end
  612. end
  613. end
  614. end
  615. num = num + 1
  616. end
  617.  
  618. gg.saveVariable(Enc.info, source)
  619. local banner = os.date([[
  620. โ•โ”ณโ”๐Ÿ”ธโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”๐Ÿ”ธโ”โ”โ•
  621. เฆ”เงฃอœอกโžณ[100โ„…] Script is successfully Encrypted โ—
  622. โ•โ”ปโ”๐Ÿ”ธโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”๐Ÿ”ธโ”โ”โ•
  623.  
  624. โ™”๐Ÿ”น %H:%M:%S %p โŒš๏ธ %d/%H/%Y ๐Ÿ”นโ™”
  625.  
  626. ๐Ÿ”น
  627.  
  628. [๐Ÿ“] File Save To : Path_
  629.  
  630. ๐Ÿ”น
  631.  
  632. โ™”๐Ÿ”น Telegram โŸฎ @kunwarviren_7 โŸฏ ๐Ÿ”นโ™”
  633.  
  634. โ•โ”ณโ”๐Ÿ”ธโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”๐Ÿ”ธโ”โ”โ•
  635. เฆ”เงฃอœอกโžณ๐Ÿ›ก๏ธ Encryption by Hแด€แด„แด‹แด‡ส€_ส€แด€แดŠแด˜แดœT Version 3.0 ๐Ÿ›ก๏ธ
  636. โ•โ”ปโ”๐Ÿ”ธโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”๐Ÿ”ธโ”โ”โ•
  637. ]]):gsub("Path_", pathes[2]):gsub("storage/emulated/0", "sdcard")
  638.  
  639. if loadfile(pathes[3]) == nil then
  640. gg.alert("โŒ SORRY โŒ\n\nSomething when wrong !")
  641. print(os.date("%H:%M:%S %p โŒš๏ธ %A, %d %B %Y\n\nโœ˜ Failed !"))
  642. return os.remove(pathes[3])
  643. else
  644. data_write(pathes[2], "w", string.dump(loadfile(pathes[3]), true, true))
  645. gg.toast("Success โœ”๏ธ")
  646. gg.sleep("1700")
  647. gg.setVisible(true)
  648. print(banner)
  649. return os.remove(pathes[3])
  650. end
Add Comment
Please, Sign In to add comment