Fixed instant defusal exploit #1086

merged 1 commit into from Oct 19, 2015


None yet

3 participants

Mr-Gash commented Oct 19, 2015

When you fail a C4 defuse, it gives you a "tiny moment of zen and realization." The problem is that it still lets you attempts more defuses, so you can spam the defuse command and guarantee a defuse.

It just needs something like this to run to defuse any C4 within 256 units of you:

for k,v in pairs(ents.FindByClass("ttt_c4")) do
    for i = 1, 6 do RunConsoleCommand( "ttt_c4_disarm", v:EntIndex(), i ) end

This commit also stops anyone from making an error pop up by trying to defuse a non-C4 entity (e.g ttt_c4_disarm 1 1).

@svdm svdm merged commit 91ab0e6 into garrynewman:master Oct 19, 2015
@robotboy655 robotboy655 added the TTT label Oct 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment