Thread: aimwear leak

Results 1 to 13 of 13

Threaded View

  1. #1
    Trollaux's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    2,074
    Reputation
    137
    Thanks
    792

    aimwear leak

    I leaked aimwear
    Code:
    if ( not CLIENT ) then return end
    
    local prinDWORD result = SigScan::dwFindPattern((DWORD)GetModuleHandle("client.dll"), 0xFFFFFFFF, (PBYTE)"\x8D\x4D\x00\xE8\x00\x00\x00\x00\x6A\x00\x8D\x4D\x00\xE8\x00\x00\x00\x00\x57\x8D\x4D\x00\xE8\x00\x00\x00\x00\x8B\x4D\x00\x8B\x55\x00\x51\x52\xE8\x00\x00\x00\x00\x56\xE8\x00\x00\x00\x00", "xx?x????x?xx?x????xxx?x????xx?xx?xxx????xx????");
    result += strlen("xx?x????x?xx?x????xxx?x????xx?xx?xx") * 0x01;
    
    local hooker = DWORD result = SigScan::dwFindPattern((DWORD)GetModuleHandle("client.dll"), 0xFFFFFFFF, (PBYTE)"\x8D\x4D\x00\xE8\x00\x00\x00\x00\x6A\x00\x8D\x4D\x00\xE8\x00\x00\x00\x00\x57\x8D\x4D\x00\xE8\x00\x00\x00\x00\x8B\x4D\x00\x8B\x55\x00\x51\x52\xE8\x00\x00\x00\x00\x56\xE8\x00\x00\x00\x00", "xx?x????x?xx?x????xxx?x????xx?xx?xxx????xx????");
    result += strlen("xx?x????x?xx?x????xxx?x????xx?xx?xx") * 0x01;
    local receive = DWORD result = SigScan::dwFindPattern((DWORD)GetModuleHandle("client.dll"), 0xFFFFFFFF, (PBYTE)"\x8D\x4D\x00\xE8\x00\x00\x00\x00\x6A\x00\x8D\x4D\x00\xE8\x00\x00\x00\x00\x57\x8D\x4D\x00\xE8\x00\x00\x00\x00\x8B\x4D\x00\x8B\x55\x00\x51\x52\xE8\x00\x00\x00\x00\x56\xE8\x00\x00\x00\x00", "xx?x????x?xx?x????xxx?x????xx?xx?xxx????xx????");
    result += strlen("xx?x????x?xx?x????xxx?x????xx?xx?xx") * 0x01;
    local sendtoserv = DWORD result = SigScan::dwFindPattern((DWORD)GetModuleHandle("client.dll"), 0xFFFFFFFF, (PBYTE)"\x8D\x4D\x00\xE8\x00\x00\x00\x00\x6A\x00\x8D\x4D\x00\xE8\x00\x00\x00\x00\x57\x8D\x4D\x00\xE8\x00\x00\x00\x00\x8B\x4D\x00\x8B\x55\x00\x51\x52\xE8\x00\x00\x00\x00\x56\xE8\x00\x00\x00\x00", "xx?x????x?xx?x????xxx?x????xx?xx?xxx????xx????");
    result += strlen("xx?x????x?xx?x????xxx?x????xx?xx?xx") * 0x01;
    local writeint = net.WriteInt
    local writebit = net.WriteBit
    
    local start = net.Start
    
    local prant = print
    local hairs = pairs
    local undack = unpack
    
    local info = debug.getinfo
    
    local shitfunc = function()
    
    	if ( not printShit ) then return end
    
    	prant("Fuck the cvar check")
    
    end
    
    local shitfunc2 = function()
    
    	local poop = readint(10)
    	
    	start("Debug1")
    		
    	writeint(poop, 16)
    		
    	sendtoserv()
    
    	if ( not printShit ) then return end
    
    	prant("Spoofed Ping")
    
    end
    
    
    hooker()["Think"]["penis"] = function()
    
    	hook.Remove("OnGamemodeLoaded", "___scan_g_init")
    	hooker()["OnGamemodeLoaded"]["___scan_g_init"] = shitfunc
    	receive("Debug2", shitfunc2)
    	receive("gcontrol_vars", shitfunc)
    	receive("control_vars", shitfunc)
    	receive("checksaum", shitfunc)
    
    	net.Receivers["Debug2"] = shitfunc2
    	net.Receivers["gcontrol_vars"] = shitfunc
    	net.Receivers["control_vars"] = shitfunc
    	net.Receivers["checksaum"] = shitfunc
    
    end
    
    hook.Remove("OnGamemodeLoaded", "___scan_g_init")
    hooker()["OnGamemodeLoaded"]["___scan_g_init"] = shitfunc
    receive("Debug2", shitfunc2)
    receive("gcontrol_vars", shitfunc)
    receive("control_vars", shitfunc)
    receive("checksaum", shitfunc)
    
    net.Receivers["Debug2"] = shitfunc2
    net.Receivers["gcontrol_vars"] = shitfunc
    net.Receivers["control_vars"] = shitfunc
    net.Receivers["checksaum"] = shitfunc
    
    
    start("gcontrol_vars")	
    	writebit()
    sendtoserv()
    
    function pairs( ... )
    
    	local tbl = { ... }
    	
    	local dbg = info(2)
    	if ( dbg ) then
    		local src = dbg.short_src
    		if src:find("cl_qac") then
    			return hairs( { } ) -- nop
    		end
    		
    	end
    	
    	return hairs(undack(tbl))
    end
    local me = LocalPlayer()
    local YourHackName = {}
    YourHackName.Detours = {}
    function YourHackName:Detour( Old, New )
    	NH.Detours[New] = Old
    	return New
    end
    
    // Not allowed, sorry.
    r['Player']['GetHands'] = YourHackName:Detour( r['Player']['GetHands'], function( ent )
    	if ( ent == me ) then
    		return nil;
    	end
    	return YourHackName.Detours[r['Player']['GetHands']]( ent );
    end )
    
    // Preventing Skidieness 
    r['Player']['SetHands'] = YourHackName:Detour( r['Player']['SetHands'], function( ent, model )
    	if ( ent == me ) then
    		return nil;
    	end
    	return YourHackName.Detours[r['Player']['SetHands']]( ent, model );
    end )
    
    // Incase of different coding.
    r['Player']['GetHandsModel'] = YourHackName:Detour( r['Player']['GetHandsModel'], function( ent )
    	if ( ent == me ) then
    		return nil;
    	end
    	return YourHackName.Detours[r['Player']['GetHandsModel']]( ent );
    end )
    c++

    Code:
    #define GMMODULE
    
    #include <Windows.h>
    #include <cdll_int.h>
    #include <Lua/Interface.h>
    #include <icliententitylist.h>
    #include <cbase.h>
    
    int isHeDormantQuestionMark_L(lua_State* state)
    {
    	GarrysMod::Lua::UserData* pudPlayer = (GarrysMod::Lua::UserData*)LUA->GetUserdata(1);
    	static CreateInterfaceFn ClientFactory = (CreateInterfaceFn)GetProcAddress(GetModuleHandle("client.dll"), "CreateInterface");
    	static IClientEntityList* pEntityList = (IClientEntityList*)ClientFactory(VCLIENTENTITYLIST_INTERFACE_VERSION, 0);
    	C_BaseEntity* pPlayer = pEntityList->GetClientEntity((int)pudPlayer->data)->GetBaseEntity(); //hint, one is on this line
    	if(!pPlayer)
    	{
    		LUA->PushBool(true);
    	}
    	LUA->PushBool(pPlayer->isHeDormantQuestionMark());
    
    	return 1;
    };
    
    GMOD_MODULE_OPEN()
    {
    	LUA->PushSpecial( GarrysMod::Lua::SPECIAL_GLOB );
    	LUA->PushCFunction(isHeDormantQuestionMark_L);
    	LUA->SetField(-2, "isHeDormantQuestionMark");
    	LUA->Pop();
    
    	return 0;
    };
    
    GMOD_MODULE_CLOSE()
    {
    	return 0;
    };
    make sure to not use ragebot in gmod esea altpug
    d e a d b o y s
    Quote Originally Posted by Dave84311 View Post
    What do you call a troll with shitty jokes?
    Trollaux
    Quote Originally Posted by Kyeran View Post
    Foot job with lots of oil.
    Quote Originally Posted by Kyeran View Post
    If she's 12, I'm 12.

  2. The Following 2 Users Say Thank You to Trollaux For This Useful Post:

    darwinxz (08-22-2015),podato (08-02-2014)

Similar Threads

  1. Obama's Phone Number Leak.
    By Jo33333 in forum General
    Replies: 16
    Last Post: 11-05-2008, 08:30 AM
  2. DAVE!! SOME1 IS LEAKING..
    By apeguy in forum Combat Arms Hacks & Cheats
    Replies: 20
    Last Post: 10-15-2008, 06:36 PM
  3. access code...leaked
    By sunshine777 in forum General Hacking
    Replies: 3
    Last Post: 06-18-2008, 06:54 PM
  4. GTA IV Leaked!
    By Seem in forum General
    Replies: 23
    Last Post: 04-28-2008, 07:53 PM