<?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: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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>News For Webmasters &#187; Uncategorized</title>
	<atom:link href="http://ohgeeky.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://ohgeeky.com</link>
	<description></description>
	<lastBuildDate>Fri, 29 Jul 2011 20:05:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>So why people like wordpress?</title>
		<link>http://ohgeeky.com/so-why-people-like-wordpress/</link>
		<comments>http://ohgeeky.com/so-why-people-like-wordpress/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 07:31:18 +0000</pubDate>
		<dc:creator>WEBMASTER</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://ohgeeky.com/so-why-people-like-wordpress/</guid>
		<description><![CDATA[No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[No related posts.


No related posts.]]></content:encoded>
			<wfw:commentRss>http://ohgeeky.com/so-why-people-like-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to easily secure your WordPress Website</title>
		<link>http://ohgeeky.com/how-to-easily-secure-your-wordpress-website/</link>
		<comments>http://ohgeeky.com/how-to-easily-secure-your-wordpress-website/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 19:17:46 +0000</pubDate>
		<dc:creator>WEBMASTER</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://ohgeeky.com/?p=206</guid>
		<description><![CDATA[Here is a list of 11 steps that you as a webmaster could take to secure your wordpress website.  The fundamental features you should know.  The WordPress hackers are more or less comprised of two groups: people who want to &#8230; <a href="http://ohgeeky.com/how-to-easily-secure-your-wordpress-website/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://ohgeeky.com/hackers-could-attack-your-wordpress/' rel='bookmark' title='Permanent Link: Hackers Could Attack Your WordPress'>Hackers Could Attack Your WordPress</a></li><li><a href='http://ohgeeky.com/pros-and-cons-about-wordpress-mu-wp-buddypress/' rel='bookmark' title='Permanent Link: Pros and Cons About WordPress MU &#8211; WP &#8211; BuddyPress'>Pros and Cons About WordPress MU &#8211; WP &#8211; BuddyPress</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Here is a list of 11 steps that you as a webmaster could take to secure your wordpress website.  The fundamental features you should know.  The WordPress hackers are more or less comprised of two groups:  people who want to use hacked WordPress sites as cloaked link farms and <a href="http://blogs.zdnet.com/Ou/?p=237">hobbyist hackers</a> – often from Turkey. If you have a relatively good knowledge of HTTP  and PHP, you can probably hack a WordPress site within 30 minutes by  using software vulnerability lounges like <a href="http://www.milw0rm.com/">Milworm</a> to find out about vulnerabilities.</p>
<h1>Removing Footprints – Stop Hackers Finding You</h1>
<p><strong>1 – Remove the Footer Credit –</strong> Most WordPress templates will  come with a link back to WordPress in the footer saying, &#8220;Powered by  WordPress&#8221;. If you don&#8217;t want to get hacked, this absolutely has to go.  It is used as a marker by hackers who query search engines to compile  lists of WordPress sites. This is known as dorking; implying that people  who leave such footprints on their sites are dorks. Removing this will  probably stop you from getting hacked as your site will probably not be  found once it is removed. If you would like to give credit to WordPress  for making a free publishing platform in some other way, you could link  to them on your about page.</p>
<p>To remove the footer credit, open up wp-content/{name of the theme you are using}/footer.php and delete the link to WordPress.</p>
<p><strong>2 – Remove the Meta Generator Tag –</strong> Most WordPress templates will also come with a HTML tag in the head like this:</p>
<p><code>&lt;meta name="generator" content="WordPress 2.7" /&gt;</code></p>
<p>This has to go too as it gives away what version of WordPress you are  using. All a hacker would have to do is look up a hack for your version  of WordPress and if you are vulnerable (some vulnerabilities require  certain server settings or environments) they will take you down.</p>
<p>To remove the meta generator, open up wp-content/{name of the theme you are using}/header.php and delete the meta generator tag.</p>
<p><strong>3 – Remove the Generator Tag in the RSS Feed –</strong> WordPress also gives away which version you are using in the RSS feed with a generator tag like this:</p>
<p><code>&lt;generator&gt;http://wordpress.org/?v=2.7&lt;/generator&gt;</code></p>
<p>Again, this gives away the version you are using so is particularly  dangerous. RSS feeds are another way in which hackers compile lists of  sites which they might be able to attack.</p>
<p>To remove the RSS generator, open up wp-includes/general-template.php  and search for the function called the_generator (around line 1858). It  will look like this:</p>
<div>
<div>
<div><a href="http://semlabs.co.uk/#">view plain</a><a href="http://semlabs.co.uk/#">copy to clipboard</a><a href="http://semlabs.co.uk/#">print</a><a href="http://semlabs.co.uk/#">?</a></div>
</div>
<ol>
<li><span><span>function</span><span> the_generator( </span><span>$type</span><span> ) { </span></span></li>
<li><span> <span>echo</span><span> apply_filters(</span><span>&#8216;the_generator&#8217;</span><span>, get_the_generator(</span><span>$type</span><span>), </span><span>$type</span><span>) . </span><span>&#8220;\n&#8221;</span><span>; </span></span></li>
<li><span>} </span></li>
</ol>
</div>
<p><textarea style="display: none;" name="code">function the_generator( $type ) { 	echo apply_filters(&#8216;the_generator&#8217;, get_the_generator($type), $type) . &#8220;\n&#8221;; } </textarea></p>
<p>and place a hash (#) in front of the word echo, so it looks like this:</p>
<div>
<div>
<div><a href="http://semlabs.co.uk/#">view plain</a><a href="http://semlabs.co.uk/#">copy to clipboard</a><a href="http://semlabs.co.uk/#">print</a><a href="http://semlabs.co.uk/#">?</a></div>
</div>
<ol>
<li><span><span>function</span><span> the_generator( </span><span>$type</span><span> ) { </span></span></li>
<li><span> #<span>echo</span><span> apply_filters(</span><span>&#8216;the_generator&#8217;</span><span>, get_the_generator(</span><span>$type</span><span>), </span><span>$type</span><span>) . </span><span>&#8220;\n&#8221;</span><span>; </span></span></li>
<li><span>} </span></li>
</ol>
</div>
<p><textarea style="display: none;" name="code">function the_generator( $type ) { 	#echo apply_filters(&#8216;the_generator&#8217;, get_the_generator($type), $type) . &#8220;\n&#8221;; } </textarea></p>
<p><strong>4 – Remove Other Footprints –</strong> There are a number of other ways  that someone might be able to tell that your site runs on WordPress,  such as installing it at, http://domain.tld/wordpress/ and if you have  links to specific WordPress files names, such as wp-login.php. The later  can easily be found using a search engine, e.g. <a rel="nofollow" href="http://search.yahoo.com/search?p=inurl%3A%22wp+admin%22+%22lost+your+password%22">WordPress Logins</a></p>
<p>Two file names that are visible on all WordPress installs will be the  the wp-content/ directory (where WordPress stores media) and the  wp-comments-post.php. You can change the name of  the wp-content  directory in the WordPress admin under settings &gt; miscellaneous. To  change the  wp-comments-post.php, you will need to edit your template to  use a different URL and forward the new URL to  wp-comments-post.php.  It is unlikely anyone uses these methods to find WordPress blogs to  hack, but they are considerations you can take if you want to be extra  careful.</p>
<p>Also make sure you have deleted the licence.txt and readme.html in the root directory.</p>
<h1>Locking Your Install Down</h1>
<p><strong>5 – Disabling Indexes –</strong> Disabling indexes means that when  someone navigates to a directory on your server, it will not give them  an output of the folders and files in that directory. This is  particularly important as a number of WordPress hacks target  vulnerabilities in plugins. So if your wp-content/plugins/ directory is  browsable, you are going to be giving away what plugins you are using.  This may be used to target sites that use a particular plugin or if you  have enemies someone might use it to find a vulnerability specific to  one of your plugins. Due to lack of security, many sites have their  plugins directory indexed: Plugin directories</p>
<p>If you are using Apache as a web server (the most popular choice) you  can disable indexes by adding one line to .htaccess in the root of your  WordPress install – that is the main directory with index.php in it.  Simply add <code>Options -Indexes</code> anywhere in the .htaccess file. If you ever need to enable indexes in a directory, all you need to do is add <code>Options Indexes</code> to a .htaccess file in that directory. For those who are not using  Apache, other options will be available for your sever. Alternatively,  if you are partial to botches, you can put an index.html file in all  directories you don&#8217;t want people to be able to browse. So, when someone  loads a directory, they will just be shown the index.html.</p>
<p><strong>6 – Blocking Server-side Directories –</strong> Blocking directories  that contain files that are only needed by your server is an essential  aspect of any site&#8217;s security. There are a few reasons for this,  including:</p>
<ul>
<li>If your server has a problem with PHP (like if someone removes the  Apache PHP module), your server may start outputting PHP files literally</li>
<li>Some text editors will create backup files like, index.phps or  index.php~. These can be uploaded to the server, accessed by  undesirables; giving away your database credentials. These files can get  indexed by search engines for easy targeting.</li>
<li>There are also ways in which someone can detect what platform you  are using if the platform uses unique directory names, as WordPress  does.</li>
</ul>
<p>Due to WordPress&#8217; architecture, it is not possible to block all  directories that should to be blocked. The main directory to block is  wp-includes/. You can do this by adding the following line to .htaccess:</p>
<p><code>RewriteRule ^(wp-includes)\/.*$ ./ [NC,R=301,L]</code></p>
<p>To block further directories, separate each directory with a pipe like so:</p>
<p><code>RewriteRule ^(wp-includes|another-dir)\/.*$ ./ [NC,R=301,L]</code></p>
<p><strong>7 – Hiding the Admin –</strong> Securing the administration is  important as it is an easy place where your username and password can be  yoinked. First of all, you will want to put the admin on an encrypted  connection (SSL). If you have cPanel, I believe this can be setup from  there. If you do not know how to do this you will need to get someone to  do it for you or ask your hosting company. Using a secure connection  for your admin is important because without it your login credentials  will be banded around the internet as plain text. They will also be  stored in your server&#8217;s log files as plain text – not good if a  malicious individual or a disgruntled server admin gets access to your  server.</p>
<p>Renaming the admin directory is also a good idea. By default it is  wp-admin/. However, this isn&#8217;t an easy job for those who do not have a  decent understanding of PHP. Alternatively, you can password protect the  directory. This can be done from cPanel.</p>
<p><strong>8 – Move the Config Data –</strong> As mentioned above, some text  editors will make backups of your PHP files which can be opened by  anyone, or if  you have server problems your PHP files could be output  as text. This opens up the problem of someone opening up your  wp-config.php file and snafing your database credentials. The best thing  to do is:</p>
<ul>
<li>Copy the contents of wp-config.php</li>
<li>Create a new file in a directory (e.g. wp-includes/conf.php) and paste the contents into it</li>
<li> Require the location of the new config location. This will look something like:
<div>
<div>
<div><a href="http://semlabs.co.uk/#">view plain</a><a href="http://semlabs.co.uk/#">copy to clipboard</a><a href="http://semlabs.co.uk/#">print</a><a href="http://semlabs.co.uk/#">?</a></div>
</div>
<ol>
<li><span><span>&lt;?php </span></span></li>
<li><span> <span>require_once</span><span>( </span><span>&#8216;wp-includes/conf.php&#8217;</span><span> ); </span></span></li>
<li><span>?&gt; </span></li>
<li><span> </span></li>
</ol>
</div>
<p><textarea style="display: none;" name="code">&lt;?php 	require_once( &#8216;wp-includes/conf.php&#8217; ); ?&gt; </textarea></li>
<li>Save the new wp-config.php</li>
</ul>
<p>It is essential that your new config file is in a directory that you  have blocked from outside access using the method in point 6. Otherwise,  you will just be telling people where you have moved your config.</p>
<p>A search on Google shows a number of sites with their database credentials ripe for the picking: <a rel="nofollow" href="http://www.google.co.uk/search?q=%27DB_PASSWORD%27+inurl:%27wp-config.php%27">sitting ducks</a></p>
<p><strong>9 – Database Encoding –</strong> In wp-config.php, you are able to  select your database encoding. It is advisable to use UTF-8 as other  character sets are vulnerable to SQL injection since WordPress doesn&#8217;t  use multi-byte character escaping.</p>
<p><strong>10 – File Permissions –</strong> Use the below file permission for optimal file system security:</p>
<table border="0">
<tbody>
<tr>
<th>Directory</th>
<th>Permission</th>
</tr>
<tr>
<td>./</td>
<td>755</td>
</tr>
<tr>
<td>wp-admin/</td>
<td>755</td>
</tr>
<tr>
<td>wp-content/</td>
<td>755</td>
</tr>
<tr>
<td>wp-includes/</td>
<td>555</td>
</tr>
</tbody>
</table>
<h1>WordPress Trojan Horses</h1>
<p><strong>11- Themes and Plugins -</strong> Last but not least, you can run into  serious trouble by installing plugins and using themes without checking  them for malicious code. If you don&#8217;t know PHP, I&#8217;d recommend only  installing plugins and themes which are listed in the official WordPress  directories as I&#8217;d image those are veted for nasties. Although with  plugins like <a href="http://blog.kaizeku.com/ranting/owned/wtf-wordpress-plugin/">pennispress</a> getting into the official directories, it is difficult to know who to trust these days <img src='http://ohgeeky.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://ohgeeky.com/hackers-could-attack-your-wordpress/' rel='bookmark' title='Permanent Link: Hackers Could Attack Your WordPress'>Hackers Could Attack Your WordPress</a></li><li><a href='http://ohgeeky.com/pros-and-cons-about-wordpress-mu-wp-buddypress/' rel='bookmark' title='Permanent Link: Pros and Cons About WordPress MU &#8211; WP &#8211; BuddyPress'>Pros and Cons About WordPress MU &#8211; WP &#8211; BuddyPress</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://ohgeeky.com/how-to-easily-secure-your-wordpress-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

