оригинальная подпись

Discussion in 'Болталка' started by XRU, 11 Jul 2008.

  1. XRU

    XRU New Member

    Joined:
    10 Jul 2008
    Messages:
    4
    Likes Received:
    0
    Reputations:
    0
  2. o55rus

    o55rus New Member

    Joined:
    14 May 2008
    Messages:
    5
    Likes Received:
    3
    Reputations:
    0
    Мну тоже интересно
     
  3. BlackSun

    BlackSun Banned

    Joined:
    1 Apr 2007
    Messages:
    989
    Likes Received:
    1,168
    Reputations:
    446
    [​IMG]
    щя сорец выложу ..
     
  4. BlackSun

    BlackSun Banned

    Joined:
    1 Apr 2007
    Messages:
    989
    Likes Received:
    1,168
    Reputations:
    446
    http://secretsdrive.net/get/01/0446129caa/www.rar
     
  5. o55rus

    o55rus New Member

    Joined:
    14 May 2008
    Messages:
    5
    Likes Received:
    3
    Reputations:
    0
    Спосиб ща глянем
     
  6. Ponchik

    Ponchik Хлебо-булочное изделие

    Joined:
    30 Aug 2005
    Messages:
    687
    Likes Received:
    807
    Reputations:
    311
    Архив 11 метров Оо Жжесть... 100кб вполне достаточно для сорцов с картинкой, или у тя там целый набор :) Щас пасморим
    Сам кстате увлекался этой штукой
    Оу, у тя с GeoIP круть
     
  7. N1K70

    N1K70 Banned

    Joined:
    2 Jan 2008
    Messages:
    161
    Likes Received:
    76
    Reputations:
    21
    урезанную версию скинуть можете?;)
     
  8. BlackSun

    BlackSun Banned

    Joined:
    1 Apr 2007
    Messages:
    989
    Likes Received:
    1,168
    Reputations:
    446
    Меньше некуда, без определения страны и города:
    (картинку img.png и шрифт system/REFSAN.TTF думаю сам нароешь))
    Code:
    <?
      error_reporting(0);
    
      function detect_os($user_agent)
      {
    	if     (strstr($user_agent, "Windows 95"))     $os = "Windows 95";
    	elseif (strstr($user_agent, "Windows NT 4"))   $os = "Windows NT 4";
    	elseif (strstr($user_agent, "Windows 98"))     $os = "Windows 98";
    	elseif (strstr($user_agent, "Win 9x 4.9"))     $os = "Windows ME";
    	elseif (strstr($user_agent, "Windows NT 5.0")) $os = "Windows 2000";
    	elseif (strstr($user_agent, "Windows NT 5.1")) $os = "Windows XP";
    	elseif (strstr($user_agent, "Windows NT 5.2")) $os = "Windows 2003";
    	elseif (strstr($user_agent, "Windows NT 6.0")) $os = "Windows Vista";
    	elseif (strstr($user_agent, "Linux"))          $os = "Linux";
    	elseif (strstr($user_agent, "Mac OS"))         $os = "Mac OS";
    	else                                           $os = "Other";
    	
    	return $os;
      }
    
      function detect_browser($user_agent)
      {
    	
    	if (eregi("(opera) ([0-9]{1,2}.[0-9]{1,3}){0,1}", $user_agent, $bv) or 
    	    eregi("(opera/)([0-9]{1,2}.[0-9]{1,3}){0,1}", $user_agent, $bv))
    	    {
    	    	$type    = "Opera";
    	    	$browser = "Opera" . " " . $bv[2];
    	    }
    	    elseif (eregi("(konqueror)/([0-9]{1,2}.[0-9]{1,3})", $user_agent, $bv))
    	    {
    	    	$type    = "Konqueror";
    	    	$browser = "Konqueror" . " " . $bv[2];
    	    }
    	    elseif (eregi("(lynx)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})", $user_agent, $bv))
    	    {
    	    	$type    = "Lynx";
    	    	$browser = "Lynx" . " " . $bv[2];
    	    }
    	    elseif (eregi("(links) \\(([0-9]{1,2}.[0-9]{1,3})", $user_agent, $bv))
    	    {
    	    	$type    = "Links";
    	    	$browser = "Links" . " " . $bv[2];
    	    }
    	    elseif (eregi("(msie) ([0-9]{1,2}.[0-9]{1,3})", $user_agent, $bv))
    	    {
    	    	$type    = "Internet Explorer";
    	    	$browser = "Internet Explorer" . " " . $bv[2];
    	    }
    	    elseif (eregi("(netscape6)/(6.[0-9]{1,3})", $user_agent, $bv))
    	    {
    	    	$type    = "Netscape";
    	    	$browser = "Netscape" . " " . $bv[2];
    	    }
    	    elseif (eregi("(firefox)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})", $user_agent, $bv) or
    	            eregi("(firefox)/([0-9]{1,2}.[0-9]{1,2})", $user_agent, $bv))
    	    {
    	    	$type    = "Firefox";
    	    	$browser = "Firefox" . " " . $bv[2];
    	    }	    
    	    elseif (eregi("(mozilla)/([0-9]{1,2}.[0-9]{1,3})", $user_agent, $bv))
    	    {
    	    	$type    = "Mozilla";
    	    	$browser = "Mozilla" . " " . $bv[2];
    	    }
    	    else
    	    {
    	    	$type    = "Other";
    	    	$browser = "Other";
    	    }	
    	
    	  return $browser;
      }
    
      header("Content-Type:image/png");
      $ip = isset($_SERVER['HTTP_X_FORWARDER_FOR']) ? $_SERVER['HTTP_X_FORWARDER_FOR'] : $_SERVER['REMOTE_ADDR'];
      $ip = substr($ip, 0, 15);
    
      $user_agent = getenv("HTTP_USER_AGENT");
      $os = detect_os($user_agent);
      $user_agent = detect_browser($user_agent);
    
      $img = imageCreateFromPng("imgg.png");
      $color = imageColorAllocate($img, 187, 241, 255);
      $font = 'system/REFSAN.TTF';
      imageTTFText($img, 8, 0, 7, 19, $color, $font, "BlackSun [S.T.A.R.S. Team]");
      imageTT)Text($imFg, 8, 0, 7, 33,$color, $font, "You IP: ");
      imageTTFText($img, 8, 0, 7, 47, $color, $font,"You OS: ".$os." | You browser: ".$user_agent);
      imageTTFText($img, 8, 0, 7, 61, $color, $font, "[S.T.A.R.S. Team]: http://stars-team.org.ru");
      imageTTFText($img, 8, 0, 7, 76, $color, $font, "[Icq] 23183fe78047d1be455d037dfa66cf6cc9f638a7 [sha1]");
      ImagePNG($img);
      ImageDestroy($img);
    ?>
    
     
  9. o55rus

    o55rus New Member

    Joined:
    14 May 2008
    Messages:
    5
    Likes Received:
    3
    Reputations:
    0
    BlackSun чото не работает ((
     
  10. Ponchik

    Ponchik Хлебо-булочное изделие

    Joined:
    30 Aug 2005
    Messages:
    687
    Likes Received:
    807
    Reputations:
    311
    Во-первых вместо imageTT)Text($imFg над imageTTFText($img
    А так надо шрифты подгрузить и имагу это уже сам редактируй под себя
     
  11. Shtil[27]

    Shtil[27] Banned

    Joined:
    7 Jul 2008
    Messages:
    2
    Likes Received:
    3
    Reputations:
    -1
    А вот если у тебя будет красивая подпесь на пэхопэ, то ты больше хакер, чем другие?
     
  12. Ponchik

    Ponchik Хлебо-булочное изделие

    Joined:
    30 Aug 2005
    Messages:
    687
    Likes Received:
    807
    Reputations:
    311
    Если у тя на ачате хоть какая-то подпись будет, то ты ниипаца хакер :)
     
  13. Shtil[27]

    Shtil[27] Banned

    Joined:
    7 Jul 2008
    Messages:
    2
    Likes Received:
    3
    Reputations:
    -1
    Ты сделал себе античат-карьеру, теперь твой ник боятца произносить
     
  14. o55rus

    o55rus New Member

    Joined:
    14 May 2008
    Messages:
    5
    Likes Received:
    3
    Reputations:
    0
    Я имею в веду архив 11 метровый ((
     
  15. Shtil[27]

    Shtil[27] Banned

    Joined:
    7 Jul 2008
    Messages:
    2
    Likes Received:
    3
    Reputations:
    -1
    o55rus, ты чего перебиваешь наш хэк-батл?
     
  16. N1K70

    N1K70 Banned

    Joined:
    2 Jan 2008
    Messages:
    161
    Likes Received:
    76
    Reputations:
    21
    o55rus, что к чему - непонятно %)... там же выложили укороченную (не 11 метровый архив!) версию ... а пончик исправил небольшую ошибку... плюс... дал совет :)
     
  17. o55rus

    o55rus New Member

    Joined:
    14 May 2008
    Messages:
    5
    Likes Received:
    3
    Reputations:
    0

    подскажите и я уйду там как с архива саму картинку в подпись пихать или что??? а то она у меня не показывается
     
  18. Shtil[27]

    Shtil[27] Banned

    Joined:
    7 Jul 2008
    Messages:
    2
    Likes Received:
    3
    Reputations:
    -1
    что надо подпись на ачате и ты хакер?
     
  19. o55rus

    o55rus New Member

    Joined:
    14 May 2008
    Messages:
    5
    Likes Received:
    3
    Reputations:
    0
    N1k70 хотелось чтоб полонстью показывал все как на примере страна, город, Ip, ОС
     
  20. Shtil[27]

    Shtil[27] Banned

    Joined:
    7 Jul 2008
    Messages:
    2
    Likes Received:
    3
    Reputations:
    -1
    А пососать не завернуть?