javascript раскодировать ссылку

Тема в разделе "Другие языки", создана пользователем darmoid, 25 дек 2009.

Статус темы:
Закрыта.
Модераторы: Цукер
  1. darmoid

    darmoid Киллер

    Регистр.:
    9 мар 2007
    Сообщения:
    372
    Симпатии:
    115
    По всему нету на маулнете только нашел одну тему и то она не работает.
    так вот как к примеру раскодировать ссылку вида:
    Код:
    <script type="text/javascript">
    <!--
    document.write(unescape('%3C%65%6D%62%65%64%20%74%79%70%65%3D%22%61%70%70%6C%69%63%61%74%69%6F%6E%2F%78%2D%73%68%6F%63%6B%77%61%76%65%2D%66%6C%61%73%68%22%20%73%72%63%3D%22%67%69%66%2F%37%30%32%32%31%37%62%38%34%65%65%31%62%37%2E%7A%69%70%22%20%73%74%79%6C%65%3D%22%22%20%69%64%3D%22%70%6C%61%79%65%72%22%20%6E%61%6D%65%3D%22%70%6C%61%79%65%72%22%20%71%75%61%6C%69%74%79%3D%22%68%69%67%68%22%20%61%6C%6C%6F%77%6E%65%74%77%6F%72%6B%69%6E%67%3D%22%61%6C%6C%22%20%61%6C%6C%6F%77%73%63%72%69%70%74%61%63%63%65%73%73%3D%22%6E%65%76%65%72%22%20%61%6C%6C%6F%77%66%75%6C%6C%73%63%72%65%65%6E%3D%22%74%72%75%65%22%20%66%6C%61%73%68%76%61%72%73%3D%22%61%70%69%5F%69%64%3D%32%34%36%32%26%76%69%65%77%65%72%5F%69%64%3D%32%36%38%37%38%34%38%36%26%76%69%65%77%65%72%5F%74%79%70%65%3D%32%26%75%73%65%72%5F%69%64%3D%32%36%38%37%38%34%38%36%26%67%72%6F%75%70%5F%69%64%3D%30%26%69%73%5F%61%70%70%5F%75%73%65%72%3D%31%26%61%75%74%68%5F%6B%65%79%3D%62%63%65%36%63%61%31%39%30%62%30%34%38%30%66%39%32%39%31%35%30%62%31%38%62%36%32%34%30%65%38%37%22%20%68%65%69%67%68%74%3D%22%34%33%30%22%20%77%69%64%74%68%3D%22%35%37%30%22%20%2F%3E%3C%2F%64%69%76%3E%0D%0A%0D%0A%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%0D%0A%2F%2F%3C%21%5B%43%44%41%54%41%5B%0D%0A%0D%0A%76%61%72%20%73%6F%20%3D%20%6E%65%77%20%53%57%46%4F%62%6A%65%63%74%28%27%67%69%66%2F%37%30%32%32%31%37%62%38%34%65%65%31%62%37%2E%7A%69%70%27%2C%27%70%6C%61%79%65%72%27%2C%22%35%37%30%22%2C%22%34%33%30%22%2C%27%39%27%29%3B%0D%0A%73%6F%2E%61%64%64%50%61%72%61%6D%28%22%61%6C%6C%6F%77%66%75%6C%6C%73%63%72%65%65%6E%22%2C%22%74%72%75%65%22%29%3B%0D%0A%73%6F%2E%61%64%64%50%61%72%61%6D%28%22%61%6C%6C%6F%77%6E%65%74%77%6F%72%6B%69%6E%67%22%2C%20%22%61%6C%6C%22%29%3B%0D%0A%73%6F%2E%61%64%64%50%61%72%61%6D%28%22%61%6C%6C%6F%77%73%63%72%69%70%74%61%63%63%65%73%73%22%2C%20%22%6E%65%76%65%72%22%29%3B%0D%0A%73%6F%2E%61%64%64%56%61%72%69%61%62%6C%65%28%22%61%70%69%5F%69%64%22%2C%20%22%32%34%36%32%22%29%3B%0D%0A%73%6F%2E%61%64%64%56%61%72%69%61%62%6C%65%28%22%76%69%65%77%65%72%5F%69%64%22%2C%20%22%32%36%38%37%38%34%38%36%22%29%3B%0D%0A%73%6F%2E%61%64%64%56%61%72%69%61%62%6C%65%28%22%76%69%65%77%65%72%5F%74%79%70%65%22%2C%20%22%32%22%29%3B%0D%0A%73%6F%2E%61%64%64%56%61%72%69%61%62%6C%65%28%22%75%73%65%72%5F%69%64%22%2C%20%22%32%36%38%37%38%34%38%36%22%29%3B%0D%0A%73%6F%2E%61%64%64%56%61%72%69%61%62%6C%65%28%22%67%72%6F%75%70%5F%69%64%22%2C%20%22%30%22%29%3B%0D%0A%73%6F%2E%61%64%64%56%61%72%69%61%62%6C%65%28%22%69%73%5F%61%70%70%5F%75%73%65%72%22%2C%20%22%31%22%29%3B%0D%0A%73%6F%2E%61%64%64%56%61%72%69%61%62%6C%65%28%22%61%75%74%68%5F%6B%65%79%22%2C%20%22%62%63%65%36%63%61%31%39%30%62%30%34%38%30%66%39%32%39%31%35%30%62%31%38%62%36%32%34%30%65%38%37%22%29%3B%0D%0A%0D%0A%73%6F%2E%75%73%65%45%78%70%72%65%73%73%49%6E%73%74%61%6C%6C%28%27%73%77%66%2F%65%78%70%72%65%73%73%69%6E%73%74%61%6C%6C%2E%73%77%66%27%29%3B%0D%0A%73%6F%2E%77%72%69%74%65%28%27%66%6C%61%73%68%5F%70%6C%61%79%65%72%5F%63%6F%6E%74%61%69%6E%65%72%27%29%3B%0D%0A%0D%0A%2F%2F%5D%5D%3E%0D%0A%3C%2F%73%63%72%69%70%74%3E'));
    //-->
    </script>
    Замена document.write на alert ничего не дает :confused:
     
  2. alexdrn

    alexdrn Создатель

    Регистр.:
    20 окт 2008
    Сообщения:
    32
    Симпатии:
    3
    <script type="text/javascript">
    <!--
    document.write(unescape('<embed type="application/x-shockwave-flash" src="gif/702217b84ee1b7.zip" style="" id="player" name="player" quality="high" allownetworking="all" allowscriptaccess="never" allowfullscreen="true" flashvars="api_id=2462&viewer_id=26878486&viewer_type=2&user_id=26878486&group_id=0&is_app_user=1&auth_key=bce6ca190b0480f929150b18b6240e87" height="430" width="570" /></div>

    <script type="text/javascript">
    //<![CDATA[

    var so = new SWFObject('gif/702217b84ee1b7.zip','player',"570","430",'9');
    so.addParam("allowfullscreen","true");
    so.addParam("allownetworking", "all");
    so.addParam("allowscriptaccess", "never");
    so.addVariable("api_id", "2462");
    so.addVariable("viewer_id", "26878486");
    so.addVariable("viewer_type", "2");
    so.addVariable("user_id", "26878486");
    so.addVariable("group_id", "0");
    so.addVariable("is_app_user", "1");
    so.addVariable("auth_key", "bce6ca190b0480f929150b18b6240e87");

    so.useExpressInstall('swf/expressinstall.swf');
    so.write('flash_player_container');

    //]]>
    </script>'));
    //-->
    </script>


    похоже radio vkontakte... могу ошибаться
     
  3. ultrex

    ultrex Создатель

    Регистр.:
    18 июн 2007
    Сообщения:
    36
    Симпатии:
    14
    А вот в догонку декодер, для такого вида шифровки:

    http://scriptasylum.com/tutorials/encode-decode.html

    там как раз описано как такие яваскрипты кодировать/декодировать
     
Статус темы:
Закрыта.