• 19-11-2021, 20:46:24
    #1
    Merhaba, forumda bulunan eski bir konu sayesinde link yönlendirme sayfasını yaptım ancak farklı bir yerde rfi açığı oluşturabileceği yazıyor. Böyle bir şey mümkün mü?

    Konu: https://www.r10.net/wordpress/137976...post1069988605

    Alıntı
    <?php
    $url=$_GET['url'];
    ?>
    <html>
    <head>
     <noscript>
     <meta http-equiv="Refresh" content="10; URL=<? echo $url; ?>" />
     </noscript>
     <script type="text/javascript">
     <!--
     function exec_refresh()
     {
      window.status = "<<<-- Yönlendiriliyorsunuz -->>>" + myvar;
      myvar = myvar + " .";
      var timerID = setTimeout("exec_refresh();", 100);
      if (timeout > 0)
      {
       timeout -= 1;
      }
      else
      {
       clearTimeout(timerID);
       window.status = "";
       window.location = "<? echo $url; ?>";
      }
     }
     
     var myvar = "";
     var timeout = 20;
     exec_refresh();
     //-->
     </script>
     
     
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Yönlendiriliyorsunuz..</title>
    <style type="text/css">
    <!--
    .stil1 {color: #FF0000}
    a:link {
        text-decoration: none;
    }
    a:visited {
        text-decoration: none;
    }
    a:hover {
        text-decoration: underline;
        color: #000000;
    }
    a:active {
        text-decoration: none;
    }
    .stil2 {color: #FF3300}
    .stil3 {color: #0000FF}
    .stil4 {color: #FFFF00}
    .stil5 {color: #00FF00}
    .stil6 {
        font-size: 36px;
        font-weight: bold;
    }
    -->
    </style>
    </head>
    <body>
    <div align="center">
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <span class="stil6">Yönlendiriliyorsunuz..</span>
    </div>
    </body>
    </html>
    [/QUOTE]
  • 19-11-2021, 20:53:14
    #2
    SQL açığı oluşturması için bu kodun veritabına bağlaması gerekmez mi bunu html de yapılabilir diye düşünüyorum tamamen bilgim olmadan yazdım
  • 19-11-2021, 21:00:21
    #3
    kiokhan adlı üyeden alıntı: mesajı görüntüle
    SQL açığı oluşturması için bu kodun veritabına bağlaması gerekmez mi bunu html de yapılabilir diye düşünüyorum tamamen bilgim olmadan yazdım
    Rfi açığı olarak düzelttim. Doğrusu benimde pek bilgim yok. Teşekkürler.
  • 19-11-2021, 21:03:40
    #4
    Gelen değeri filtreden geçirin hocam.
  • 20-11-2021, 13:16:53
    #5
    Teşekkürler filtreleme konusuna bakıyorum.