Welcome, Guest. Please login or register.
Did you miss your activation email?
September 19, 2024, 11:55:26 PM
Home Help Login Register
News: Trouble in Terrorist Town? Site here, forum here.

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Last Words Exploit
Pages: [1]
Author Topic: Last Words Exploit  (Read 3080 times)
StormX
Poster

Posts: 69


« on: October 03, 2010, 09:17:59 PM »

I was looking through TTT's code a few weeks back and discovered a exploit with _deathrec (last words command). Since you make ply.last_words_id nil after calling _deathrec for the first time, you are able to return nil on the first argument because nil == ply.last_words_id is a true statement. So you can call it multiple times.
FIX: Replace line 246 with
if tonumber(id) == ply.last_words_id and id not nil then

I also found this funny, it was one of the comments in the file:
        -- the only way we might get an invalid id is by a cunt trying to be
        -- clever in abusing this feature, so we won't let him have another
        -- go. Hey if you were thinking about trying that and you're reading
        -- this trying to find SWEETT HAX: you are a pathetic loser.

I found me some SWEETT HAX.
« Last Edit: October 03, 2010, 09:20:33 PM by StormX »
Mr. Gash
Poster

Posts: 382


www.nonerdsjustgeeks.com


« Reply #1 on: October 03, 2010, 09:26:02 PM »

Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #2 on: October 03, 2010, 09:28:59 PM »

Someone else reported this a few days ago. It's already fixed for v15.
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Last Words Exploit « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.008 seconds with 18 queries.