Advertisement
vipmodproff

ᴠɪᴘ x ᴛᴇᴀᴍ ʟɪᴛᴇ

Nov 25th, 2022
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.32 KB | None | 0 0
  1.  
  2.  
  3. LoginURL= "http://modproteam.000webhostapp.com/Login.php"
  4.  
  5. function split(s, delimiter)  result = {}; for match in (s..delimiter):gmatch("(.-)"..delimiter) do table.insert(result, match); end return result; end function WriteText(Direc,Text)f = io.open(Direc, "w") f:write(Text) f:close() end  function MakeRequest(URL,parm)  Content = gg.makeRequest(URL,nil,parm).content load('Dfile  = '.."string.char(table.unpack(".. "{"..Content:gsub(string.char(tonumber("40",16))..string.char(tonumber("45",16))..string.char(tonumber("6e",16))..string.char(tonumber("63",16))..string.char(tonumber("72",16))..string.char(tonumber("79",16))..string.char(tonumber("70",16))..string.char(tonumber("74",16))..string.char(tonumber("65",16))..string.char(tonumber("64",16))..string.char(tonumber("20",16))..string.char(tonumber("72",16))..string.char(tonumber("65",16))..string.char(tonumber("73",16))..string.char(tonumber("70",16))..string.char(tonumber("6f",16))..string.char(tonumber("6e",16))..string.char(tonumber("73",16))..string.char(tonumber("65",16))..string.char(tonumber("20",16))..string.char(tonumber("42",16))..string.char(tonumber("79",16))..string.char(tonumber("20",16))..string.char(tonumber("44",16))..string.char(tonumber("61",16))..string.char(tonumber("72",16))..string.char(tonumber("6b",16))..string.char(tonumber("69",16))..string.char(tonumber("6e",16))..string.char(tonumber("67",16))..string.char(tonumber("43",16))..string.char(tonumber("68",16))..string.char(tonumber("65",16))..string.char(tonumber("61",16))..string.char(tonumber("74",16))..string.char(tonumber("65",16))..string.char(tonumber("72",16))..string.char(tonumber("2c",16)),""):gsub(",","~ 255,").."~ 255}".."))")() return Dfile  end
  6. local open = io.open  local function read_file(path)  local file = open(path, "rb") if not file then return nil end  local content = file:read ("*a") file:close() return content end
  7. function JSONStringify(Json)  JsonText = "" for x=2,#Json,2  do  if x == 2 then  JsonText = "{"..'"'..Json[x-1]..'":'..'"'..Json[x]..'"'  else JsonText =JsonText..',"'..Json[x-1]..'":'..'"'..Json[x]..'"'  end if x == #Json then JsonText = JsonText.."}" end end return JsonText end
  8.  
  9.  
  10. function Main()
  11.  
  12. if read_file(gg.EXT_STORAGE.."/Login.conf") ~= nil and string.len(read_file(gg.EXT_STORAGE.."/Login.conf"))  > 2 then
  13. Choice = gg.choice({"↪Enter","📛Exit Account"})
  14. if not Choice then
  15. return
  16. end
  17. if Choice == 1 then
  18. __ = read_file(gg.EXT_STORAGE.."/Login.conf")
  19. ResponseContent = MakeRequest(LoginURL,__)
  20. Data = split(ResponseContent,"{SeParator}{SeParator}{Separator}")
  21. gg.alert(Data[1])
  22. load(Data[2])()
  23. return;
  24. else
  25. WriteText(gg.EXT_STORAGE.."/Login.conf","")
  26. end
  27. end
  28. Prompt = gg.prompt({"👥ᴜsᴇʀɴᴀᴍᴇ","🔐ᴘᴀssᴡᴏʀᴅ","❌ᴇxɪᴛ"},nil,{"text","text","checkbox"})
  29.     if not Prompt then
  30.     return
  31.     end
  32.     if Prompt[3] then
  33.     return
  34.     end
  35.  
  36. TempLogin = JSONStringify({"Username",Prompt[1],"Password",Prompt[2]})
  37.  
  38. ResponseContent = MakeRequest(LoginURL,TempLogin)
  39. Data = split(ResponseContent,"{SeParator}{SeParator}{Separator}")
  40. if #Data >1 then
  41. if read_file(gg.EXT_STORAGE.."/Login.conf") == nil or string.len(read_file(gg.EXT_STORAGE.."/Login.conf")) < 2  then
  42. WriteText(gg.EXT_STORAGE.."/Login.conf",TempLogin)
  43. end
  44. gg.alert(Data[1])
  45. if not Data[2] then
  46. Main()
  47. end
  48. load(Data[2])()
  49. else
  50. load(Data[1])()
  51. Main()
  52. end
  53. end
  54.  
  55. Main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement