кто поможет снять zend

Discussion in 'PHP' started by lol100, 26 Feb 2009.

  1. lol100

    lol100 New Member

    Joined:
    3 Nov 2008
    Messages:
    23
    Likes Received:
    0
    Reputations:
    0
    Что то перебровыл дезендеры многие неполучается снять зенд может кто поможет
    parser yotube
     
  2. BlackSun

    BlackSun Banned

    Joined:
    1 Apr 2007
    Messages:
    989
    Likes Received:
    1,168
    Reputations:
    446
    ...
     
  3. Pashkela

    Pashkela Динозавр

    Joined:
    10 Jan 2008
    Messages:
    2,750
    Likes Received:
    1,044
    Reputations:
    339
    index.php

    Code:
    <?php
    /*********************/
    /*                   */
    /*  Version : 5.1.0  */
    /*  Author  : RM     */
    /*  Comment : 071223 */
    /*                   */
    /*********************/
    
    function _obfuscate_LXMPHgUo( $_obfuscate_6hS1Rwяя, $_obfuscate_zXiMDnpqejZPKswя )
    {
        srand( ( double )microtime( ) * 10000000 );
        $_obfuscate_1Vb_LHbzuHqQяя = array_rand( $_obfuscate_6hS1Rwяя, $_obfuscate_zXiMDnpqejZPKswя + 1 );
        $_obfuscate_7wяя = 0;
        for ( ; $_obfuscate_7wяя < $_obfuscate_zXiMDnpqejZPKswя; $_obfuscate_7wяя++ )
        {
            $_obfuscate_D75chRUH[$_obfuscate_7wяя] = trim( $_obfuscate_6hS1Rwяя[$_obfuscate_1Vb_LHbzuHqQяя[$_obfuscate_7wяя]] );
            return $_obfuscate_D75chRUH[$_obfuscate_7wяя];
        }
        return $_obfuscate_6hS1Rwяя;
        return $_obfuscate_zXiMDnpqejZPKswя;
        return $_obfuscate_1Vb_LHbzuHqQяя;
    }
    
    echo "\r\n";
    ini_set( "display_errors", 0 );
    set_time_limit( 0 );
    $out = "<html>\r\n<head>\r\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\r\n<html><head><title>PVP (Personal Video Parser) full version - скрипт от seoboxer.ru</title>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=Windows-1251\">\r\n\r\n<STYLE type=\"text/css\">\r\nhtml,body{background:#000000;padding-top:10px;}\r\nbody{font: 76% arial,sans-serif;text-align:center}\r\ndiv#container{text-align:left;background:#ffffff;border: 4px solid #E8E8E8}\r\n\r\n\r\ndiv#container{width:700px;padding:15px; margin:0px auto; border: 4px solid #ABADB1;background: url(fon.jpg) top left repeat;}\r\ndiv#content{float:left;width:700px;border: 1px solid #E8E8E8}\r\ndiv#navigation{float:right;width:495px;border: 1px solid #E8E8E8}\r\n\r\n.text{\r\tborder:1px #cccccc solid;\r\n\tfont-family:verdana;\r\n\tfont-size:12px;\r\n\tpadding-left:3px;\r\n\tbackground-image:url(\"textbg.jpg\");\r\n\tbackground:#F5F6F8;\r\n\tcolor:#696B6E;\r\n\r\nscrollbar-3dlight-color: #ffffff;\r\nscrollbar-arrow-color: #000000;\r\nscrollbar-base-color: #ffffff;\r\nscrollbar-darkshadow-color: #ffffff;\r\nscrollbar-face-color: #00000;\r\nscrollbar-highlight-color: #000000;\r\nscrollbar-shadow-color: #000000;\r\nscrollbar-track-color: #cccccc;\r\n}\r\n</STYLE>\r\n\r\n\r\n<SCRIPT language=JavaScript type=text/javascript>\r\n\r\n<!--\r\nif (document.getElementById) {\r\n\r\n document.writeln('<style type=\"text/css\"><!--')\r\n\r\n document.writeln('.links {display:none; padding-left:14px}')\r\n\r\n document.writeln('.link {text-decoration:none; color:blue}')\r\n\r\n  document.writeln('a:hover.link {text-decoration: underline; color: red}')\r\n\r\n document.writeln('//--></style>')\r\n\r\n }\r\n\r\n\r\n\r\nfunction openClose(theID) {\r\n\r\n if (document.getElementById(theID).style.display == \"block\") {\r\n\r\n     document.getElementById(theID).style.display = \"none\";\r\n\r\n     document.getElementById(\"tick_\"+theID).innerHTML = \"\";\r\n     }\r\n\r\n else {\r\n\r\n     document.getElementById(theID).style.display = \"block\";\r\n\r\n     document.getElementById(\"tick_\"+theID).innerHTML = \"\"; } }\r\n\r\n// -->\r\n\r\n</SCRIPT>\r\n\r\n\r\n</head>\r\n<body>\r\n<div id=\"container\">\r\n<img src=\"ppv-full.jpg\" border=\"0\" align=\"left\">";
    print $out;
    $baner = file( "http://seoboxer.ru/moi-banery.txt" );
    $pr = _obfuscate_LXMPHgUo( $baner, 1 );
    print "<center>".$pr."</center><br><br><br><br><br><br>";
    print "\r\n<img src=\"google.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"yahoo.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"msn.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"aol.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"youtube.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"metacafe.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"truveo.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"daily.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"clipser.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"veoh.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<br>\r\n<br>и еще десятки других сайтов...\r\n<br><br><br><center>";
    print "<form name=form action=\"index.php?video=".$zapros."\" method=\"GET\">";
    print "<textarea class=text rows=\"1\" cols=\"80\" name=zapros value=\"Запрос для парсинга видео\">Запрос для парсинга</textarea>";
    print "<br><br><input type=\"submit\" value=\"       Начать парсинг видео       \"></br>";
    print "</form>";
    $zapros = $_GET['zapros'];
    $link = $_GET['link'];
    $i = 0;
    for ( ; $i < 1; $i++ )
    {
        $contentGoogleVideo = file_get_contents( "http://video.google.com/videofeed?type=search&num=100&output=rss&q=".str_replace( " ", "+", trim( $zapros ) )."" );
        $contentGoogleVideo = str_replace( "\n", "", $contentGoogleVideo );
        unset( $matchGoogleVideo1 );
        unset( $matchGoogleVideo2 );
        unset( $matchGoogleVideo3 );
        preg_match_all( "#<media:content url=\"(.*?)\" type=\"#", $contentGoogleVideo, $match1GoogleVideo1 );
        $linkGoogleVideo = $match1GoogleVideo1[1];
        preg_match_all( "#<media:title>(.*?)<\\/media:title>#", $contentGoogleVideo, $matchGoogleVideo2 );
        $titleGoogleVideo = $matchGoogleVideo2[1];
        preg_match_all( "#<media:description>(.*?)<\\/media:description>#", $contentGoogleVideo, $matchGoogleVideo3 );
        $descriptionGoogleVideo = $matchGoogleVideo3[1];
        flush( );
        unlink( "video.txt" );
        $j = 0;
        for ( ; $j < count( $linkGoogleVideo ); $j++ )
        {
            $GoogleVideo[$j] = str_replace( "?", "seoboxer", trim( $linkGoogleVideo[$j] ) )."|".trim( $titleGoogleVideo[$j] )."|".trim( $descriptionGoogleVideo[$j] )."|".trim( $file[$i] )."<br>";
            $file_out = "video.txt";
            $out = fopen( $file_out, "a+" );
            if ( !fputs( $out, str_replace( "<br>", "\r\n", $GoogleVideo[$j] ) ) )
            {
                $out = fclose( $out );
            }
            flush( );
        }
    }
    print "Ссылки на видео <br> <div style=\"border: solid 1px #bfbfbf; width:425px; height: 200px; overflow: auto; text-align:left;background:#ffffff;\">";
    $links = file( "video.txt" );
    $i = 0;
    for ( ; $i < count( $links ); $i++ )
    {
        $links[$i] = explode( "|", $links[$i] );
        $ssilka[$i] = $links[$i][0];
        $links[$i] = "<a href=\"index2.php?video=".$zapros."&link=".trim( $ssilka[$i] )."\"><font color=\"#000000\">".trim( $ssilka[$i] )."</font></a><br>";
        print $links[$i];
    }
    print "</div></center><br>";
    $file = file( "http://seoboxer.ru/news.txt" );
    $file = array_reverse( $file );
    $i = 0;
    for ( ; $i < 1; $i++ )
    {
        print "<font color=\"#696B6E\">Новости сервиса SEOboxer.ru:</font> ".$file[$i];
    }
    $out2 = "\r\n\r\n\r\n\r\n\r\n\r\n<br>&copy;2008-2009 <a href=\"http://seoboxer.ru\" target=\"_blank\"><font color=\"#316ac5\">SEOboxer.ru</font></a>\r\n</div>\r\n\r\n</body></html>";
    print $out2;
    echo "\r\n\r\n\r\n\r\n\r\n";
    ?>
    
    index2.php

    Code:
    <?php
    /*********************/
    /*                   */
    /*  Version : 5.1.0  */
    /*  Author  : RM     */
    /*  Comment : 071223 */
    /*                   */
    /*********************/
    
    function _obfuscate_LXMPHgUo( $_obfuscate_6hS1Rwяя, $_obfuscate_zXiMDnpqejZPKswя )
    {
        srand( ( double )microtime( ) * 10000000 );
        $_obfuscate_1Vb_LHbzuHqQяя = array_rand( $_obfuscate_6hS1Rwяя, $_obfuscate_zXiMDnpqejZPKswя + 1 );
        $_obfuscate_7wяя = 0;
        for ( ; $_obfuscate_7wяя < $_obfuscate_zXiMDnpqejZPKswя; $_obfuscate_7wяя++ )
        {
            $_obfuscate_D75chRUH[$_obfuscate_7wяя] = trim( $_obfuscate_6hS1Rwяя[$_obfuscate_1Vb_LHbzuHqQяя[$_obfuscate_7wяя]] );
            return $_obfuscate_D75chRUH[$_obfuscate_7wяя];
        }
        return $_obfuscate_6hS1Rwяя;
        return $_obfuscate_zXiMDnpqejZPKswя;
        return $_obfuscate_1Vb_LHbzuHqQяя;
    }
    
    echo "\r\n";
    ini_set( "display_errors", 0 );
    set_time_limit( 0 );
    $out = "<html>\r\n<head>\r\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\r\n<html><head><title>PVP (Personal Video Parser) full version - скрипт от seoboxer.ru</title>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=Windows-1251\">\r\n\r\n<STYLE type=\"text/css\">\r\nhtml,body{background:#000000;padding-top:10px;}\r\nbody{font: 76% arial,sans-serif;text-align:center}\r\ndiv#container{text-align:left;background:#ffffff;border: 1px solid #E8E8E8}\r\n\r\ndiv#container{width:700px;padding:15px; margin:0px auto; border: 4px solid #ABADB1;background: url(fon.jpg) top left repeat;}\r\ndiv#content{float:left;width:700px;border: 1px solid #E8E8E8}\r\ndiv#navigation{float:right;width:495px;border: 1px solid #E8E8E8}\r\n\r\n.text{\r\tborder:1px #cccccc solid;\r\n\tfont-family:verdana;\r\n\tfont-size:12px;\r\n\tpadding-left:3px;\r\n\tbackground-image:url(\"textbg.jpg\");\r\n\tbackground:#F5F6F8;\r\n\tcolor:#696B6E;\r\n\r\nscrollbar-3dlight-color: #ffffff;\r\nscrollbar-arrow-color: #000000;\r\nscrollbar-base-color: #ffffff;\r\nscrollbar-darkshadow-color: #ffffff;\r\nscrollbar-face-color: #00000;\r\nscrollbar-highlight-color: #000000;\r\nscrollbar-shadow-color: #000000;\r\nscrollbar-track-color: #cccccc;\r\n}\r\n</STYLE>\r\n\r\n\r\n<SCRIPT language=JavaScript type=text/javascript>\r\n\r\n<!--\r\nif (document.getElementById) {\r\n\r\n document.writeln('<style type=\"text/css\"><!--')\r\n\r\n document.writeln('.links {display:none; padding-left:14px}')\r\n\r\n document.writeln('.link {text-decoration:none; color:blue}')\r\n\r\n  document.writeln('a:hover.link {text-decoration: underline; color: red}')\r\n\r\n document.writeln('//--></style>')\r\n\r\n }\r\n\r\n\r\n\r\nfunction openClose(theID) {\r\n\r\n if (document.getElementById(theID).style.display == \"block\") {\r\n\r\n     document.getElementById(theID).style.display = \"none\";\r\n\r\n     document.getElementById(\"tick_\"+theID).innerHTML = \"\";\r\n     }\r\n\r\n else {\r\n\r\n     document.getElementById(theID).style.display = \"block\";\r\n\r\n     document.getElementById(\"tick_\"+theID).innerHTML = \"\"; } }\r\n\r\n// -->\r\n\r\n</SCRIPT>\r\n\r\n\r\n</head>\r\n<body>\r\n<div id=\"container\">\r\n\r\n<img src=\"ppv-full.jpg\" border=\"0\" align=\"left\">";
    print $out;
    $baner = file( "http://seoboxer.ru/moi-banery.txt" );
    $pr = _obfuscate_LXMPHgUo( $baner, 1 );
    print "<center>".$pr."</center><br><br><br><br><br><br>";
    print "\r\n<img src=\"google.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"yahoo.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"msn.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"aol.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"youtube.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"metacafe.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"truveo.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"daily.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"clipser.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<img src=\"veoh.jpg\" border=\"0\" height=\"30px\"  align=\"left\">\r\n<br>\r\n<br>и еще десятки других сайтов...\r\n<br><br><br><center>";
    print "<form name=form action=\"index.php?video=".$zapros."\" method=\"GET\">";
    print "<textarea class=text rows=\"1\" cols=\"70\" name=zapros value=\"Запрос для парсинга видео\">Запрос для парсинга</textarea>";
    print "<br><br><input type=\"submit\" value=\"       Начать парсинг видео       \"></br>";
    print "</form>";
    $zapros = $_GET['zapros'];
    $link = $_GET['link'];
    $link = str_replace( "seoboxer", "?", $link );
    print "<object width=\"425\" height=\"355\"><param name=\"movie\" value=\"".$link."\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"".$link."\" wmode=\"transparent\" width=\"425\" height=\"355\"></embed></object>";
    print "<font size=\"-1\"><br><br><br>Готовый код для вставки на страницу</font><br><br>";
    print "<div style=\"border: solid 1px #bfbfbf; width:425px; height: 100px; overflow: auto; text-align:left;background:#ffffff;\">\r\n&lt;object width=\"425\" height=\"355\"&gt;&lt;param name=\"movie\" value=\"".$link."\"&gt;&lt;/param&gt;&lt;param name=\"wmode\" value=\"transparent\"&gt;&lt;/param&gt;&lt;embed src=\"".$link."\" wmode=\"transparent\" width=\"425\" height=\"355\"&gt;&lt;/embed&gt;&lt;/object&gt\r\n</div>\r\n";
    print "<br> <br> Ссылки на видео <br><br> <div style=\"border: solid 1px #bfbfbf; width:425px; height: 200px; overflow: auto; text-align:left;background:#ffffff;\">";
    $links = file( "video.txt" );
    $i = 0;
    for ( ; $i < count( $links ); $i++ )
    {
        $links[$i] = explode( "|", $links[$i] );
        $ssilka[$i] = $links[$i][0];
        $links[$i] = "<a href=\"index2.php?video=".$zapros."&link=".trim( $ssilka[$i] )."\"><font color=\"#000000\">".trim( $ssilka[$i] )."</font></a><br>";
        print $links[$i];
    }
    print "</div></center><br>";
    $file = file( "http://seoboxer.ru/news.txt" );
    $file = array_reverse( $file );
    $i = 0;
    for ( ; $i < 1; $i++ )
    {
        print "<font color=\"#696B6E\">Новости сервиса SEOboxer.ru:</font> ".$file[$i];
    }
    $out2 = "\r\n\r\n\r\n</center>\r\n\r\n<br>&copy;2008-2009 <a href=\"http://seoboxer.ru\" target=\"_blank\"><font color=\"#316ac5\">SEOboxer.ru</font></a>\r\n</div>\r\n\r\n</body></html>";
    print $out2;
    echo "\r\n\r\n\r\n\r\n\r\n";
    ?>
    
    
     
  4. lol100

    lol100 New Member

    Joined:
    3 Nov 2008
    Messages:
    23
    Likes Received:
    0
    Reputations:
    0
    Подскажи пожалуйста чем так можно дезендить
     
    #4 lol100, 26 Feb 2009
    Last edited: 26 Feb 2009
  5. Pashkela

    Pashkela Динозавр

    Joined:
    10 Jan 2008
    Messages:
    2,750
    Likes Received:
    1,044
    Reputations:
    339
    а я не помню как оно называется, вроде от кетайцев. Как работает - не спрашивай:)

    http://slil.ru/27001520
     
  6. lol100

    lol100 New Member

    Joined:
    3 Nov 2008
    Messages:
    23
    Likes Received:
    0
    Reputations:
    0
    перезалей на что нить другое, а то со слил практически не качает ;)