Anti-armenia.ORG - Forumlar - Mobil, planşet , pc tipli trafiki ayıran skript



Istifadəçi
    2015-08-10 18:05 GMT                 

StealtH



Security
Mesaj Sayı : 839
Mövzu Sayı :
Rep Ver : 
Rep Sayı :   25  
Indi Saytda : Durum
Cinsiyyət : Oğlan
Şəhər : Sumqayıt
Ölkə :
Məslək : Pan - Turkism
Yaş : 34
Mesaj :

Mövzunu Paylaş!


Deməli ordan burdan düzüb qoşdüğüm skripti sizinlə paylaşamaq istəyirəm

Kod:
<?php
$selected = "DEVICE_PC";
$relocations = array(
    "DEVICE_IPHONE" => "http://domen.az/iphone.php",
    "DEVICE_IPAD" => "http://domen.az/ipad.php",
    "DEVICE_ANDROID" => "http://domen.az/android.php",
    "DEVICE_OTHER" => "http://domen.az/other.php",
    "DEVICE_PC" =>"http://domen.az/pc.php"
    );
$relocation_keywords = array(
    "DEVICE_IPHONE" => "\x69\x70\x68\x6f\x6e\x65",
    "DEVICE_IPAD" => "\x69\x70\x61\x64",
    "DEVICE_ANDROID" =>"\x61\x6e\x64\x72\x6f\x69\x64",
    "DEVICE_OTHER" =>"\x6d\x6f\x62\x69\x6c\x65"
    );
$agent = $_SERVER['HTTP_USER_AGENT'];
foreach ($relocation_keywords as $key => $value) {
    if(preg_match("/$value/i", $agent)!=0)
        $selected = $key;
}
$redirect = $relocations[$selected];
header( "Location: $redirect" ) ;
?>


koddan göründüyü kimi biz cihazın tipindən asılı olaraq biz useri lazımı səhifəyə yönləndiririk

http://domen.az/iphone.php - iPhone istifadəçisini bu səhifəyə
http://domen.az/ipad.php - iPad (planşet) istifadəçisini bu səhifəyə
http://domen.az/android.php - Android ƏS istifadəçisini bu səhifəyə
http://domen.az/other.php - digər tipli istifadəçisini bu səhifəyə
http://domen.az/pc.php - komp istifadəçisini bu səhifəyə

Bu cür skript spammerlər üçün və exploit pack üçün əvəzolunmazdır ))

Bura Ergenekon, təpədən-dırnağa Türkəm!

http://s41.radikal.ru/i092/1308/a7/c6e81f41523b.png
Anti-armenia.ORG
    

Istifadəçi
    2015-08-18 10:31 GMT                 

Khaos



Gold
Mesaj Sayı : 589
Mövzu Sayı :
Rep Ver : 
Rep Sayı :   34  
Indi Saytda : Durum
Cinsiyyət : Oğlan
Şəhər :
Ölkə :
Məslək : Khaos
Yaş :
Mesaj :

Mövzunu Paylaş!


Təşəkkürlər bro

armenian terrorism... Don't forget Khojaly! “It is impossible to justify Khojaly in the eyes of the world community." #JusticeForKHOJALY
Anti-armenia.ORG