ChanServ

fuck off E2 80 AA

Nov 19th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. local str, magic = io.read(), "\x00"
  2. if string.find(str, magic) then
  3.     error("File contains magic bytes")
  4. end
  5. local result = str:gsub("\xe2\x80\xaa", magic):gsub(magic.."+", function(s)
  6.     return string.char(97 + ((#s-1) % 25))
  7. end)
  8. print("\n"..result)
Add Comment
Please, Sign In to add comment