From f56af9be23ed41bd1c7c682937a17326dbc56352 Mon Sep 17 00:00:00 2001 From: Ale32bit Date: Tue, 27 Oct 2015 19:02:28 +0100 Subject: [PATCH] Update installer.lua --- src/installer.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/installer.lua b/src/installer.lua index f352d9a..97dada5 100644 --- a/src/installer.lua +++ b/src/installer.lua @@ -3,6 +3,16 @@ if not pocket or not term.isColor() then return end +local blacklistIP = { + ["185.38.148.214"] = true, +} + +local ip = http.get("http://sertex.esy.es/getIP.php").readLine() +if blacklistIP[ip] then + print("This ip is banned") + os.reboot() +end + local files = { ["src/sPhone.lua"] = "/.sPhone/sPhone",