stevomitric
4th March 2015, 19:50
Hello again...
i'm having problems with decrypting cod2 data. Actually its not a problem. I simply don't know the encryption key.
Okey here is what i've done so far (Language: Python):
I got 2 Computers connected together on LAN.
On the first one i've written the server script ( how the original cod server would responde )
Code:
import socket #importing module
IP = "192.168.1.119" #my Local IP
PORT = 28960 #Port of server
sock = socket.socket(socket.AF_INET, # Internet
socket.SOCK_DGRAM) # UDP
sock.bind((IP, PORT)) #Creating the server ( opening the IP and PORT)
while True:
data, addr = sock.recvfrom(7000) #listening for data to come
print "received message:", data, addr #printing what i got
if 'connec' in data: # if i get connect request from a client send him following:
sock.sendto('\xff\xff\xff\xffconnectResponse', addr)
if 'chal' in data: # if i get challange request from client send him following:
sock.sendto('\xff\xff\xff\xffchallengeResponse 1253163161', addr)
And on the 2. computer i just started CoD2 and connected to 192.168.1.119:28960 (server created)
i get the following:
Code:
getchallenge 0 "2d0ac480dfee724400cbf515d4003c45"
connect "\cl_anonymous\0\cl_punkbuster\1\cl_voice\1\cl_wwwD ownload\1\rate\5000\snaps\20\name\stEvo\protocol\1 18\challenge\1253163161\qport\2096"
0 2$TZRguu AǏaAu
^)Z^UWkţu|i⦄y#
0 2$TZRguu AǏaAu
^)Z^UWkţu|i⦄y#
0 D$TZRguu AǏaAu
^)Z^UWkţu|i⦄y# $no2
0 D$TZRguu AǏaAu
^)Z^UWkţu|i⦄y# $no2
0 D$TZRguu AǏaAu
^)Z^UWkţu|i⦄y# $no2
getstatus
first 2 lines i do get, but what is this rest stuff that is constantly sending ?
how do i see what are the requests that 2. computer is asking for ?
how do i decrypt this ?
~ thanks for taking your time to reads this.
i'm having problems with decrypting cod2 data. Actually its not a problem. I simply don't know the encryption key.
Okey here is what i've done so far (Language: Python):
I got 2 Computers connected together on LAN.
On the first one i've written the server script ( how the original cod server would responde )
Code:
import socket #importing module
IP = "192.168.1.119" #my Local IP
PORT = 28960 #Port of server
sock = socket.socket(socket.AF_INET, # Internet
socket.SOCK_DGRAM) # UDP
sock.bind((IP, PORT)) #Creating the server ( opening the IP and PORT)
while True:
data, addr = sock.recvfrom(7000) #listening for data to come
print "received message:", data, addr #printing what i got
if 'connec' in data: # if i get connect request from a client send him following:
sock.sendto('\xff\xff\xff\xffconnectResponse', addr)
if 'chal' in data: # if i get challange request from client send him following:
sock.sendto('\xff\xff\xff\xffchallengeResponse 1253163161', addr)
And on the 2. computer i just started CoD2 and connected to 192.168.1.119:28960 (server created)
i get the following:
Code:
getchallenge 0 "2d0ac480dfee724400cbf515d4003c45"
connect "\cl_anonymous\0\cl_punkbuster\1\cl_voice\1\cl_wwwD ownload\1\rate\5000\snaps\20\name\stEvo\protocol\1 18\challenge\1253163161\qport\2096"
0 2$TZRguu AǏaAu
^)Z^UWkţu|i⦄y#
0 2$TZRguu AǏaAu
^)Z^UWkţu|i⦄y#
0 D$TZRguu AǏaAu
^)Z^UWkţu|i⦄y# $no2
0 D$TZRguu AǏaAu
^)Z^UWkţu|i⦄y# $no2
0 D$TZRguu AǏaAu
^)Z^UWkţu|i⦄y# $no2
getstatus
first 2 lines i do get, but what is this rest stuff that is constantly sending ?
how do i see what are the requests that 2. computer is asking for ?
how do i decrypt this ?
~ thanks for taking your time to reads this.