<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
					xmlns:content="http://purl.org/rss/1.0/modules/content/"
					xmlns:wfw="http://wellformedweb.org/CommentAPI/"
					xmlns:atom="http://www.w3.org/2005/Atom"
				  >
<channel>
<atom:link rel="self"  type="application/rss+xml"  href="http://rulinux.net/rss_from_sect_4_subsect_7_thread_755"  />
<title>rulinux.net - Форум - Rulinux.net - не фильтруются переменные</title>
<link>http://rulinux.net/</link>
<description><![CDATA[Портал о GNU/Linux и не только]]></description>
<image><title>rulinux.net - Форум - Rulinux.net - не фильтруются переменные</title>
<link>http://rulinux.net/</link>
<url>http://rulinux.net/rss_icon.png</url>
</image>
<item>
<title>Re:не фильтруются переменные</title>
<link>https://rulinux.net/message.php?newsid=755&amp;page=1#3722</link>
<guid>https://rulinux.net/message.php?newsid=755&amp;page=1#3722</guid>
<pubDate>Mon, 18 May 2009 20:58:03 +0400</pubDate>
<description><![CDATA[<p>проверка 5</p><p>\&#039;
</p>]]></description>
</item>
<item>
<title>Re:не фильтруются переменные</title>
<link>https://rulinux.net/message.php?newsid=755&amp;page=1#3721</link>
<guid>https://rulinux.net/message.php?newsid=755&amp;page=1#3721</guid>
<pubDate>Mon, 18 May 2009 20:56:25 +0400</pubDate>
<description><![CDATA[<p>проверка 4</p><p>[&#039;]
</p>]]></description>
</item>
<item>
<title>Re:не фильтруются переменные</title>
<link>https://rulinux.net/message.php?newsid=755&amp;page=1#3720</link>
<guid>https://rulinux.net/message.php?newsid=755&amp;page=1#3720</guid>
<pubDate>Mon, 18 May 2009 20:53:27 +0400</pubDate>
<description><![CDATA[<p>проверка 3</p><p>[&#039;]
</p>]]></description>
</item>
<item>
<title>Re:не фильтруются переменные</title>
<link>https://rulinux.net/message.php?newsid=755&amp;page=1#3719</link>
<guid>https://rulinux.net/message.php?newsid=755&amp;page=1#3719</guid>
<pubDate>Mon, 18 May 2009 20:48:28 +0400</pubDate>
<description><![CDATA[<p>проверка 2 &#039;&#039;</p><p>// p.s. простите ребята.. просто не нащёл темы специально для проверки</p>]]></description>
</item>
<item>
<title>Re:не фильтруются переменные</title>
<link>https://rulinux.net/message.php?newsid=755&amp;page=1#3718</link>
<guid>https://rulinux.net/message.php?newsid=755&amp;page=1#3718</guid>
<pubDate>Mon, 18 May 2009 20:47:19 +0400</pubDate>
<description><![CDATA[<p>проверка &#039;&#039;
aaa
</p>]]></description>
</item>
<item>
<title>Re:не фильтруются переменные</title>
<link>https://rulinux.net/message.php?newsid=755&amp;page=1#3717</link>
<guid>https://rulinux.net/message.php?newsid=755&amp;page=1#3717</guid>
<pubDate>Tue, 17 Mar 2009 12:40:24 +0300</pubDate>
<description><![CDATA[<p><p>Проверяется. Просто регексп немного не правильный был. Подправил и все заработало.</p></p>]]></description>
</item>
<item>
<title>Re:не фильтруются переменные</title>
<link>https://rulinux.net/message.php?newsid=755&amp;page=1#3716</link>
<guid>https://rulinux.net/message.php?newsid=755&amp;page=1#3716</guid>
<pubDate>Tue, 17 Mar 2009 12:32:35 +0300</pubDate>
<description><![CDATA[<p><p>Сейчас ничем не проверяется, тем не менее оптимальнее было бы для числовых передаваемых значений просто приводить их к целому типу</p></p>]]></description>
</item>
<item>
<title>Re:не фильтруются переменные</title>
<link>https://rulinux.net/message.php?newsid=755&amp;page=1#3715</link>
<guid>https://rulinux.net/message.php?newsid=755&amp;page=1#3715</guid>
<pubDate>Tue, 17 Mar 2009 12:28:58 +0300</pubDate>
<description><![CDATA[<p><p>Так оно-же вроде-бы регекспом проверяется.
</p></p>]]></description>
</item>
<item>
<title>Re:не фильтруются переменные</title>
<link>https://rulinux.net/message.php?newsid=755&amp;page=1#3714</link>
<guid>https://rulinux.net/message.php?newsid=755&amp;page=1#3714</guid>
<pubDate>Tue, 17 Mar 2009 12:23:03 +0300</pubDate>
<description><![CDATA[<p><p>Ну смотри: у смотри, у тебя в коде можно встретить подобные конструкции:</p><p>$a = $_GET[&#039;a&#039;];</p><p>@mysql_query(&#039;SELECT x, y, z FROM xxx WHERE b=&#039;$a);</p><p>таким образом, если в переменную а передать часть sql запроса - может быть выполнен произвольный код запроса, т.н. SQL injection.</p><p>Где-то я поправил, а где-то не увидел. Вообще можно много способов устранения придумать. В данном случае, который привел анонимус, проблема может быть решена заменой $a = $_GET[&#039;a&#039;]; на $a = (int)$_GET[&#039;a&#039;];</p></p>]]></description>
</item>
<item>
<title>Re:не фильтруются переменные</title>
<link>https://rulinux.net/message.php?newsid=755&amp;page=1#3713</link>
<guid>https://rulinux.net/message.php?newsid=755&amp;page=1#3713</guid>
<pubDate>Tue, 17 Mar 2009 10:55:34 +0300</pubDate>
<description><![CDATA[<p><p>Нехера не понял.</p></p>]]></description>
</item>
<item>
<title>Re:не фильтруются переменные</title>
<link>https://rulinux.net/message.php?newsid=755&amp;page=1#3712</link>
<guid>https://rulinux.net/message.php?newsid=755&amp;page=1#3712</guid>
<pubDate>Tue, 17 Mar 2009 10:25:14 +0300</pubDate>
<description><![CDATA[<p><p>Спасибо. Не заметил когда сорцы присланные разбирал.</p><p>Tux-oid, поправь, раз уж сегодня и так форум пилишь</p></p>]]></description>
</item>
<item>
<title>не фильтруются переменные</title>
<link>https://rulinux.net/message.php?newsid=755&amp;page=1#3711</link>
<guid>https://rulinux.net/message.php?newsid=755&amp;page=1#3711</guid>
<pubDate>Tue, 17 Mar 2009 06:43:19 +0300</pubDate>
<description><![CDATA[group.php?group=1%20and%202=1--
view-message.php?forumid=1%20and%202=1--]]></description>
</item>
</channel>
</rss>