SA-MP Forums Archive
Warning: PlayerDialogResponse crash exploit from PlayerId: 65535 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Warning: PlayerDialogResponse crash exploit from PlayerId: 65535 (/showthread.php?tid=446874)



Warning: PlayerDialogResponse crash exploit from PlayerId: 65535 - nGen.SoNNy - 27.06.2013

Hello guys. Some piece of shit people joined my server and did this to it. Server got in freeze and that's it. Solutions?
If somebody need all the server_log for more information i will add it.
Something weird: [PlayerId: 65535]

pawn Код:
[21:21:23] Warning: PlayerDialogResponse crash exploit from PlayerId: 65535
[21:21:23] Packet was modified, sent by id: 11, ip: 46.98.19.60:63174



Re: Warning: PlayerDialogResponse crash exploit from PlayerId: 65535 - SsHady - 27.06.2013

Some Kind of ddos? i think


Re: Warning: PlayerDialogResponse crash exploit from PlayerId: 65535 - SuperViper - 28.06.2013

Inputting %s and a few other format placeholders into a dialog will crash the server if not taken care of at the top of OnDialogResponse.


Re: Warning: PlayerDialogResponse crash exploit from PlayerId: 65535 - nGen.SoNNy - 28.06.2013

I wanna use fixes2 plugin for this but my server crash from this plugin.

******: NOTE THAT THE LINUX VERSION HAS NOT BEEN TESTED WITH THE EXPLOITS CODE!


Re: Warning: PlayerDialogResponse crash exploit from PlayerId: 65535 - doreto - 28.06.2013

Quote:
Originally Posted by nGen.SoNNy
Посмотреть сообщение
I wanna use fixes2 plugin for this but my server crash from this plugin.

******: NOTE THAT THE LINUX VERSION HAS NOT BEEN TESTED WITH THE EXPLOITS CODE!
Here is little thing that help me prevent exploit like this
pawn Код:
// on top of your OnDialogResponce....
new len = strlen (inputtext);
       
    for (new i = 0; i < len; ++i)
        if (inputtext [i] == '%')
            inputtext [i] = '#';