gmod-keypad
gmod-keypad copied to clipboard
Crash exploit
Keypad cracker can be used to crash a server by sending net messages
Resulting in this being spammed & a crash
[ERROR] addons/cracker/lua/entities/keypad/init.lua:18: attempt to call method 'GetStatus' (a nil value)
- func - addons/cracker/lua/entities/keypad/init.lua:18
- unknown - lua/includes/extensions/net.lua:32
Please could you provide us with detailed steps on how to reproduce the errors and crash?
I'm unsure how exactly it can be reproduced. All I know is it uses the keypad entity and/or the keypad cracker to spam net messages. SRCDS itself won't crash, at least not right away, but it disconnects all clients.
I couldn't reproduce the issue, I tried exploiting the keypad/cracker in various ways with modified clients but no luck since the keypad and cracker already have spam protection from a previous PR #19. I've created PR #21 to simply patch the error that you were seeing. Please update us if you see this issue happen again.