Results 1 to 4 of 4

Thread: CoD 2 Encryption

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private
    Join Date
    Nov 2013
    Posts
    16
    Thanks
    2
    Thanked 17 Times in 6 Posts

    CoD 2 Encryption

    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:
    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:
    Code:
    getchallenge 0 "2d0ac480dfee724400cbf515d4003c45"
    connect "\cl_anonymous\0\cl_punkbuster\1\cl_voice\1\cl_wwwDownload\1\rate\5000\snaps\20\name\stEvo\protocol\118\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.
    Last edited by stevomitric; 4th March 2015 at 19:54.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •