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

Trusting user input #7

Open
D4stiny opened this issue Mar 13, 2018 · 0 comments
Open

Trusting user input #7

D4stiny opened this issue Mar 13, 2018 · 0 comments

Comments

@D4stiny
Copy link

D4stiny commented Mar 13, 2018

if(FloatAbs(g_Sensitivity[client] * g_mYaw[client]) > 0.6)

Convars can easily be changed by a malicious user. Never trust variables that can be manipulated by the user. If I reported back saying my sensitivity was 99999 (spoof, this does not mean in my game I will actually have 99999 sensitivity), I can easily use aimbot all I want as this falls under your if statement which will just return out of the checkAimbot function.

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

No branches or pull requests

1 participant