Donde esta el paquete

Iniciado por Narciso, Diciembre 22, 2015, 06:49:31 AM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Diciembre 22, 2015, 06:49:31 AM Ultima modificación: Diciembre 22, 2015, 01:43:56 PM por Gabriela
Hola,
miren este link: No tienes permitido ver los links. Registrarse o Entrar a mi cuenta ... uests/176/
Cita: "ip + port + guid + version + username + browse + files are sent through the server already"

miren este link: No tienes permitido ver los links. Registrarse o Entrar a mi cuenta ... ket-length
Cita: "Thats the packet I need to send to connect to a chatroom. In that packet, it includes username, number of shared files, Internet Speed, Client Version."

Donde es encuentra este paquete? Alguien me puede ayudar por favor? Si alguien me quiere ayudar...
Ahora tomen: No tienes permitido ver los links. Registrarse o Entrar a mi cuenta ... 37_112815/

Hagan click a donde dice AresRegular237_112815.zip

Descarguenselo. La mayoria de los datos los pueden abrir con Notepad++

Y para que no me digan vago les digo que estuve dos dias buscandolo. Y no sorprenderia que hubiera estado repasando siempre el mismo dato sin encontrar el paquete porque soy un tonto.

Me ayudan?

Gracias y saludos

Los enlaces de sourceforge están cortados... puedes ponerlos bien?

Saludos.



Hola Blackdrake,
ohh mil disculpas..... lo siento
ahora pondre los links bien:
Priimer link: No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
Segundo Link: No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
Tercer Link: No tienes permitido ver los links. Registrarse o Entrar a mi cuenta

Perdon otra vez

Gracias y saludos


Bien, ahora, cuál es tu problema exactamente? Pues con "Donde esta el paquete" no me dices demasiado...

PD: por qué no lo instalas vía instalador? No tienes permitido ver los links. Registrarse o Entrar a mi cuenta

Saludos.



Hola blackdrake,
bueno, mira: Cuando te conectas a un chat de ares, tu Mandas un paquete al servidor. En este paquete estan: tu nombre de usuario, tu Numero de archivos compartidos, tu velocidad de internet, la version de ares que tienes, tu ip, tu puerto, tu guid, etc.
Yo queria localizar este paquete. Donde se encuentra este paquete? Al principio crei que era un dato. Pero me parece que es un pedazo de codigo....
Donde esta este pedazo de codigo dentro del codigo fuente de ares, que se puede descargar desde aqui?
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta

Muchas gracias y saludos

:) (y)

Diciembre 23, 2015, 02:01:31 PM #5 Ultima modificación: Diciembre 23, 2015, 02:03:05 PM por blackdrake
Básicamente consiste en abrir los ficheros e ir buscando, no considero que mucha gente se haya puesto a intentar modificar eso, es más, si lo modificas probablemente deje de funcionar.

No obstante, hice una búsqueda rápida y encontré esto:

Archivo helper_registry.pas
Línea 623 
Código: c
socks_ip:=readstring('Proxy.Addr');


Archivo thread_upload.pas
Línea 100
Código: c
 ip_user,ip_server,ip_utente_interno:cardinal;


Línea 2186 - 2217
Código: c
if pos('PUSH ',sock.buffstr)=1 then begin  //download firewall

  socket_globale:=ttcpblocksocket.create(false); //ASSEGNIAZIONE SOCKET GLOBALE
  with socket_globale do begin
   socket:=sock.socket;
   ip:=sock.ip;
   port:=sock.port;
   buffstr:=sock.buffstr;
   tag:=sock.tag;
  end;
  synchronize(accept_put_arrived_push);

  sock.socket:=INVALID_SOCKET;
  sock.free;
end else
if pos('CHAT PUSH/1.0 ',sock.buffstr)=1 then begin

  { socket_globale:=ttcpblocksocket.create(false); //ASSEGNIAZIONE SOCKET GLOBALE
   with socket_globale do begin
    socket:=sock.socket;
    ip:=sock.ip;
    port:=sock.port;
    buffstr:=hexstr_to_bytestr(copy(sock.buffstr,15,32));  //32 (2*16) di randoms
    tag:=sock.tag;
   end;
   synchronize(add_chat_push_arrived); //nel caso non trovi randoms in lista, cancella lui il socket

   sock.socket:=INVALID_SOCKET; }
   sock.free;

end else sock.free;
end;



Archivo ufrmmain.pas
Línea 1808 - En adelante:

Código: c
try
LanIPC:=getlocalip;
LanIPS:=ipint_to_dotstring(LanIPC);
except
LanIPC:=0;
LanIPS:=cAnyHost;
end;

getcursorpos(prev_cursorpos);
vars_global.minutes_idle:=0;

desktopPath:=Get_Desktop_Path;
reg_set_desktopPath(desktopPath+'\'+STR_MYSHAREDFOLDER);

    try

     myshared_folder:=prendi_reg_my_shared_folder(desktopPath);

     if not direxistsW(myshared_folder) then begin
      if (tntwindows.Tnt_createdirectoryW(pwidechar(desktopPath+'\'+STR_MYSHAREDFOLDER),nil)) then begin
       myshared_folder:=desktopPath+'\'+STR_MYSHAREDFOLDER;
      end else begin
        if not direxistsW('c:\'+STR_MYSHAREDFOLDER) then begin
         tntwindows.Tnt_createdirectoryW(pwidechar(widestring('c:\')+STR_MYSHAREDFOLDER),nil);
         myshared_folder:=desktopPath+'\'+STR_MYSHAREDFOLDER;
        end;
      end;

     end;
    except
       myshared_folder:='c:\';
    end;



Hay muchos ficheros con datos de ese tipo y muchas más líneas interesantes en esos ficheros, básicamente consiste en investigar e ir descartando.

Personalmente no puedo ayudarte más, pues desconozco exactamente donde se envían esos datos. (Lo más importante que encontré fue lo dicho arriba).

Saludos.