Raised This Month: $51 Target: $400
 12% 

CSGO - have fun with the server lagger exploit


Post New Thread Reply   
 
Thread Tools Display Modes
Domino_
AlliedModders Donor
Join Date: Jul 2016
Old 04-30-2018 , 08:27   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #111

The new exploit involves sending voice data and the code for it was just released publicly, so there will probably be another wave of people abusing it. The code that was released sends ~900 blank VoiceData messages at the framerate of the user.
__________________
Domino_ is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 04-30-2018 , 08:32   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #112

https://www.youtube.com/watch?v=uHpWF9iqEUo

Video shows the exploit and has the source of the exploit in the description as well as a plugin that apparently blocks it.
hmmmmm is offline
Domino_
AlliedModders Donor
Join Date: Jul 2016
Old 04-30-2018 , 09:29   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #113

Quote:
Originally Posted by hmmmmm View Post
https://www.youtube.com/watch?v=uHpWF9iqEUo

Video shows the exploit and has the source of the exploit in the description as well as a plugin that apparently blocks it.
I've combined the plugin from the video's description with the previous plugin released in this thread.

Edit: Added ConVar for max voice packets per second before banning.
Attached Files
File Type: zip VoiceDataFix.zip (8.3 KB, 229 views)
File Type: sp Get Plugin or Get Source (VoiceDataFix.sp - 255 views - 2.7 KB)
File Type: smx VoiceDataFix_SBPP.smx (5.1 KB, 177 views)
__________________

Last edited by Domino_; 04-30-2018 at 11:42. Reason: 2nd update
Domino_ is offline
butare
Senior Member
Join Date: Nov 2016
Old 04-30-2018 , 09:56   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #114

Lol can someone explain it to me, why do you use this:
Code:
public Action RepeatingTimer(Handle timer)
{
    for(int i = 1;i <= MAXPLAYERS; i++)
        g_Count[i] = 0;

    return Plugin_Continue;
}

public void KillTheTimer()
{
    if(g_hTimer != INVALID_HANDLE)
    {
        KillTimer(g_hTimer);
        g_hTimer = INVALID_HANDLE;
    }
}

public void OnMapStart()
{
    KillTheTimer();
    g_bCheck = false;
    for(int i = 1;i <= 64; i++)
        g_Count[i] = 0;
}

public void OnRoundStart(Event event, const char[] name, bool dontBroadcast)
{
        KillTheTimer();
        g_hTimer = CreateTimer(1.0, RepeatingTimer, _, TIMER_REPEAT);
        g_bCheck = true;
}

public void OnRoundEnd(Event event, const char[] name, bool dontBroadcast)
{
    KillTheTimer();
    g_bCheck = false;
    for(int i = 1;i <= 64; i++)
        g_Count[i] = 0;
}
when you can simply do this:
Code:
public void OnMapStart()
{
    CreateTimer(1.0, ResetCount, _, TIMER_REPEAT | TIMER_FLAG_NO_MAPCHANGE);
}

public Action ResetCount(Handle timer)
{
    for(int i = 1;i <= MaxClients; i++)
        g_Count[i] = 0;

    return Plugin_Continue;
}
?????

Last edited by butare; 04-30-2018 at 09:57.
butare is offline
Domino_
AlliedModders Donor
Join Date: Jul 2016
Old 04-30-2018 , 10:12   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #115

Quote:
Originally Posted by butare View Post
Lol can someone explain it to me, why do you use this:
I only briefly read over the code when updating it to new syntax, wasn't thinking to much about the logic of the timer. Just assumed they had their reasons and wanted to get a compiled plugin for people to use released. I agree, it seems a little redundant. I've edited my last post with updated code, was planning on doing it anyway later today.
__________________

Last edited by Domino_; 04-30-2018 at 10:33. Reason: I can't seem to form sentences today -_-
Domino_ is offline
coolmemes
New Member
Join Date: Apr 2018
Old 04-30-2018 , 10:42   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #116

@butare @Domino_ the plugin on the video was updated with different logic.
coolmemes is offline
butare
Senior Member
Join Date: Nov 2016
Old 04-30-2018 , 10:46   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #117

Quote:
Originally Posted by coolmemes View Post
@butare @Domino_ the plugin on the video was updated with different logic.
What do you mean? Plugin on the video still uses weird way of using timer lol
butare is offline
coolmemes
New Member
Join Date: Apr 2018
Old 04-30-2018 , 10:49   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #118

Quote:
Originally Posted by butare View Post
What do you mean?
Code:
public Action ResetCount(Handle:timer)
{
    for(int i = 1;i <= MAXPLAYERS; i++)
        g_Count[i] = 0;

    return Plugin_Continue;
}

public OnPluginStart()
{
    g_hTimer = CreateTimer(1.0, ResetCount, _, TIMER_REPEAT);
}

public OnMapStart()
{
    if(g_hTimer == INVALID_HANDLE)
    {
        g_hTimer = CreateTimer(1.0, ResetCount, _, TIMER_REPEAT);
    }
}

public OnMapEnd()
{
    if(g_hTimer != INVALID_HANDLE)
    {
        KillTimer(g_hTimer);
        g_hTimer = INVALID_HANDLE;
    }
}
Not sure how this is weird. Plugin starts the timer OnPluginStart and OnMapStart (if not already started). Timer stops OnMapEnd. If it is weird please contribute your amazing timer code rather than cry about it.
coolmemes is offline
butare
Senior Member
Join Date: Nov 2016
Old 04-30-2018 , 10:50  
Reply With Quote #119

Quote:
Originally Posted by coolmemes View Post
Code:
public Action ResetCount(Handle:timer)
{
    for(int i = 1;i <= MAXPLAYERS; i++)
        g_Count[i] = 0;

    return Plugin_Continue;
}

public OnPluginStart()
{
    g_hTimer = CreateTimer(1.0, ResetCount, _, TIMER_REPEAT);
}

public OnMapStart()
{
    if(g_hTimer == INVALID_HANDLE)
    {
        g_hTimer = CreateTimer(1.0, ResetCount, _, TIMER_REPEAT);
    }
}

public OnMapEnd()
{
    if(g_hTimer != INVALID_HANDLE)
    {
        KillTimer(g_hTimer);
        g_hTimer = INVALID_HANDLE;
    }
}
Not sure how this is weird. Plugin starts the timer OnPluginStart and OnMapStart (if not already started). Timer stops OnMapEnd. If it is weird please contribute your amazing timer code rather than cry about it.
I already did that :/

Code:
public void OnMapStart()
{
    CreateTimer(1.0, ResetCount, _, TIMER_REPEAT | TIMER_FLAG_NO_MAPCHANGE);
}

public Action ResetCount(Handle timer)
{
    for(int i = 1;i <= MaxClients; i++)
        g_Count[i] = 0;

    return Plugin_Continue;
}
And I'm not crying lol, please read what I wrote before start hate me without any reason lol

Last edited by sneaK; 04-30-2018 at 12:27. Reason: merged posts
butare is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 04-30-2018 , 15:44   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #120

Tested, and this does not stop the crash exploit.
__________________
sneaK 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 20:51.


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