Yerel Dosya İçerme?

0 Cevap php

Ben, yeni bir güvenlik açığı benim php fusion yama çalışıyorum. Ama ben tamamen açığına altında yok.

Buraya bakın ilk: http://www.exploit-db.com/exploits/14647/

=================Exploit=================
maincore.php
[php]
 // Locate config.php and set the basedir path
$folder_level = ""; $i = 0;
while (!file_exists($folder_level."config.php")) {
    $folder_level .= "../"; $i++;
    if ($i == 5) { die("Config file not found"); }
}
require_once $folder_level."config.php";
define("BASEDIR", $folder_level);
[/php]
----exploit----

http://{localhost}/{path}/maincore.php?folder_level=LFI

Ben bir Local File Inclusion ne olduğunu biliyorum ama nasıl sadece bir get değişken gösterilen kod parçasının içine bunu yapmak ayarlama yapar, hatta kullanımı yapmaz değişken olsun!

Bu kadar takas herkese teşekkürler. Ben yama bir şey varsa, bu yama istiyorum!

0 Cevap