<?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>Peter Bargh blog &#187; Helping Hand</title>
	<atom:link href="http://www.bargh.co.uk/blog/category/helping-hand/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bargh.co.uk/blog</link>
	<description>A sort of online diary...to read if you've nothing better to do</description>
	<lastBuildDate>Sat, 31 Dec 2011 02:34:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Beware! Banner advert scam on WordPress with adv.php</title>
		<link>http://www.bargh.co.uk/blog/helping-hand/beware-banner-advert-scam-on-wordpress-with-adv-php/</link>
		<comments>http://www.bargh.co.uk/blog/helping-hand/beware-banner-advert-scam-on-wordpress-with-adv-php/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 18:27:44 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Helping Hand]]></category>
		<category><![CDATA[ad agency scam]]></category>
		<category><![CDATA[adv.php]]></category>
		<category><![CDATA[banner scam]]></category>

		<guid isPermaLink="false">http://www.bargh.co.uk/blog/?p=1655</guid>
		<description><![CDATA[If you receive an email like this what would you do? Hi, I am sorry I have to write you to e-mail from whois information of the domain. But I could not find contact e-mail or feedback form on your site. We are looking for new advertisement platforms and we are interested in your site. [...]]]></description>
			<content:encoded><![CDATA[<p>If you receive an email like this what would you do?</p>
<blockquote><p><em>Hi,</em><em><br />
I am sorry I have to write you to e-mail from whois information of the domain. But I could not find contact e-mail or feedback form on your site.</em><br />
<em> We are looking for new advertisement platforms and we are interested in your site.</em><br />
<em> Is it possible to place banner on your site on a fee basis?</em><em></em></p></blockquote>
<blockquote><p><em>Best regards,</em><br />
<em> Lilian Marchand</em></p></blockquote>
<p>I replied and asked what they had in mind. Here&#8217;s their reply back</p>
<blockquote><p><em>I represent Lemma Agency. At the moment we are preparing an advertising campaign for Lacoste Company (it is a French company producing clothes, footwear, perfumery etc.) We already have designed banners for the campaign, they are the following sizes: 160&#215;600, 240&#215;400, 300&#215;250, 336&#215;280, 468&#215;60, 728&#215;90.</em><br />
<em> What can be your price for one banner (banner should appear at ALL pages of your site) of abovementioned sizes (please specify the place for the banner â€“ top, bottom, left, right)? Please mention a normal link for banner, without javascript code and set prices in US dollars per month.</em></p></blockquote>
<blockquote><p><em>Best regards,</em><br />
<em> Lilian Marchand.</em></p>
<p><em> site: www.lemmaagency.com</em><br />
<em> e-mail: lmarchand@lemmaagency.com</em><br />
<em> phone: + (0)9 78 62 24 83<br />
</em></p></blockquote>
<p>I thought up a price and fired it off in another mail. This was accepted back in similar speed.<br />
I was then given a link to some code to download that appeared as a non harmful zip file that opened as adv.php with instructions on how to make the site ready for banners and payment.</p>
<p>The adv.php code was to be added into the wordpress blog as a plug-in. Alarm bells rang. Why would an ad agency want to add a plug-in? Normally they just provide banners as graphics with tracking links. Something smelled fishy.</p>
<p>Could the code be harmful? I had a quick read through and it seemed ok, but php is not my strong point. I asked my IT colleague to check it over.</p>
<p>A bit of research later and he came across many other blog owners who&#8217;d had similar emails, from different ad agencies. All worded exactly the same and all warning of this new scam.</p>
<p>These buggers are becoming clever&#8230;no longer content with sending you viruses through email or server hacks, they&#8217;re now getting web owners to do the hacking for them.</p>
<p>So if you run a wordpress site and get a email with similar characteristics. Ignore&#8230;or come up with some form of wind up and string them along.</p>
<p>More in-depth details of the people who discovered it was a hack can be found here:<a href="http://www.atpeaz.com/index.php/2011/wordpress-blogs-targeted-scam-beware-of-the-adv-zip-plugin/#more-984"> @peaz</a> and here <a href="http://www.sleeandtopher.com/2011/12/warning-bloggers-beware-of-blog-banner-ad-scam-with-adv-plugin/">SLee and Topher</a></p>
<p>&nbsp;</p>
<p>If you read this and a similar thing has happened to you feel free to add a comment with your experiences.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bargh.co.uk/blog/helping-hand/beware-banner-advert-scam-on-wordpress-with-adv-php/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Threat has been detected!</title>
		<link>http://www.bargh.co.uk/blog/helping-hand/threat-has-been-detected/</link>
		<comments>http://www.bargh.co.uk/blog/helping-hand/threat-has-been-detected/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 17:52:04 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Helping Hand]]></category>
		<category><![CDATA[bastards hackers]]></category>
		<category><![CDATA[trojan]]></category>
		<category><![CDATA[virus]]></category>

		<guid isPermaLink="false">http://www.bargh.co.uk/blog/?p=1376</guid>
		<description><![CDATA[I&#8217;ve just had an incident that I&#8217;ll explain how to get out of if you ever have the same. If you&#8217;re using an anti virus software and you get the message &#8220;threat has been detected&#8221; when you try to access wp-admin it could be that someone has posted a trojan in the comments on the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just had an incident that I&#8217;ll explain how to get out of if you ever have the same. If you&#8217;re using an anti virus software and you get the message &#8220;threat has been detected&#8221; when you try to access wp-admin it could be that someone has posted a trojan in the comments on the public part of your site. Avast, for example, picks up on this and suggests you don&#8217;t visit admin because of the threat. I went in through an &#8220;edit page&#8221; route and clicked on the activate comment area and got the same &#8220;threat has been detected&#8221; message. So I knew it must be the comment that had the virus.</p>
<p>Comments are stored in the database, so access your wordpress blog database, find the wp-comments table. Look for the comments and find one with suspicious message in the comment_content field and delete it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bargh.co.uk/blog/helping-hand/threat-has-been-detected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fatal error: Allowed memory size exhausted in WordPress 3.0 upgrade</title>
		<link>http://www.bargh.co.uk/blog/helping-hand/fatal-error-allowed-memory-size-exhausted-in-wordpress-3-0-upgrade/</link>
		<comments>http://www.bargh.co.uk/blog/helping-hand/fatal-error-allowed-memory-size-exhausted-in-wordpress-3-0-upgrade/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 21:41:29 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Helping Hand]]></category>
		<category><![CDATA[fatal error]]></category>
		<category><![CDATA[memory limit]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.bargh.co.uk/blog/?p=232</guid>
		<description><![CDATA[Have you upgraded to WordPress 3.0 and got the following message when trying to automatically update to 3.01? Fatal error: Allowed memory size of xxxxxxxx bytes exhausted (tried to allocate xxxxxxxxx bytes) I used to get that error on older versions of WordPress from time to time and resolved it by editing the wp-settings.php file. [...]]]></description>
			<content:encoded><![CDATA[<p>Have you upgraded to WordPress 3.0 and got the following message when trying to automatically update to 3.01?</p>
<p><strong><code>Fatal error: Allowed memory size of xxxxxxxx bytes exhausted (tried to allocate xxxxxxxxx bytes)</code></strong></p>
<p>I used to get that error on older versions of WordPress from time to time and resolved it by editing the wp-settings.php file. There&#8217;s a line that says <em><strong>define(&#8216;WP_MEMORY_LIMIT&#8217;, &#8217;32M&#8217;); </strong> </em>and a quick edit to<em><strong> </strong><strong>define(&#8216;WP_MEMORY_LIMIT&#8217;, &#8217;64M&#8217;); </strong></em>used to sort the problem out<em><strong>.<br />
</strong></em></p>
<p>But on a recent attempt to upgrade from 3.0 to 3.01 I got the error and found the memory allocation in the wp-settings.php file is split out as an include file on line 20</p>
<p><strong><em>require( ABSPATH . WPINC . &#8216;/default-constants.php&#8217; );</em></strong></p>
<p>and the &#8220;default-constants.php&#8221; file, with its memory settings is in the wp-includes folder and appears to now be correctly specified at 64M. After some research I found a site that suggested increasing this to 128M, or 256M I tried both and neither worked.</p>
<p>Another site suggested changing the PHP.ini file&#8217;s memory from 32M to 64M, but I use Namecheap and I don&#8217;t have access to that file.</p>
<p>I finally found the answer that worked for me.</p>
<p>Locate the .htaccess file in the WordPress root folder and add this line:</p>
<p><strong><em>php_value memory_limit 64M</em></strong></p>
<p>That worked fine. I hope that helps you too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bargh.co.uk/blog/helping-hand/fatal-error-allowed-memory-size-exhausted-in-wordpress-3-0-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building an Igloo</title>
		<link>http://www.bargh.co.uk/blog/diary/193/</link>
		<comments>http://www.bargh.co.uk/blog/diary/193/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 22:32:55 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[diary]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Helping Hand]]></category>
		<category><![CDATA[foliopic]]></category>
		<category><![CDATA[igloo]]></category>
		<category><![CDATA[snow]]></category>

		<guid isPermaLink="false">http://www.bargh.co.uk/blog/?p=193</guid>
		<description><![CDATA[I decided this year I will try to do as many new things as I can. I&#8217;ve made a list of places in the UK that I haven&#8217;t been as part of that resolution and I will also be on the look out for new activities. My first challenge, to break me in gradually, was [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bargh.co.uk/blog/wp-content/igloo.jpg"><img class="alignright size-full wp-image-194" style="margin-left:10px;" title="igloo" src="http://www.bargh.co.uk/blog/wp-content/igloo.jpg" alt="" width="300" height="209" /></a>I decided this year I will try to do as many new things as I can. I&#8217;ve made a list of places in the UK that I haven&#8217;t been as part of that resolution and I will also be on the look out for new activities.</p>
<p>My first challenge, to break me in gradually, was something I&#8217;ve never done with snow before..and that&#8217;s to build an igloo. I&#8217;ve done snow men and snow sculptures before but never attempted an igloo.</p>
<p>I also decided to record the building of the igloo photographically and then shoot the built igloo at night with an inner glow. I&#8217;ve uploaded the result in my portfolio and the rating is favourable, so I&#8217;m pleased with that.</p>
<p>I&#8217;ve also written how to do it on my foliopic site blog <a href="http://pete.foliopic.com/article/building-and-photographing-a-snow-igloo-111 ">Building an Igloo</a> so you can get an idea a) how to build an igloo, b) how to photograph one and c) view one of the strengths of a foliopic site&#8217;s article system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bargh.co.uk/blog/diary/193/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Images don&#8217;t right align in WordPress</title>
		<link>http://www.bargh.co.uk/blog/helping-hand/images-dont-right-align-in-wordpress/</link>
		<comments>http://www.bargh.co.uk/blog/helping-hand/images-dont-right-align-in-wordpress/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 18:16:13 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Helping Hand]]></category>
		<category><![CDATA[aligning images]]></category>
		<category><![CDATA[right align]]></category>
		<category><![CDATA[stylesheet]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://www.bargh.co.uk/blog/?p=108</guid>
		<description><![CDATA[I recently added a new WordPress template to one of my sites and found that the right align option did not work. The Alignment was set correctly in the upload &#8220;Edit Image&#8221; settings and appeared correct in the &#8220;Advanced settings&#8221; but when you preview the image was still at the left hand side. I looked [...]]]></description>
			<content:encoded><![CDATA[<p>I recently added a new WordPress template to one of my sites and found that the right align option did not work. The Alignment was set correctly in the upload &#8220;Edit Image&#8221; settings and appeared correct in the &#8220;Advanced settings&#8221; but when you preview the image was still at the left hand side. I looked up various WordPress sites for the answer and it appears that the style sheets of many of the themes are old and need updating to work on more modern versions of WordPress.  Several sites suggested adding the following code:</p>
<blockquote><p>img.centered {<br />
display: block;<br />
margin-left: auto;<br />
margin-right: auto;<br />
}</p>
<p>img.alignright {<br />
padding: 4px;<br />
margin: 0 0 2px 7px;<br />
display: inline;<br />
}</p>
<p>img.alignleft {<br />
padding: 4px;<br />
margin: 0 7px 2px 0;<br />
display: inline;<br />
}</p>
<p>.alignright {<br />
float: right;<br />
}</p>
<p>.alignleft {<br />
float: left;<br />
}</p></blockquote>
<p>The replies from various happy forum readers suggested that the code fixes the problem, but it didn&#8217;t do so on my chosen theme <a href="http://www.gabfire.com/gablog-wordpress-theme/">GabLog 1.0</a></p>
<p>After some more research I finally found the answer one line of code</p>
<blockquote><p>.alignright { float: right !important; margin:0 0 15px 15px !important; }</p></blockquote>
<p>Simply place this in the css style sheet. You&#8217;ll find this in the wp-admin page under &#8220;Appearance&#8221; and sub menu &#8220;Editor&#8221; From there look at the Theme files on the right, select Stylesheet (style.css) from Styles and add the above line of code in to the centre edit box. Click on update File and you should then find your image aligns to the right when you refresh.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bargh.co.uk/blog/helping-hand/images-dont-right-align-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Office Tip &#8211; Changing To Title Case</title>
		<link>http://www.bargh.co.uk/blog/helping-hand/open-office-tip-changing-to-title-case/</link>
		<comments>http://www.bargh.co.uk/blog/helping-hand/open-office-tip-changing-to-title-case/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 15:10:41 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Helping Hand]]></category>
		<category><![CDATA[open office]]></category>
		<category><![CDATA[title case]]></category>

		<guid isPermaLink="false">http://www.bargh.co.uk/blog/?p=102</guid>
		<description><![CDATA[I use Open Office and wanted to change some text to Title Case (Where Each First Letter Is A Capital Letter) In many programs you have a Change Case option in the Format menu. Here you would usually find Title Case, as well as UPPER CASE, lower case and sometimes Sentence case. But in OpenOffice [...]]]></description>
			<content:encoded><![CDATA[<p>I use Open Office and wanted to change some text to Title Case (Where Each First Letter Is A Capital Letter) In many programs you have a Change Case option in the Format menu. Here you would usually find Title Case, as well as UPPER CASE, lower case and sometimes Sentence case. But in OpenOffice there is no such option.<br />
After a fair bit of trawling I found my answer and thought it would be useful to add them to my blog as a notebook entry for me and as a help for anyone else looking for a quick fix. </p>
<p>So if you use Open Office here are a couple of solutions:<br />
<strong><br />
Changing a field to Title Case in Open Office Calc (Excel Equivalent)</strong><br />
Click on the cell in the next empty column across from the field you want to change. key in =PROPER ( ) and insert the cell number that you want to change inside the brackets for example =PROPER(A1) You will now have the A1 cell repeated in B1 cell with the words in title case.</p>
<p><strong>Changing a field to Title Case in Open Office Writer (Word Equivalent)</strong><br />
Select Format>Character and then click on the Font Effects tab and select Title from the Effects drop down list.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bargh.co.uk/blog/helping-hand/open-office-tip-changing-to-title-case/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>I never thought I&#8217;d consider my diet!</title>
		<link>http://www.bargh.co.uk/blog/helping-hand/i-never-thought-id-consider-my-diet/</link>
		<comments>http://www.bargh.co.uk/blog/helping-hand/i-never-thought-id-consider-my-diet/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 12:01:44 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[health]]></category>
		<category><![CDATA[Helping Hand]]></category>
		<category><![CDATA[cholesterol]]></category>
		<category><![CDATA[diet]]></category>

		<guid isPermaLink="false">http://www.bargh.co.uk/blog/?p=93</guid>
		<description><![CDATA[Following a heart attack you start looking at your life in new light. In my case excessive weight, lack of fitness or smoking could not be attributed to the cause…but one thing that I can change is my diet. Particularly my cholesterol level, which, at 6.6 (post heart attack), is too high for today’s standards. [...]]]></description>
			<content:encoded><![CDATA[<p>Following a heart attack you start looking at your life in new light. In my case excessive weight, lack of fitness or smoking could not be attributed to the cause…but one thing that I can change is my diet. Particularly my cholesterol level, which, at 6.6 (post heart attack), is too high for today’s standards. The guideline for UK today is around 3. I was put on statins which reduces this level but it’s time for a diet change as for years I’ve been doing it wrong – very wrong.</p>
<p>Two things I ate almost daily where cheese and chocolate…not together I might add.<br />
I’d have cheese on toast, cheese in sandwiches, cheese on pizza, cheese in dishes.<br />
And, in the evening I’d have a bar of chocolate with a pint. It became regular, and addictive. I’m told cheese can still be eaten, but not the hard variety which tends to have more fat. Basically, if the cheese tastes strong and lovely, like  mature cheddar, it’s probably no good. If it tastes bland like Edam it’s better.<br />
And milk chocolate is the one I’d reach for, but plain is the safer choice. I’ve had about two bars of chocolate in three months and miss it badly. </p>
<p>Things I ate weekly: curries, fish and chips, ready meals. I’ve had fish and chips once since and ready meals have been stopped completely.<br />
I love curries…the ones I like are cooked in Ghee (Indian butter). It’s about as fatty as you can get. I enjoy a peshwari naan alongside and pilau rice. In curry terms these are three big bad items. We should be eating dry meals such as Tandori or Shashlik, but I like those runny dishes that soak into the fried rice and go well with the coconut naan.<br />
The naan should be plain and the rice should be boiled. I’ve had two “proper” curries since, and the temptation to go back to what I really enjoy was too great, I can live without the peshwari naan and the pilau rice, but not the flavour rich jalfrezis or dopiazas. Once now and again won’t hurt, he mutters with fingers crossed.</p>
<p>Five a day!<br />
If there’s one thing that’s been well and truly drilled into us it’s the message &#8211; five a day. We’ve all heard it, but do we take notice? I didn’t, I do now! So what is five a day? We know it’s fruit and veg but how much? Here are the requirements for an adult:</p>
<p>Something the size of an apple is classed as one portion<br />
A plum or kiwi is half a portion so two would be needed to make a portion<br />
A larger item such as a pineapple would require a thick slice<br />
And a small item such as a grape would need a handful<br />
Dried fruit counts (you need a tablespoon’s worth)<br />
A 150ml glass of fruit juice<br />
A dessert bowl of salad<br />
2 tablespoons of any veg, raw or cooked</p>
<p>Have fruit with breakfast, as a snack and after a meal, include veg with a meal and a glass of juice at some point in the day and you’re sorted.</p>
<p>Something fishy<br />
I regularly ate tinned tuna in sandwiches, and was eating it because I thought I was being healthy. I had no idea why, but thought, it was fish, so it was good. The reason you need fish is for the Omega 3 oils. In tuna it’s unfortunately removed in the canning process, so you need to switch to mackerel or pilchards if canned fish is your thing. Fresh Tuna’s fine.</p>
<p>Milk round<br />
I’ve had semi skimmed milk for years and at least that’s one thing I don’t need to change. I’m told there are some new skimmed milks doing the rounds that have flavour, but that remains to be tested by the Bargh palate. </p>
<p>I also cook using Olive oil which is the best route but reduce the amount of oil you use. </p>
<p>I’ve used spreads as a butter replacement for years too, but there are some that are better than others. Make sure you choose a spread with less than 15g of saturated fat per 100g, and spread thinly.</p>
<p>Are you nuts about nuts?<br />
Research suggests that nuts can reduce your chances of heart attack by up to 35%. This is because they are shown to reduce low-density lipoprotein cholesterol (the bad cholesterol)<br />
My favourite nuts are cashews, but the best appear to be Walnuts (they contain Omega 3 fatty acids) and Almonds that are rich in protein, vitamin E, manganese, magnesium, copper, vitamin B2 (riboflavin), and phosphorus. Other healthy options include peanuts (not Bombay spiced!), pumpkin seeds and cashews.</p>
<p>As a disclaimer I must state that I’m not a dietician just following advice I’ve been given or read. It’s not conclusive; I’ve just scratched the surface, but it may give you a lead to research further. But be warned you will find lots of conflicting info.  </p>
<p>btw my cholesterol level is now 3.5. So something&#8217;s worked.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bargh.co.uk/blog/helping-hand/i-never-thought-id-consider-my-diet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Malware and 7speed.info</title>
		<link>http://www.bargh.co.uk/blog/helping-hand/malware-and-7speedinfo/</link>
		<comments>http://www.bargh.co.uk/blog/helping-hand/malware-and-7speedinfo/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 18:23:47 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Helping Hand]]></category>
		<category><![CDATA[attack]]></category>
		<category><![CDATA[bastard hackers! javascript]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[virus]]></category>

		<guid isPermaLink="false">http://www.bargh.co.uk/blog/?p=67</guid>
		<description><![CDATA[You have found this post because you&#8217;re trying to find out about an attack from 7speed.info a malware site that has somehow infected your web site causing virus alert warnings from programs such as Avast. I struggled to find out information searching Google for an answer when it happened to me yesterday. I fumbled around [...]]]></description>
			<content:encoded><![CDATA[<p>You have found this post because you&#8217;re trying to find out about an attack from 7speed.info a malware site that has somehow infected your web site causing virus alert warnings from programs such as Avast. I struggled to find out information searching Google for an answer when it happened to me yesterday. I fumbled around and eventually found the way to resolve it thanks to Scott of <a href="http://mtminds.com/" target="_blank">MTMinds</a>.</p>
<p>The site has managed to get to your directory (web folders) and added some javascript to certain pages so that the malware (combination of malicious and software) is activated.  You need to do two things.</p>
<p>First <strong>make your site secure</strong> using new stronger passwords on your server access point and when using ftp. Change these passwords immediately. Use passwords with 8 to 12 character length that are not meaningful words just a string of letters (upper &amp; lower), punctuation and numbers. I now use this site to generate ones automatically  for me: <a href="http://www.pctools.com/guides/password/" target="_blank">PC Tools Secure Password Generator.</a></p>
<p>Second find any files that have been &#8220;infected&#8221; and <strong>remove the offending javascript</strong>.</p>
<p>The javascript from 7speed.info was placed in the first line of the body on most of my sites, and finding it on ones I&#8217;d created using html and basic structures was easy&#8230;once I knew what I was looking for! But on sites built using templates such as WordPress and Drupal it was a more challenging discovery. So I&#8217;ve written this blog to help speed up your investigation and repair.</p>
<p>The javascript looks like this at the beginning <span style="color: #ff0000;">&lt;script language=JavaScript&gt;</span> then the functiion follows with<span style="color: #ff0000;"> function hilbnb25(z)</span> the hilbnb bit might be a different set of charachters on your page but it always seems to follow with (z) Next is  <span style="color: #ff0000;">{var c=z.length,m=1024</span> and then a huge string of letters and numbers ending with <span style="color: #ff0000;">&lt;/script&gt;&lt;!&#8211; <em>your domain host</em> &#8211;&gt;</span><br />
If you take all this out the problem is resolved.  Back up just in case you make a mistake.</p>
<p><strong>To find the javascript</strong><br />
I have several sites and found the easiest way to see if my site was infected was to use the information menu on FireFox Web Developer extension. And then searched for 7speed.info. It highlighted any code on the site. I could then locate the page via ftp and delete the code.</p>
<p><strong>Pages affected</strong><br />
In my experience it was <strong>Index.html</strong> and <strong>index.php</strong> pages infected on basic sites<br />
<strong>Header.php</strong> and <strong>Footer.php</strong> on basic sites with include files.</p>
<p>On <strong>Drupal</strong> templates you need to go into the directory of the theme you are using and locate the <strong>page.tpl.php</strong> file</p>
<p>On <strong>PHP Fusion</strong> edit the <strong>subheader.php</strong> and <strong>footer.php</strong> files</p>
<p>On <strong>WordPress</strong> go into the theme directory and edit the <strong>header.php</strong> and <strong>footer.php</strong> files.</p>
<p>Hope that helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bargh.co.uk/blog/helping-hand/malware-and-7speedinfo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Google Adwords spammer</title>
		<link>http://www.bargh.co.uk/blog/helping-hand/new-google-adwords-spammer/</link>
		<comments>http://www.bargh.co.uk/blog/helping-hand/new-google-adwords-spammer/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 11:31:02 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Helping Hand]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.bargh.co.uk/blog/?p=62</guid>
		<description><![CDATA[Just a word of warning for Google Adword users. There&#8217;s a new email going around trying to catch you out. The mail will look something like this Dear Advertiser, &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; We were unable to process your payment. Your ads will be suspended soon unless we can process your payment. To prevent your ads from being [...]]]></description>
			<content:encoded><![CDATA[<p>Just a word of warning for Google Adword users. There&#8217;s a new email going around trying to catch you out.</p>
<p>The mail will look something like this</p>
<blockquote><p>Dear Advertiser,<br />
<span style="color: #ffffff;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
We were unable to process your payment.<br />
Your ads will be suspended soon unless we can process your payment.<br />
To prevent your ads from being suspended, please update your payment information.<br />
<span style="color: #ffffff;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
Please sign in<br />
to your account at http://adwords.google.com/select/login,<br />
and update your payment information.<br />
<span style="color: #ffffff;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
No matter what size business you run<br />
Advertise your business with Google Adwords</p></blockquote>
<p>Before going to any site from an email link hover over the link to see where it&#8217;s directing you, because even though the landing page will look &#8220;real&#8221; the actual site may be a hoax (like this one is), and looking to get your username and password.</p>
<p><span style="color: #ffffff;">Before&#8211;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bargh.co.uk/blog/helping-hand/new-google-adwords-spammer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google take searches to the next level</title>
		<link>http://www.bargh.co.uk/blog/helping-hand/google-take-searches-to-the-next-level/</link>
		<comments>http://www.bargh.co.uk/blog/helping-hand/google-take-searches-to-the-next-level/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 13:26:05 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Helping Hand]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[SearchWiki]]></category>

		<guid isPermaLink="false">http://www.bargh.co.uk/blog/?p=57</guid>
		<description><![CDATA[The Google search has become so widely used that the phrase used &#8220;Just Google it&#8221; has become the common way to suggesting an internet web page search, so Google joins the like of Hoover and Sellotape. Yesterday Google took the search to the next level. They have added a feature that allows logged in Google [...]]]></description>
			<content:encoded><![CDATA[<p>The Google search has become so widely used that the phrase used &#8220;Just Google it&#8221; has become the common way to suggesting an internet web page search, so Google joins the like of Hoover and Sellotape. Yesterday Google took the search to the next level. They have added a feature that allows logged in Google users to move useful searched items to the top of the search results. So, for example, If I am always looking at black &amp; white photography. When I search I may get two pages of spammy sites who&#8217;ve mastered their SEO. I then find the interesting stuff half way down page three. Now I can click an arrow to the right and it promotes that site to the top of page one, and remembers my preference. It&#8217;s like having a Digg system (see there I go) social bookmarking system for Searches.<br />
The more you use it the better the results will be for you. And unlike other SEO techniques the affect of people upgrading sites to top wont affect others. You only see what you&#8217;ve done, and only when you&#8217;re logged in.  You can view how the community has collectively edited the search results but this does not affect your usual Google search.<br />
As well as promoting sites you can also remove sites from the search too so you can get rid of spammy ones you can also make notes. This is a great move forward and it will be interesting to see if at any point Google starts to take not of quality filtered results and applies that data to their system so everyone benefits.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bargh.co.uk/blog/helping-hand/google-take-searches-to-the-next-level/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

