<?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: Windows server compromised by PHP application</title>
	<atom:link href="http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html</link>
	<description>Tech writing blog</description>
	<lastBuildDate>Sun, 12 Feb 2012 21:04:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: tim</title>
		<link>http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html/comment-page-1#comment-115044</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Fri, 28 Nov 2008 12:51:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html#comment-115044</guid>
		<description>@Chris

Yes, prepared statements. I doubt there is much performance hit - have you measured? - but it is a more robust protection against injection attacks than addslashes().

Tim</description>
		<content:encoded><![CDATA[<p>@Chris</p>
<p>Yes, prepared statements. I doubt there is much performance hit &#8211; have you measured? &#8211; but it is a more robust protection against injection attacks than addslashes().</p>
<p>Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris F. Znajomi</title>
		<link>http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html/comment-page-1#comment-115040</link>
		<dc:creator>Chris F. Znajomi</dc:creator>
		<pubDate>Fri, 28 Nov 2008 12:12:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html#comment-115040</guid>
		<description>@Tim: i guess you mean prepared(compiled) statements. this method is only used when you send a lot of equal queries. and as php is not remaining in memory you have to compile the queries at every single http access.
or did you mean something else?</description>
		<content:encoded><![CDATA[<p>@Tim: i guess you mean prepared(compiled) statements. this method is only used when you send a lot of equal queries. and as php is not remaining in memory you have to compile the queries at every single http access.<br />
or did you mean something else?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim</title>
		<link>http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html/comment-page-1#comment-115030</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Fri, 28 Nov 2008 09:35:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html#comment-115030</guid>
		<description>@Chris why not MySQLi with parameterized queries? 

Tim</description>
		<content:encoded><![CDATA[<p>@Chris why not MySQLi with parameterized queries? </p>
<p>Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris F. Znajomi</title>
		<link>http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html/comment-page-1#comment-115028</link>
		<dc:creator>Chris F. Znajomi</dc:creator>
		<pubDate>Fri, 28 Nov 2008 09:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html#comment-115028</guid>
		<description>it&#039;s crucial to control any user provided data which will be used in a sql query. the easiest way to do so is the addslashes() function in PHP.
this will prevent you from any injection.
if you use the LIKE command in sql be sure to remove all &#039;%&#039; and &#039;*&#039; from the user provided data.
regarding opensource I have to admit that it&#039;s easier for hackers to find out security leaks. but on the other hand there are plenty of experienced developers working on such project. I guess they spend a lot of time on securing their code.</description>
		<content:encoded><![CDATA[<p>it&#8217;s crucial to control any user provided data which will be used in a sql query. the easiest way to do so is the addslashes() function in PHP.<br />
this will prevent you from any injection.<br />
if you use the LIKE command in sql be sure to remove all &#8216;%&#8217; and &#8216;*&#8217; from the user provided data.<br />
regarding opensource I have to admit that it&#8217;s easier for hackers to find out security leaks. but on the other hand there are plenty of experienced developers working on such project. I guess they spend a lot of time on securing their code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timo</title>
		<link>http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html/comment-page-1#comment-114939</link>
		<dc:creator>Timo</dc:creator>
		<pubDate>Thu, 27 Nov 2008 10:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html#comment-114939</guid>
		<description>Our server was hacked and code was injected into a small formular field in a php script. The server (Debian OS) has downloaded a trojan called BT/Bastr and after 2 hours we had an &quot;wonderful&quot; p2p Server  onboard *grrrr*</description>
		<content:encoded><![CDATA[<p>Our server was hacked and code was injected into a small formular field in a php script. The server (Debian OS) has downloaded a trojan called BT/Bastr and after 2 hours we had an &#8220;wonderful&#8221; p2p Server  onboard *grrrr*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adult Ühler</title>
		<link>http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html/comment-page-1#comment-102785</link>
		<dc:creator>Adult Ühler</dc:creator>
		<pubDate>Fri, 27 Jun 2008 12:22:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.itwriting.com/blog/696-windows-server-compromised-by-php-application.html#comment-102785</guid>
		<description>I totally agree that software is the main weakness these days. With the explosion of open source and more people learning server-side languages it has been made much easier for exploits to be found. Plus, there are lot of sites that tell you specific vulnerabilities in web apps and some even give out of the box hacks. At the moment there are a huge amount of WordPress blogs being hacked for SEO purposes.</description>
		<content:encoded><![CDATA[<p>I totally agree that software is the main weakness these days. With the explosion of open source and more people learning server-side languages it has been made much easier for exploits to be found. Plus, there are lot of sites that tell you specific vulnerabilities in web apps and some even give out of the box hacks. At the moment there are a huge amount of WordPress blogs being hacked for SEO purposes.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

