Edit: oh well, Mitch posted it already, my bad, can hardly read stuff from this mobile phone.
Wouldn't recommend doing something like this, if I were to catch all connectionless packets on the clientside (Modified client) and you would do this I could in theory read the server's rcon password lol.