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

Possible exploit


Post New Thread Reply   
 
Thread Tools Display Modes
Xutax_Kamay
Member
Join Date: Feb 2016
Old 01-29-2018 , 16:34   Re: Possible exploit
Reply With Quote #11

Quote:
Originally Posted by asdfxD View Post
kamay is a css/csgo hack coder known from royalhack. so i think it is realy an exploit that should be fixed lol
Royalhack have been erasing me from their current cheat forums, so nop, definitly not a coder from there. Probably wav or some guys trolling me but what ever.
Xutax_Kamay is offline
Lannister
Veteran Member
Join Date: Apr 2015
Old 01-31-2018 , 14:40   Re: Possible exploit
Reply With Quote #12

Everyone seems quiet now about this, did something happend?
Lannister is offline
darthelmo1
Junior Member
Join Date: Nov 2016
Old 01-31-2018 , 22:33   Re: Possible exploit
Reply With Quote #13

Quote:
Originally Posted by Lannister View Post
Everyone seems quiet now about this, did something happend?
The guy responsible posted directly above you in the thread, everyone probably got spooked.

Exploit is still live, he's come on my server on 3 IPs and multiple accounts now, I can only keep my flatfile disabled for so long. If anyone has updates or temporary fixes for this please inform.


Here he is:
http://steamcommunity.com/profiles/76561197965954837/
http://steamcommunity.com/profiles/76561198321695646/
darthelmo1 is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 01-31-2018 , 22:55   Re: Possible exploit
Reply With Quote #14

Add sv_allowupload 0 to the server.cfg.
__________________
Fearts is offline
Fluxxx
Junior Member
Join Date: Jan 2018
Old 02-01-2018 , 00:53   Re: Possible exploit
Reply With Quote #15

Quote:
Originally Posted by Fearts View Post
Add sv_allowupload 0 to the server.cfg.
Wont this affect FastDL?
Fluxxx is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 02-01-2018 , 02:45   Re: Possible exploit
Reply With Quote #16

Quote:
Originally Posted by Fluxxx View Post
Wont this affect FastDL?
sv_allowupload
FastDL

so no
__________________
8guawong is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 02-01-2018 , 03:05   Re: Possible exploit
Reply With Quote #17

Quote:
Originally Posted by Fluxxx View Post
Wont this affect FastDL?
Neither sv_allowupload nor sv_allowdownload will effect your "FastDL" with sv_downloadurl.

sv_allowupload and sv_allowdownload solely controls the allowance of uploading (e.g. sprays) and downloading (sprays, maps, etc.) DIRECTLY to/from the game server, and is not at all related to sv_downloadurl.

So you can just keep them both @ 0..
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].

Last edited by DarkDeviL; 02-01-2018 at 03:07.
DarkDeviL is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 02-02-2018 , 10:36   Re: Possible exploit
Reply With Quote #18

if OnFileReceive does what i think it does, this should work
Code:
#include <sourcemod>
#include <sdktools>

char block[][] =
{
	"cfg",
	"addons",
	".dll",
	".so",
	".smx",
	".txt",
};

public Action OnFileReceive(int client, const char[] sFile)
{
	for(int i = 0; i < sizeof(block); i++)
	{
		if(StrContains(sFile, block[i], false) != -1)
		{
			return Plugin_Handled;
		}
	}

	return Plugin_Continue;
}
untested ^
__________________
retired
shavit is offline
Xutax_Kamay
Member
Join Date: Feb 2016
Old 02-02-2018 , 21:09   Re: Possible exploit
Reply With Quote #19

Quote:
Originally Posted by darthelmo1 View Post
The guy responsible posted directly above you in the thread, everyone probably got spooked.

Exploit is still live, he's come on my server on 3 IPs and multiple accounts now, I can only keep my flatfile disabled for so long. If anyone has updates or temporary fixes for this please inform.


Here he is:
http://steamcommunity.com/profiles/76561197965954837/
http://steamcommunity.com/profiles/76561198321695646/
Oh interesting, didn't know someone else would fake me (again).

Though it's surprising that valve keeps trying to fix this and can't fix it properly it seems.

Last edited by Xutax_Kamay; 02-02-2018 at 21:11.
Xutax_Kamay is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 02-03-2018 , 04:01   Re: Possible exploit
Reply With Quote #20

Quote:
Originally Posted by shavit View Post
if OnFileReceive does what i think it does, this should work
Code:
#include <sourcemod>
#include <sdktools>

char block[][] =
{
	"cfg",
	"addons",
	".dll",
	".so",
	".smx",
	".txt",
};

public Action OnFileReceive(int client, const char[] sFile)
{
	for(int i = 0; i < sizeof(block); i++)
	{
		if(StrContains(sFile, block[i], false) != -1)
		{
			return Plugin_Handled;
		}
	}

	return Plugin_Continue;
}
untested ^
D-fens extension did something similar to this:

Code:
char g_szAllowedPaths[][] = 
{
	"downloads",
	"maps",
	"materials",
	"particles",
	"models",
	"sound"	
};

public Action OnFileReceive(int client, const char[] sFile)
{
	bool bAllowed = false;

	char getDir[10];

	if (SplitString(sFile, "/", getDir, sizeof(getDir)) == -1)
	{
		SplitString(sFile, "\\", getDir, sizeof(getDir));
	}

	for(int i = 0; i < sizeof(g_szAllowedPaths); i++)
	{
		if(StrEqual(getDir, g_szAllowedPaths[i], false))
		{
			bAllowed = true;
		}
	}

	if(!bAllowed)
	{
		if (client != 0){
			LogMessage("%N attempted to upload illegal file %s", client, sFile);
		}
		return Plugin_Handled;
	}

	return Plugin_Continue;
}

public Action OnFileSend(int client, const char[] sFile)
{
	bool bAllowed = false;

	char getDir[10];

	if (SplitString(sFile, "/", getDir, sizeof(getDir)) == -1)
	{
		SplitString(sFile, "\\", getDir, sizeof(getDir));
	}

	for(int i = 0; i < sizeof(g_szAllowedPaths); i++)
	{
		if(StrEqual(getDir, g_szAllowedPaths[i], false))
		{
			bAllowed = true;
		}
	}

	if(!bAllowed)
	{
		if (client != 0){
			LogMessage("%N attempted to download illegal file %s", client, sFile);
		}
		return Plugin_Handled;
	}
		
	return Plugin_Continue;
}

Last edited by Visual77; 02-03-2018 at 13:37. Reason: edited.
Visual77 is offline
Reply


Thread Tools
Display Modes

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 19:41.


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