Closed Ethorbit closed 3 years ago
What does that command even do in the first place?
No clue why it's in the gamemode, but it allows you to restart the current map.
RunConsoleCommand("changelevel", game.GetMap())
(Also I am sorry for the argument we had earlier. Entirely my fault.)
If you're wondering why it's in the game mode it's for development. Makes it easy to type qr (Zet0rz changed it to nz_qr) to restart the current map rather than typing out the whole command
So 3 years later and this is still a vulnerability that exists.. I can just join any NZ server right now and restart the map on everybody as many times as I want!
@Alig96 @Zet0rz Please fix. I know you guys have moved on, but people still download from these Git projects and host servers.
Original discovery by Scarpia: http://steamcommunity.com/id/scarpia1/
The command nz_qr did not have an admin check. The nz_test1 command doesn't either, but doesn't look harmful.