Quacked rcon commands

Information about the engine technology is revealed and discussed here
Post Reply
SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

Quacked rcon commands

Post by SilentAngel »

I've found some informations about rcon commands, peopple says that, to make a remote command you cannot semply send packets to the server with the rconpassword and the command, I found that the way in which Quake based games send RCON commands to the server is this:

Code: Select all

0xFF 0xFF 0xFF 0xFF 0x02 rcon password command
is that true?
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Almost true. ;)

A packet that starts with 4 0xFF bytes is called out-of-band in Quake terminology. The band is comprised of the packets that carry player input (keystrokes, mouse movements) and world snapshots (descriptions of the state of the game world at a given time), while out-of-band packets are text commands which are used for miscellanous communication (server queries, client commands such as weapon or team choices or chat messages, or server commands like stufftext).

So, yeah, you need to prefix your rcon command with the four 0xFF bytes. That 0x02 byte is unnecessary, in fact, it might make the command be unrecognized.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

Post by SilentAngel »

lol you really knows too many things man..be careful..if you learn something more your head is gonna make BOOM! :D
Ty man for the good explanation, I never programmed for quake engine..
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

I did a fair bit in my time. :) John Carmack has some great ideas, I'm modeling my own game engine after Quake.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

Post by SilentAngel »

Chat messages are contained in netchan UDP packets isn't it?? well..if so it's almost impossible to read them becouse they are encripted..that make me so so sad..is there a way to detect the encription key of these packets? maybe (if it's possible) with a sort of spy program(lol..spy program sounds funny) that run beside MOH server and recieve decripted messages directly from it..even if that sound me really really a fantasy mistic tool lol :D
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

If you need to intercept chat messages there are a ton of other non-netchan ways to do that - from parsing the logs to hooking the game logic library to intercept them.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Post Reply