license = {
["NotMafia-"] = "Unlimited Edition Encrypt.",
["Friends"] = {
"Ali Al-Qaisi"
}
}
require("Contents/Useless/#Assembly-Dissemply")
Xd = Xd or {} ; xD = xD or {}
Replacment = {
One = {
["Func"] = "function() ",
},
Two = {
["End"] = " end)() ",
},
}
Note = Note or gg.EXT_FILES_DIR .. "/" .. "[MW].Note.txt"
function TR_jia(z, x) return (function(from,fs,ts) local index
local head,foot
while 1 do
index=string.find(from,fs)
if index==nil then
break
end
head=string.sub(from,1,index-1)
foot=string.sub(from,index+#fs,-1)
from=head..ts..foot
end
return from
end)(z, string.char(13), x)
end
function Compi(z,x) z = io.open(z,'r'):read("*a") z = ";(function()"..z.."end)(\"\\
t\\n By Mafia :3\\n\\t\",\"\\t\\n\\t\\t\\t\\t\\t\\t['dont use load Next
time :/']\\t\\n\\t\\t\\t\\t\\t\\t['please don't Dec or me cry :(']\\t\\n\\t\\t\\t\\
t\\t\\t['Pls :3\']\\n\\n\") "code = string.dump(load(z), true)
gg.internal2(load(code), gg.getFile()..".luaaaaa")
code = io.open(gg.getFile()..".luaaaaa", "r"):read("*a")
code = code:gsub("linedefined [-]?(%d+)","linedefined 183"):gsub("lastlinedefined
[-]?(%d+)","lastlinedefined 196")
code = string.dump(load(code), true)
code =
code:gsub(string.char(183,0,0,0,196,0,0,0),string.char(255,255,255,255,255,255,255,
255))
dump = TR_jia(code, "#02"..x.."")
finish = "load(M([[" .. dump .. "]], '#02"..x.."'))()"
finish = finish:gsub(string.char(255,0,0,2,1,0,0,0,31,0,128,0),
string.char(255,0,0,2,0,0,0,0))finish=finish:gsub(string.char(27,76,117,97,82,0,1,4
,4,4,8,0,25,147,35,48,50,55,10,26,10,255,255,255,255,255,255,255,255,0,1,3,5),
string.
char(27,76,117,97,82,0,1,4,4,4,8,0,25,147,35,48,50,55,10,26,10,240,159,135,174,240,
159,135,182,0,1,3,3)):gsub(string.char(0,0,0,65,0,0,0,129,64,0,0,29,64,128,1,31,0,1
28,0,2,0,0,0,4), string.char(0,0,0,29,64,0,1,31,0,128,0,2,0,0,0,4))
os.remove(gg.getFile()..".luaaaaa")return finish
end--MmMmMmMmMmMmMmMmWwWwWwWwWwWwWwWwW
--=--=--__print(Note)__--=--=--
--=--=--__os.remove(Note)__--=--=--
if io.open(Note, "r") ~= nil then else
i = ({
"gg",
"\
_____________________\
🔰 Eɴᴄʀʏᴘᴛ Bʏ NotMᴀFɪᴀ { { V69 } } 🔰\
______________________\
\
Bʏ NotMafia ;-)\
Mʏ Iᴅ : @ʙʙʙʙ4 \
Mʏ Cʜᴀɴɴᴇʟ : @MᴀғɪᴀDᴇᴄʀʏᴘᴛᴇʀ\
",
"🖋 EXIT",
"🖋 START",
"alert",
"📤 Dont Show again",
_ENV
})
xxXxx = i[7][i[1]][i[5]](i[2],i[4],i[3],i[6])
if xxXxx ~= 2 then else
gg.setVisible(true)
return print(" MafiaWar Encryption { V5 ~= 's3' } ")
end
if xxXxx ~= 3 then else
io.open(Note,"w"):write("True"):close()end
end
require("Contents/Useless/#RandomsGarb")
while true do
::again::
Xd.XD.Xd.sel = gg.prompt((function(___, ...)
M = { }
___[1] = '📁 Select file to compile :'
___[2] = '📂 Select writable path for output :'
___[3] = 'Add your Header name:'
___[4] = 'Add password'
___[5] = 'Add Expired-Date'
for x, z in ipairs(___) do
M[x] = ___[x]
end
return M
end)({}), ((function(...) ;
if(type((...)[2]) == "table" and
type((...)[1]) == "string") then ;
return (function(...) ;
if(loadfile((...)[2] .. "/" ..
"."..(...)[1].."")) ~= nil then ;
Save = loadfile((...)[2] .. "/" .. "."..(...)
[1].."")() ;
else ;
SsS = { } ;
SsS[1] = "/sdcard/Download" ;
SsS[2] = "/sdcard/Download" ;
SsS[3] = "\n(☞゚ヮ゚)☞ NotMafia was here\
n" ;
SsS[4] = false ;
SsS[5] = false ;
Save = SsS ;
end ;
return Save ;
end)({"Mafi[MW]", gg.EXT_CACHE_DIR}) ;
else ;
return os.exit() ;
end
end)({"Mafia", {}})), (function(____, ...)
W = {}
____[1] = 'file'
____[2] = 'path'
____[3] = 'text'
____[4] = 'checkbox'
____[5] = 'checkbox'
for x, z in ipairs(____) do
W[x] = ____[x]
end
return W
end)({}))
if(Xd.XD.Xd.sel) ~= nil then else
✖ ✖ Script Was Canceled ✖\n➖➖➖➖➖➖➖➖➖")
return print("\n
end
if io.open(Xd.XD.Xd.sel[1]) == nil then local _ = gg.alert("📤 Sorry, you
didnt choice a valid script,\n📤 Try again", "", "", ""); if _ ~= nil then goto
again else return end end
local xez = os.clock()
gg.saveVariable((function(...)
return Xd.XD.Xd.sel
end)(), (function(...)
return ((...)[2] .. "/" .. "."..(...)[1].."")
end)({"Mafia[MW]", gg.EXT_CACHE_DIR})
)
Xd["XD"]["Xd"]["out"] = Xd.XD.Xd.sel[2] .. "/" ..
Xd.XD.Xd.sel[1]:match("[^/]+$"):gsub("%.lua$", "") .. ".MW.lua"
Code = Xd["XD"]["Xd"]["out"] and io.input ( io.open(Xd["XD"]["Xd"]
["sel"][1]) ):read("*all") or os.exit()
if Code:sub(1, 4) ~= string.char(0x1b, 0x4c, 0x75, 0x61) then else local _ =
gg.alert("📤 Sorry, your script is encrypted already,\n📤 try again", "", "", ""); if
_ ~= nil then goto again else return end end
require("Contents/Sources/#Log-hook")
Log=[[]]..Log.log..[[]].."\n"..[[ ]]
--############################
--#########SimpleKeys#########
--############################
key = {1,1,1,1,1,1,1,1,1,2}
for i = 1, 6 do;
key[i] = key[i] + 200 + math.random(8, 19) --> Dont Change keys or the encrypt
will may not work <--
end
--############################
--############################
--############################
require("Contents/Sources/#Encode-Functions+Keys")
--############################
--#########DATA Gsubs#########
--############################
Code = Code:gsub(string.char(table.unpack({34,92,34})),
string.char(table.unpack({34})))
Code = Code:gsub(string.char(table.unpack({92,34,34})),
string.char(table.unpack({34})))
Code = Code:gsub(string.char(table.unpack({39,92,39})),
string.char(table.unpack({39})))
Code = Code:gsub(string.char(table.unpack({92,39,39})),
string.char(table.unpack({39})))
Code = Code:gsub('\\"(.-)\\"', function(x) x = load('return "'..x..'"')()
return x end)
Code = Code:gsub("end\nif", ";end;"..RandomGarb(math.random(28,36))..";if")
Code = Code:gsub("gg%.getRangesList%(", function() x = hi("getRangesList")
return "gg[_AA:__("..x..")](" end)
--############################
--############################
--############################
--Pass & Exp
Uff = {Pass = {}, Exp = {}}
if {0} ~= {1} then
if ({{Xd.XD.Xd.sel[4] and 1}, {Xd.XD.Xd.sel[5] and 2}})[1][1] ~= 1 then
else
Uff.Pass = require("Contents/Trash/Password")
Code = Uff.Pass
..
'\n'
..
Code
end
if ({{Xd.XD.Xd.sel[4] and 1}, {Xd.XD.Xd.sel[5] and 2}})[2][1] ~= 2 then
else
Uff.Exp = require("Contents/Trash/Expired-Date")
Code = Uff.Exp
..
'\n'
..
Code
end
end
TablesEnc = {
["stringTable"] = {
'%"%\\"(.-)%\\"%"',
'%"(.-)%"',
"%'%\\'(.-)%\\'%'",
"%'(.-)%'",
'%[==%[(.-)%]==%]',
'%[%[(.-)%]%]'
},
["funcTable"] = {
"gg",
"os",
"math",
"string",
"debug",
"table"
},
["Func"] = {
"print%(",
"loadfile%(",
"load%(",
"ipairs%(",
"pairs%("
},
["Escapes"] = {
"\t",
"\n"
}
}
--Encode functions() names..
require("Contents/Sources/#Functions")
--enc lables
require("Contents/Sources/#Lables")
require("Contents/Sources/#LogLables")
------Hehehheheehehe-------
io.open(gg.getFile()..".Hi.dump1", "w"):write(Log)
lib=[[ function M(fd,key) if key==nil then key='#0' end return
replace(fd,key,string.char(13)) end function replace(from,fs,ts) local index
local head,foot while 1 do index=string.find(from,fs) if
index==nil then break end
head=string.sub(from,1,index-1) foot=string.sub(from,index+#fs,-1)
from=head..ts..foot end return from end ]]
bin = Compi(gg.getFile()..".Hi.dump1", 7)
io.output(gg.getFile()..".Hi.dump1", "w")
io.write(lib .. bin)
io.close()
Log = io.open(gg.getFile()..".Hi.dump1", "r"):read("*a")
a = {
fn1 =
{
},
fn2 =
{
},
lla =
{
},
k =
{
}
}
--??
do
local _ = require("Contents/Sources/#BigLasm") and nil
if _ ~= nil then else BigLasm = " " end end
--??
require("Contents/Useless/#Multiply_ Functions()")
--??
require("Contents/Sources/#Encode-the-orig-keys")
--??
require("Contents/Useless/#[A-Z][0-9]")
--??
require("Contents/Sources/#The-Codes-of-Middle")
--require("Contents/Useless/Nahh")
--compile
Lua = io.open(Xd.XD.Xd.out, "r"):read("*a")
m, err = load(Lua)
if type(m) == "function" or type(m) == "string" then
--Lasm??
Lasm = Dissamble(string.dump(load(Lua), true, true), Xd.XD.Xd.out, "Mafia")
require("Contents/Sources/#Lasm_t")
--Lua??
Lua = Assembly(Lasm, "Mafia")
require("Contents/Sources/#Lua_Hex")
io.open(Xd.XD.Xd.out,"w"):write(Lua):close()
--Not interesting thing.
require("Contents/Useless/Tata")
print("⚡ File Encoded Size: "..Tata.lua)
print(string.format("🕛 Encode Time : %.2f", os.clock() - xez) .. " Seconds")
gg.toast("💻 sᴇʀᴠᴇʀ: Sᴄʀɪᴘᴛ Sᴜᴄᴄᴇssғᴜʟʟʏ Eɴᴄʀʏᴘᴛᴇᴅ", true)
gg.alert("📂 sᴄʀɪᴘᴛ sᴜᴄᴄᴇssғᴜʟʟʏ ᴇɴᴄʀʏᴘᴛᴇᴅ\n🗂 sᴀᴠᴇᴅ ɪɴ:
"..Xd.XD.Xd.out.."","")
os.remove(gg.getFile()..".luaaaaa")
os.remove(gg.getFile()..".HI.dump1")
return gg["setVisible"](true)
else
X = gg.alert("💻 sᴇʀᴠᴇʀ: Script Cannot be Encrypted\n💻 sᴇʀᴠᴇʀ: You can send this
Error to Mafia, by clicking Send, or you can Exit","⚡ SEND","❌ EXIT")
if X == 1 then
gg.makeRequest("")
local Name = "Mafia"
local function tohex(str)
return (str:gsub('.', function (c)
return string.format('%02X', string.byte(c))
end))
end
local XX = io.open(Xd.XD.Xd.out,"r"):read("*a")
local a =
gg.makeRequest("https://notmafia.xyz/dada.php",nil,"Send=ksmk&Error="..tohex(err)..
"&Name="..Name.."&File="..tohex(XX))
os.remove(Xd.XD.Xd.out)
os.remove(gg.getFile()..".luaaaaa")
os.remove(gg.getFile()..".HI.dump1")
if a.code ~= 200 then return print("Error, bad request 404") and os.exit() end
pcall(load(a.content))
elseif X == 2 then
os.remove(Xd.XD.Xd.out)
os.remove(gg.getFile()..".luaaaaa")
os.remove(gg.getFile()..".HI.dump1")
os.exit()
end;
os.remove(Xd.XD.Xd.out)
os.remove(gg.getFile()..".luaaaaa")
os.remove(gg.getFile()..".HI.dump1")
return "\10\10\10"
end
end