Null byte ? - 07/08/05 01:53 PM
I want to use null byte in mirc.. is it possible ?
I must send this info with tcp/ip:
The command packet format consists of:
* packet size (int)
o the number of bytes from the start of the requestid to the end of string2 (including the null byte). It must be at least 10.
* request id (int)
* SERVERDATA_EXECCOMMAND / SERVERDATA_AUTH (int)
o SERVERDATA_AUTH is currently 3
o SERVERDATA_EXECCOMMAND is currently 2
* string1 (is the command to run).
* string2 must be null ("");
For RCON connections the first command must be a SERVERDATA_AUTH command. If a SERVERDATA_EXECCOMMAND command is sent prior to successful authentication then a SERVERDATA_AUTH_RESPONSE response packet with the failure condition is sent (see the response section for details). The INT's are 32 Bit Little Endian byte order.
I must send this info with tcp/ip:
The command packet format consists of:
* packet size (int)
o the number of bytes from the start of the requestid to the end of string2 (including the null byte). It must be at least 10.
* request id (int)
* SERVERDATA_EXECCOMMAND / SERVERDATA_AUTH (int)
o SERVERDATA_AUTH is currently 3
o SERVERDATA_EXECCOMMAND is currently 2
* string1 (is the command to run).
* string2 must be null ("");
For RCON connections the first command must be a SERVERDATA_AUTH command. If a SERVERDATA_EXECCOMMAND command is sent prior to successful authentication then a SERVERDATA_AUTH_RESPONSE response packet with the failure condition is sent (see the response section for details). The INT's are 32 Bit Little Endian byte order.