Cu ce algoritm e criptat IP-ul?

Pentru întrebări legate de facilităţile forumului phpBB 2.0.x, acest loc este cel mai potrivit.
Închis
redstarfcs
Nou venit
Mesaje: 8
Membru din: 02-Feb-2006, 18:43:27
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Cu ce algoritm e criptat IP-ul?

Mesaj de redstarfcs »

As vrea sa stiu cum e criptat IP-ul..

De exemplu: 7f000001 ce inseamna?
Avatar utilizator
seelview
Fost coleg
Mesaje: 2146
Membru din: 13-Apr-2005, 21:24:50
Versiune: 3.x
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Foarte experimentat
Localitate: Cu curu' pe scaun
Contact:

Mesaj de seelview »

pai ... da-i un decodeip(7f000001) si o sa aflii :P
"Don't have fear, I is here"
Seelview Photography / Blog this
redstarfcs
Nou venit
Mesaje: 8
Membru din: 02-Feb-2006, 18:43:27
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de redstarfcs »

Ok..sa vad..eu lucrez in Perl..deci nu imi e folositoare functia, probabil foloseste o criptare pe 64 de biti
Avatar utilizator
seelview
Fost coleg
Mesaje: 2146
Membru din: 13-Apr-2005, 21:24:50
Versiune: 3.x
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Foarte experimentat
Localitate: Cu curu' pe scaun
Contact:

Mesaj de seelview »

ba nu... poti deschide functions.php.. si cauta functia decode_ip si vezi cum ;)
"Don't have fear, I is here"
Seelview Photography / Blog this
redstarfcs
Nou venit
Mesaje: 8
Membru din: 02-Feb-2006, 18:43:27
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de redstarfcs »

Ce inseamna asta
sprintf('%02x%02x%02x%02x', $ip_sep[0], $ip_sep[1], $ip_sep[2], $ip_sep[3]);

Adica cum returneaza sprintf %02x
Avatar utilizator
seelview
Fost coleg
Mesaje: 2146
Membru din: 13-Apr-2005, 21:24:50
Versiune: 3.x
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Foarte experimentat
Localitate: Cu curu' pe scaun
Contact:

Mesaj de seelview »

Pai toata nebunia aia face urmatoarea chestie:
- sa luam un ip de ex 128.169.20.10
- il imparte in 4 bucati (cele 4 separate de ".")
- apoi schimba valoarea celor 4 bucati in baza 10 in baza 16 (de ex 128 devine 80)
- si in final uneste cele 4 bucati intr-un sir lung de 8 caractere
"Don't have fear, I is here"
Seelview Photography / Blog this
Închis

Înapoi la “2.0.x Cum pot să...?”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 1 vizitator