Raised This Month: $32 Target: $400
 8% 

[CS:GO] Aimware Anti-Crash


Post New Thread Reply   
 
Thread Tools Display Modes
Author
OSWO
Senior Member
Join Date: Jul 2015
Location: United Kingdom, London
Plugin ID:
5093
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fixes crash exploit.
    Old 03-19-2016 , 16:30   [CS:GO] Aimware Anti-Crash
    Reply With Quote #1

    Working Fix: https://forums.alliedmods.net/showpo...9&postcount=22

    Title:
    Anti-Setinfo

    Description:
    Anti-Setinfo and records data to a file.

    Commands:
    None.

    Plugin Info:
    Credits to @Element and @Neuro Toxin

    Change log:
    Code:
    v1.00
    Release
    Attached Files
    File Type: smx AntiCrash.smx (4.6 KB, 828 views)
    File Type: sp Get Plugin or Get Source (AntiCrash.sp - 2106 views - 1.4 KB)

    Last edited by OSWO; 03-20-2016 at 16:09.
    OSWO is offline
    Bara
    AlliedModders Donor
    Join Date: Apr 2012
    Location: Germany
    Old 03-19-2016 , 16:51   Re: [CS:GO] Aimware Anti-Crash
    Reply With Quote #2

    You can remove the attached .smx-file. (web compiler works fine)
    __________________
    Discord (Bara#5006) | My Plugins (GitHub)
    You like my work? Support is not a crime.
    Bara is offline
    Neuro Toxin
    Veteran Member
    Join Date: Oct 2013
    Location: { closing the void; }
    Old 03-19-2016 , 18:14   Re: [CS:GO] Aimware Anti-Crash
    Reply With Quote #3

    This hasn't been verified.

    Someone needs to confirm the crash method used by the latest aimware release.
    __________________
    Neuro Toxin is offline
    Peace-Maker
    SourceMod Plugin Approver
    Join Date: Aug 2008
    Location: Germany
    Old 03-19-2016 , 19:07   Re: [CS:GO] Aimware Anti-Crash
    Reply With Quote #4

    Make sure to always loop all clients including MaxClients like
    PHP Code:
    for (int i 1<= MaxClientsi++) 
    You should also include a time frame in your check, so legimate players changing some settings over a long time wouldn't be kicked eventually.
    __________________
    Peace-Maker is offline
    Lial
    Junior Member
    Join Date: Dec 2015
    Old 03-19-2016 , 19:26   Re: [CS:GO] Aimware Anti-Crash
    Reply With Quote #5

    i think these better
    Attached Files
    File Type: sp Get Plugin or Get Source (AntiCrash.sp - 1312 views - 1.2 KB)
    Lial is offline
    Neuro Toxin
    Veteran Member
    Join Date: Oct 2013
    Location: { closing the void; }
    Old 03-19-2016 , 20:22   Re: [CS:GO] Aimware Anti-Crash
    Reply With Quote #6

    This is what I had done before this thread was made.

    Code:
    static int s_iClientSettingsChangedCount[MAXPLAYERS+1];
    
    public void OnPluginStart()
    {
        CreateTimer(1.0, OnClientCountSettingsChanged, _, TIMER_REPEAT);
    }
    
    public OnClientConnected(int client)
    {
        s_iClientSettingsChangedCount[client] = 0;
    }
    
    public void OnClientSettingsChanged(int client)
    {
        if (IsFakeClient(client))
            return;
        
        s_iClientSettingsChangedCount[client]++;
    }
    
    public Action OnClientCountSettingsChanged(Handle timer, any data)
    {
        for (int client = 1; client <= MaxClients; client++)
        {
            if (!IsClientInGame(client))
                continue;
            
            if (IsFakeClient(client))
                continue;
            
            if (s_iClientSettingsChangedCount[client] > 10)
            {
                PrintToChatAll("[SM] %N was kicked for trying to crash the server.", client);
                KickClient(client, "Client suspected of setinfo exploit!");
                continue;
            }
            
            s_iClientSettingsChangedCount[client] = 0;
        }
    }
    As also stated: This plugin shouldnt be labeled "Aimware Anti-Crash" because no-one has actually confirmed if this is how the new Aimware crash works.

    This does however block name change abuse and the setinfo exploit.

    The OP was just wanting to get a plugin out without taking the time to go through the confirmation process.

    Edit: I will mention the above code has been confirmed to block the setinfo attack.
    __________________

    Last edited by Neuro Toxin; 03-19-2016 at 20:24.
    Neuro Toxin is offline
    OSWO
    Senior Member
    Join Date: Jul 2015
    Location: United Kingdom, London
    Old 03-19-2016 , 20:41   Re: [CS:GO] Aimware Anti-Crash
    Reply With Quote #7

    Alright, This has lead to no fix.

    I'd wait for Valve to update since they're affected too - and they know best about their own game. This still works for name changers as Neuro stated. Had a 2 hour trial and error with someone with Aimware, and no client commands were being picked up by the server, even though a ClientSetting was being changed.

    The crash only managed to trigger about 20 ClientSetting changes in a span of 20 or 30 seconds, which cannot be blocked since inspect weapons and all other things too trigger a ClientSetting Change so it's impossible to check against a overflow or spam attack.

    I'ld like the name to be changed to Anti-Setinfo if possible please, thanks.

    Last edited by OSWO; 03-19-2016 at 20:45.
    OSWO is offline
    PresidentEvil
    AlliedModders Donor
    Join Date: Jun 2012
    Old 03-19-2016 , 23:00   Re: [CS:GO] Aimware Anti-Crash
    Reply With Quote #8

    thanks for trying
    __________________
    PresidentEvil is offline
    sneaK
    SourceMod Moderator
    Join Date: Feb 2015
    Location: USA
    Old 03-20-2016 , 00:08   Re: [CS:GO] Aimware Anti-Crash
    Reply With Quote #9

    Quote:
    Originally Posted by PresidentEvil View Post
    thanks for trying
    Yes indeed, thank you sir
    sneaK is offline
    lasthero34
    Junior Member
    Join Date: Jun 2016
    Old 08-14-2016 , 16:10   Re: [CS:GO] Aimware Anti-Crash
    Reply With Quote #10

    Anyone tell me please its work ?

    I think they doing with aimware. https://www.youtube.com/watch?v=FSNLVnnlLt8

    Last edited by lasthero34; 08-14-2016 at 16:30.
    lasthero34 is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 17:12.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode