Phantom Forces Netw...
 
Notifications
Clear all

Advertisements

Phantom Forces Network Spy

1 Posts
1 Users
0 Likes
2,898 Views
Scrip] Mater
Admin
Joined: 4 years ago
Posts: 128
Topic starter  

Phantom Forces Network Spy Script:

Spoiler
Script

rconsoleprint("gps \n\n")
rconsolename("gps")

local network;
for _, v in next, getgc(true) do
if type(v) == "table" and rawget(v, "send") then
network = v
break
end
end

function createNewPrint(name, args)
rconsoleprint("@@LIGHT_BLUE@@")
rconsoleprint("[!] "..name.."\n")
rconsoleprint("@@LIGHT_GRAY@@")
for i,v in pairs(args) do
if type(v) == "table" then
rconsoleprint(" |> "..tostring(v).." |v| \n")
for i,v in pairs(v) do
rconsoleprint(" > "..tostring(v).."\n")
end
else
rconsoleprint(" > "..tostring(v).."\n")
end
end
rconsoleprint("\n")
end

local old = network.send
function network:send(name, ...)
local prms = table.pack(...)
spawn(function()
if name ~= "repupdate" and name ~= "ping" then
createNewPrint(name, prms)
end
end)
return old(self, name, table.unpack(prms))
end


   
Quote
Topic Tags