<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: The Basic MySQL Injection</title>
	<atom:link href="http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/feed" rel="self" type="application/rss+xml" />
	<link>http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2</link>
	<description>pink is the new black</description>
	<lastBuildDate>Thu, 26 Jan 2012 17:17:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Comedies On DVD</title>
		<link>http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/comment-page-1#comment-10455</link>
		<dc:creator>Comedies On DVD</dc:creator>
		<pubDate>Mon, 03 May 2010 05:20:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/#comment-10455</guid>
		<description>Your own weblog is so informative … maintain the good perform!!!!</description>
		<content:encoded><![CDATA[<p>Your own weblog is so informative … maintain the good perform!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: digitalpbk</title>
		<link>http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/comment-page-1#comment-10036</link>
		<dc:creator>digitalpbk</dc:creator>
		<pubDate>Thu, 09 Jul 2009 03:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/#comment-10036</guid>
		<description>The latest PHP does not have magic quotes enabled or its set to be removed. So I guess updating can leave websites vulnerable, atleast those who blindly truested on the magicquotes as their guardian angel.</description>
		<content:encoded><![CDATA[<p>The latest PHP does not have magic quotes enabled or its set to be removed. So I guess updating can leave websites vulnerable, atleast those who blindly truested on the magicquotes as their guardian angel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stefan</title>
		<link>http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/comment-page-1#comment-8803</link>
		<dc:creator>stefan</dc:creator>
		<pubDate>Wed, 05 Dec 2007 20:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/#comment-8803</guid>
		<description>While I am no PHP guru I wonder if there isn&#039;t a wat to do parameterized queries? Cause in the Windows/ODBC/C#/VB-NET world parameterized querys solves the problem without needing to change the input strings. Example http://www.programmingado.net/c-27/a-132/Esecute-parameterized-query.aspx</description>
		<content:encoded><![CDATA[<p>While I am no PHP guru I wonder if there isn&#8217;t a wat to do parameterized queries? Cause in the Windows/ODBC/C#/VB-NET world parameterized querys solves the problem without needing to change the input strings. Example <a href="http://www.programmingado.net/c-27/a-132/Esecute-parameterized-query.aspx" rel="nofollow">http://www.programmingado.net/c-27/a-132/Esecute-parameterized-query.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nessa</title>
		<link>http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/comment-page-1#comment-8645</link>
		<dc:creator>Nessa</dc:creator>
		<pubDate>Thu, 29 Nov 2007 02:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/#comment-8645</guid>
		<description>Depending on your setup, you would give your filename a variable and add it to the value parameter.  To include the file in all of your scripts, you can just use a simple include function.  For instance if you name the script &#039;file.php&#039;, just add this line to all your scripts:

include(&#039;/path/to/file.php&#039;);</description>
		<content:encoded><![CDATA[<p>Depending on your setup, you would give your filename a variable and add it to the value parameter.  To include the file in all of your scripts, you can just use a simple include function.  For instance if you name the script &#8216;file.php&#8217;, just add this line to all your scripts:</p>
<p>include(&#8216;/path/to/file.php&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/comment-page-1#comment-8626</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 28 Nov 2007 18:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/#comment-8626</guid>
		<description>Hi Nessa,
I came across your site and was wondering how I could use the Myqsl escape
as an include file? Do you mean to create a php file with that code and
place in my include folder. If so, how do I reference it in each php script
to pull it out. If not, please let me know if I need to copy and paste that
code manually in each php script. Thanks for your help!</description>
		<content:encoded><![CDATA[<p>Hi Nessa,<br />
I came across your site and was wondering how I could use the Myqsl escape<br />
as an include file? Do you mean to create a php file with that code and<br />
place in my include folder. If so, how do I reference it in each php script<br />
to pull it out. If not, please let me know if I need to copy and paste that<br />
code manually in each php script. Thanks for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nessa</title>
		<link>http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/comment-page-1#comment-496</link>
		<dc:creator>Nessa</dc:creator>
		<pubDate>Thu, 31 May 2007 22:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/#comment-496</guid>
		<description>1)  i&#039;m sorry to hear that

2) backticks are very common in MySQL syntax up to mysql 4.1, which is a vey  vulnerable version of this attack  =)

3) mysql_real_escape_string() does indeed help protect again mysql injections as I&#039;ve used it in my own programs.  However, I&#039;m sure you can understand why I did not post the full technical aspects of mysql injections

4}) nice site</description>
		<content:encoded><![CDATA[<p>1)  i&#8217;m sorry to hear that</p>
<p>2) backticks are very common in MySQL syntax up to mysql 4.1, which is a vey  vulnerable version of this attack  =)</p>
<p>3) mysql_real_escape_string() does indeed help protect again mysql injections as I&#8217;ve used it in my own programs.  However, I&#8217;m sure you can understand why I did not post the full technical aspects of mysql injections</p>
<p>4}) nice site</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald van den Heetk</title>
		<link>http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/comment-page-1#comment-458</link>
		<dc:creator>Ronald van den Heetk</dc:creator>
		<pubDate>Wed, 30 May 2007 01:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/01/17/the-basic-mysql-injection-2/#comment-458</guid>
		<description>First of all the link to Justin&#039;s blog: Justin stole that cheat sheet of mine, I asked for credit but no reply, so you know.

next, I see you use backticks which are only used for collumns in MySQL and are also not recommended. 

Futher, mysql_real_escape_string() doesn&#039;t protect against such SQL injections:

where id = 1 AND(DELETE FROM TABLE) -- 

which get&#039;s executed nicely despite mysql_real_escape_string() :) yeah it&#039;s tough to protect against it. And Shhh! not many people know about this ;)</description>
		<content:encoded><![CDATA[<p>First of all the link to Justin&#8217;s blog: Justin stole that cheat sheet of mine, I asked for credit but no reply, so you know.</p>
<p>next, I see you use backticks which are only used for collumns in MySQL and are also not recommended. </p>
<p>Futher, mysql_real_escape_string() doesn&#8217;t protect against such SQL injections:</p>
<p>where id = 1 AND(DELETE FROM TABLE) &#8212; </p>
<p>which get&#8217;s executed nicely despite mysql_real_escape_string() :) yeah it&#8217;s tough to protect against it. And Shhh! not many people know about this ;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

