www.Hacking-Romania.com
Hacking, gaby hacker team, programe hack, radmin hack, hi5 hack, hack the west, hacking romania, hacking stuff, hacking tools, 1 hack, 1st hacks, 2 hack, 2 hacks, 3 hack, 3 hacks, 3000 hack, 3004 hack, 4 hack, 4 hacks, 55 hack, 6 hack, 6 hacks, 7 hack, 7 hacks, 9 hack, 9dragons hack, a hack, adventure quest hack, aim hack, alz hack, and hacks, best hack, blue hack, bots hack, bots hacks, buy hack, cabal online hack, chaos hacks, cheat engine hack, cheat hack, cheats and hacks, cheats hacks, city hack, club hack, combo hack, conquer hacks, conquer online hack, conquer online hacks, conquer speed hack, conquiztador hack, counter strike 1.6 hack, damage hack, de hack, download hack, download hack for, dragonfable hack, dragonfable hacks, drakkarious hack, exp hack, flyff hack, free hack, free hacks, game hack, game hacks, garena exp hack, gladiatus hack, gm hack, gold hack, gunz hack, hack, hack 5, hack a pc, hack a site, hack a website, hack blog, hack conquer, hack counter strike, hack crack, hack cs, hack cs 1.6, hack dvd, hack email, hack forum, hack hunter, hack id, hack info, hack it, hack mess, hack muonline, hack net, hack password, hack passwords, hack pc, hack pdf, hack programs, hack site, hack sites, hack soft, hack software, hack team, hack the game, hack this, hack website, hack windows xp, hack world, hack xp, hacked, hacking, hacking game, hacking programs, hacking software, hacking tutorials, hacks, how hack, how to hack, icon hack, last chaos hack, last chaos hacks, life hack, lineage 2 hack, lineage 2 hacks, linux hack, lvl hack, maplestory hacks, mobile hack, multi hack 3.0, mybrute hack, naruto arena hack, naruto arena hacks, one hit kill hack, online hacks, perfect world hacks, pool hack, programe hack, resolution hack, resource hack, roll hack, royal hack, silkroad hack, source hack, speed hack, speed hacks, super hack, the west hack, warrock hack, warrock hacks, web hack, xpango hack, lockerz forum
Lista Forumurilor Pe Tematici
www.Hacking-Romania.com | Reguli | Inregistrare | Login

POZE WWW.HACKING-ROMANIA.COM

Nu sunteti logat.
Nou pe simpatie:
danutza_84 la Simpatie.ro
Femeie
19 ani
Galati
cauta Barbat
26 - 55 ani
www.Hacking-Romania.com / Hacking-ul nostru cel de toate zilele / ip ku proxy ptru protectia siturilor  
Autor
Mesaj Pagini: 1
Storm192
MEMBRU ACTIV

Din: Alba-Iulia
Inregistrat: acum 16 ani
Postari: 244
Cand aveti un site aveti destule motive sa blocati accesul prin proxy. Majoritatea celor care folosesc proxy sunt fie spameri, fie hackeri care v-au pus gand rau, asa ca de multe ori e bine sa blocati accesul prin proxy sau, daca nu se poate, cel putin sa il logati.
OK, se pune problema “De unde stiu daca se foloseste proxy ? Doar e proxy si ascunde IP-ul real.” Problema nu e chiar asa complicata cum se crede la prima vedere. Cand un utilizator foloseste un server proxy, serverul forwardeaza pachetele la destinatie alterate. Adica, pe langa pachetele primite mai trimite inca un header care din PHP poate fi citit.
Acest header e HTTP_X_FORWARDED_FOR si poate fi citit din variabila super-globala $_SERVER in care se pastreaza si variabila REMOTE_ADDR - IP-ul real.
Ca sa va dati seama daca userul foloseste proxy verificati continutul variabilei $_SERVER['HTTP_X_FORWARDED_FOR']. Daca variabila contine un IP, atunci e un proxy care intermediaza totul si IP-ul continut e de fapt IP-ul real al vizitatorului. Un exemplu de utilizare aveti mai jos:

Cod:
$ip = $_SERVER['REMOTE_ADDR'];
    $proxy = $_SERVER['HTTP_X_FORWARDED_FOR'])
    if( ereg('^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$',$proxy )
            $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];


Exemplul e doar demonstrativ pentru ca are mici neajunsuri datorita carora poate fi furat. De exemplu, daca un utilizator e intr-un LAN mascat prin NAT si in NAT are un server proxy il poate folosi caz in care $_SERVER['HTTP_X_FORWARDED_FOR'] va avea valoarea adresei locale, adica un IP neroutabil care nu va ajuta cu nimic. Deci, ca sa puteti folosi concret aceasta functionalitate trebuie sa mai adaugati cateva linii de cod care verifica daca nu cumva IP-ul e neroutabil pentru a nu loga un IP care nu va ajuta cu nimic.

proxy ptru protectia siturilor cand aveti site aveti destule motive blocati accesul prin proxy.

29.2KB


_______________________________________
We don't destroy computers fast we hack them low

pus acum 16 ani
   
marilena13
Moderator

Inregistrat: acum 16 ani
Postari: 925
thx nice

pus acum 16 ani
   
Storm192
MEMBRU ACTIV

Din: Alba-Iulia
Inregistrat: acum 16 ani
Postari: 244
npc

_______________________________________
We don't destroy computers fast we hack them low

pus acum 16 ani
   
thunderbyte
INCEPATOR

Inregistrat: acum 16 ani
Postari: 39
hya...cunosti vreun program de gen PingFu   dar freeware?

pus acum 16 ani
   
adry1986
MEMBRU ACTIV

Din: bacau
Inregistrat: acum 15 ani
Postari: 247
fain .,., thx!

pus acum 15 ani
   
Pagini: 1  

Mergi la