обход js защиты от iframe, need help!

Discussion in 'PHP' started by icemaxim1, 15 Jun 2013.

  1. icemaxim1

    icemaxim1 Banned

    Joined:
    13 Mar 2013
    Messages:
    3
    Likes Received:
    0
    Reputations:
    0
    Гружу страничку в iframe, как обойти вот такую фильтрацию?


    <HTML>
    <BODY>
    <form id="frm1" method="POST">
    </form>
    <script type='text/javascript'>
    function go()
    {
    var cform = document.getElementsByTagName('form')[0];
    if (top === self) {
    cform.setAttribute('action','http://**/?frame=0');
    }
    else {
    cform.setAttribute('action','http://**/?frame=1');
    }
    cform.submit();
    }
    setTimeout(go, 0);
    </script>
    </BODY>
    </HTML>
     
    #1 icemaxim1, 15 Jun 2013
    Last edited: 15 Jun 2013
  2. sl1k

    sl1k Member

    Joined:
    31 Jul 2009
    Messages:
    106
    Likes Received:
    26
    Reputations:
    5
    никак
     
Loading...
Similar Threads - обход защиты iframe
  1. japapo
    Replies:
    1
    Views:
    3,159
  2. rodgers
    Replies:
    3
    Views:
    4,669
  3. NoFaceNoName
    Replies:
    8
    Views:
    2,749
  4. setyp
    Replies:
    5
    Views:
    7,620