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

[TF2] ActionProtect


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
VoiDeD
AlliedModders Donor
Join Date: Mar 2009
Location: Illinois, USA
Old 12-31-2013 , 00:33   [TF2] ActionProtect
Reply With Quote #1

Update: This extension should no longer be required. Valve claims to have fixed the exploit.

This is an extension to block a recent exploit present in some TF2 hacks. In short, the hacks allow clients to activate the action slot item of other players.

This extension will silently disallow activating another player's action slot items, but allow usage of their own.

I only have a windows build available for now, someone will need to make a linux build.
A linux build has been thoughtfully provided by KyleS, you'll find it at the same location as the windows build.

Download here: https://github.com/VoiDeD/ActionProtect/releases

Source: https://github.com/VoiDeD/ActionProtect
__________________

Last edited by VoiDeD; 01-23-2014 at 22:24.
VoiDeD is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-31-2013 , 02:14   Re: [TF2] ActionProtect
Reply With Quote #2

Should I just assume CDetour is to be copied from SDKTools?

Either way, gcc really doesn't like something being called in the SDK after adjusting the include paths to include CDetour, hl2sdk-tf2/game/server/ and hl2sdk-tf2/game/shared/ from the SDK and bombs out with these errors.

Spoiler
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 12-31-2013 , 02:23   Re: [TF2] ActionProtect
Reply With Quote #3

Quote:
Originally Posted by Powerlord View Post
Should I just assume CDetour is to be copied from SDKTools?
There's nothing from SM that's used by the extension (at the moment). There's no requirement for CDetour, SourceHook comes from MM:S.

Quote:
Originally Posted by Powerlord View Post
Either way, gcc really doesn't like something being called in the SDK after adjusting the include paths to include CDetour, hl2sdk-tf2/game/server/ and hl2sdk-tf2/game/shared/ from the SDK and bombs out with these errors.
cbase.h is poison.

This might help you, it's just a hacked upon makefile that I keep copying from other projects.
https://github.com/KyleSanderson/ActionProtect
KyleS is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 12-31-2013 , 03:07   Re: [TF2] ActionProtect
Reply With Quote #4

Thank you VoiDeD for patching that exploit so quickly. Thank you to you as well Kyle for the linux build.

Last edited by Sreaper; 12-31-2013 at 03:07.
Sreaper is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 12-31-2013 , 04:07   Re: [TF2] ActionProtect
Reply With Quote #5

Wonderful! Installing as we speak!

Tried rcon sm exts load actionprotect with the Linux version, got this:

[SM] Extension actionprotect.ext.so failed to load: /home/abrandnewday/testy/tf/addons/sourcemod/extensions/actionprotect.ext.so: undefined symbol: _ZNK9KeyValues7GetNameEv

Last edited by 404UserNotFound; 12-31-2013 at 04:12.
404UserNotFound is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 12-31-2013 , 08:31   Re: [TF2] ActionProtect
Reply With Quote #6

Getting the same error on Linux. Restarting the server didn't fix it either

I had never heard about this exploit before, though. Weird...but nice job fixing it before it became widely known about, I guess
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
psychonic

BAFFLED
Join Date: May 2008
Old 12-31-2013 , 09:49   Re: [TF2] ActionProtect
Reply With Quote #7

Sounds like tier1 didn't get linked into the linux build.
psychonic is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 12-31-2013 , 10:33   Re: [TF2] ActionProtect
Reply With Quote #8

Quote:
Originally Posted by psychonic View Post
Sounds like tier1 didn't get linked into the linux build.
<insert obligatory Fry from Futurama going "FIX IT FIX IT FIX IT FIX IT" here>
404UserNotFound is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 12-31-2013 , 11:13   Re: [TF2] ActionProtect
Reply With Quote #9

Such a quick fix. For a while i thought it had something to do with HHH, but i found out it was a player later on.
Mitchell is offline
pcmaster
AlliedModders Donor
Join Date: Sep 2009
Old 12-31-2013 , 12:37   Re: [TF2] ActionProtect
Reply With Quote #10

Wouldn't it be possible to make that fix as a plugin rather than an extension?
__________________
Stopped hosting servers as of November 2018, no longer active around here.
pcmaster 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 03:08.


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