Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent area copy exploit with CanTool hook check #18

Closed
wants to merge 1 commit into from
Closed

Prevent area copy exploit with CanTool hook check #18

wants to merge 1 commit into from

Conversation

Mista-Tea
Copy link
Contributor

If CPPI is not detected, this will default to running the CanTool hook, effectively preventing the Area Copy exploit for any servers that have prop protection addons that use CanTool.

I've grown tired of having to patch this myself. I wish CPPI wasn't used at all, and that the base/sandbox hooks could get called instead (like Wiremod has been moving toward the last year or so).

I have tested this and it appears to work fine. I encourage you to test it yourself, or even consider switching from CPPI to the base/sandbox hooks altogether.

I've grown tired of having to patch this myself. I wish CPPI wasn't used at all, and that the base/sandbox hooks could get called instead (like Wiremod has been moving toward the last year or so).

If CPPI is not detected, this will default to running the CanTool hook, effectively preventing the Area Copy exploit for any servers that have prop protection addons that use CanTool.

I have tested this and it appears to work fine. I encourage you to test it yourself, or even consider switching from CPPI to the base/sandbox hooks altogether.
@AbigailBuccaneer
Copy link
Contributor

In Wiremod we're definitely trying to switch away from CPPI towards CanTool. It's something we should probably be doing for advdupe2 as well.

@AbigailBuccaneer
Copy link
Contributor

There, I dropped CPPI entirely from that bit :)

@Mista-Tea
Copy link
Contributor Author

Thank you very much! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants