Тема: Blog Jara v1.6
Показать сообщение отдельно

  #2  
Старый 07.04.2010, 00:57
Strilo4ka
Reservists Of Antichat - Level 6
Регистрация: 05.04.2009
Сообщений: 231
Провел на форуме:
3363660

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

Jara v1.6 - 1st March 2010
XSS
/search.php
PHP код:
...try {
            
jara_page_start("Search results");
            
$term $_REQUEST["term"];
            if(!
get_magic_quotes_gpc()) {
                
$term addslashes($term);... 
PHP код:
...
echo 
"<p><strong>$num_rows</strong> results for <strong>".stripslashes($term)."</strong>.</p>";... 
Код HTML:
...<form action="search.php" method="post">
	<p>
		Search term: <input type="text" name="term" id="term" /><input type="submit" value="Go" />
	</p>
</form>...
Результат:
в поле term - xss

Последний раз редактировалось Strilo4ka; 07.04.2010 в 01:04..
 
Ответить с цитированием