Saturday, November 05, 2011
Weird virus on hosted site
The actual cause, which I just found today, was a modified .htaccess file, which contained a lot of empty lines, designed to hide the last line which was:
php_value auto_append_file /home/www/[username]/files/Thumbs.db
The Thumbs.db file, obviously meant to be hidden in plain sight, contains php code like this:
So, as I understand it, this php code gets executed at the end of every php file, which when using a CMS system like drupal, means for every page.
This evaluated to including a file from some random site jdfhjd.nl.ai - and a file called showthread.php, which included some more obfuscated code, which ended up loading a java applet. The clever thing is that this only happened periodically, which means it may or may not happen on a given visit to the site. Every once in a while I'd get a 'this applet needs your permission to run' dialog from the browser, but I knew there were no applets required for the running of the site. As it only happened periodically I never managed to get a browser with tools to show up where the issue was, until today. I got the dialog, and used chromes developer tools to see that the extra php page was included. From this I googled, and eventually found that the htaccess file could be the source of the problem. More info here : http://wewatchyourwebsite.com/wordpress/
I had also been receiving a Exploit Script Injection (Type 1702) error, which points to this type of problem.
Googling about it revealed that it seems to be a wordpress or wp plugin problem. I had tried out wordpress on the site a couple of months ago, so perhaps this is the cause.
Anyway, its all gone now, and I know what to look out for, so I'll be keeping an eye for the future. Anyone with a similar problem, post a comment.
Saturday, October 29, 2011
Dooey Sat 29th Oct
Out on the water things were going much better today. I now feel like I'm back to the standard I was at a couple of months ago, which I had regressed from last time I was out.
The accidental rolling and board nose problems with jumps are almost gone, and I was riding out over the waves well. The wind started off cross, and moved around to cross on, so perfect conditions. Waves were good, quite frothy, but with long flats in between. Still haven't got a proper handle on the jumps, but getting a lot better; today I was able to consistently jump two waves that came in doubles - never managed that before.
My toeside riding right to left is coming on, usually I just carve around to heelside again, but sometimes I tried a flip back to heelside before turning, managed it not too bad, although I'm sure it wasn't that beautiful.
Not sure how long I was out, but I think after somewhere between one and two hours on the water I started to mess up some simple stuff, so I knew I was getting tired and lazy - time for a break. During my break I helped launch/land the other four guys, and also took some GoPro footage of Jonny. It was a warm (~14 degrees) and sunny day, so that was perfect.
During my break the wind had picked up, so I set up the 9 before heading back out. Just as I was preparing to launch the wind seemed to drop, but I though the 9 would be ok. I walked to the water, and had a few runs out and in, but the wind was really for nothing, so I came back in.
I had a few good falls today, drank a fair bit of the sea, some through my nose, and also I think in my ears. Oh, and when I was setting up my new trim line I forgot to add the wee black stopper, so that was a bit of a hinderence, although it didn't cause me as much trouble as I originally thought, I just couldn't let go of the bar.
All in all it was a superb day, I think I'm more suited to short sessions than long ones; my fitness level can let me down.
Wednesday, October 26, 2011
Data Recovery - TestDisk
I got the disk, and got to work on it. Sure enough, plugging the disk in showed an empty, newly formatted volume. I spent an evening downloading quite a few free data recovery tools, and ended up getting the best results from "TestDisk".
http://www.cgsecurity.org/wiki/TestDisk
After a couple of tries, I was able to set the software to only bother about image files (otherwise you recover txt, dll etc that I really don't care about)
You could see it stall as it got to the bad sectors on the disk, but it kept spitting out files, thousands of them, mostly internet explorer cache images. It ran for a good few hours, I let it run overnight. I then filtered the images by dimensions (most of the cache images were thumbnail size). This left me with 700 image files, some of which I knew were of interest, others obviously came with the PC.
I used the unix (cygwin) exif command in a script to move all the files into folders based on the camera that took them, and subfolders named by the date taken. This should help the user to reorganise them, when they get them back.
I would heartily recommend this tool, its not very beautiful looking, but it is quite easy to use, and very effective.
Friday, October 07, 2011
Benone Friday 7th Oct
It was sunny with showers today, as I got to the beach I could see the rain blowing in from the distance. I knew I could get set up in the meantime, and so I got the bar and lines out and got the kite pumped before the rain arrived. The rain was over in a few minutes, but it was so heavy that there were puddles on the kite.
When I went to get my harness out of the boot it had locked itself shut, but I managed to prize my way into it from the back seat (to repair later)
On the water with the 12 it was blowing great, although quite up and down, but some trim adjustments meant I was powered nicely, having a great session. The waves when breaking were huge, over 6ft, and it was a frothy break, but really long flats in between, just how I like it.
However, with it being almost two months since I had a proper run out I noticed I had lost a lot of progress. When jumping out over waves I was rotating a bit, meaning I had a tendency to miss the landing, and end up on my side. Once I did this and smashed straight into an oncoming wave, boy that was sore.
Apart from that I was getting on grand, lost the board a couple of times, bodydragged back and picked it up no problem. Still working on the toeside on the way in and the jumps on the way out.
I was sailing in, ready to turn in the shallow water and suddenly the bar disappeared away up the lines. I thought my chicken loop had come out, but when I looked it was still in! My trim line connecting the chicken loop to the front lines had broken!
Fortunately it was in the shallow water, so I could walk to my kite and gather it up. If it had been out in the deep water it would have taken longer. That's why its nice to have a big beach :)
Tuesday, October 04, 2011
Thursday, September 15, 2011
Sunday, August 28, 2011
Castlerock Sunday 28th August
Friday, August 26, 2011
Holiday Day 7 - Friday
We went into the city center this morning and browsed many, many shops.
Thursday, August 25, 2011
Holiday Day 6 - Thursday
Wednesday, August 24, 2011
Holiday Day 5 - Wednesday
As a treat for the kids we decided to book a hotel for a couple of nights, and tonight is the first.
Tuesday, August 23, 2011
Holiday Day 4 - Tuesday
Another lovely day today, sometimes sunny sometimes overcast, but perfect weather for working.
I started work on the steps at the end of the wall. I spent a good while at it, a lot of time on planning as it is pretty tricky.
Picked the car up from Ryan tonight, its like a different car, the clutch has never felt like that in the last four years.
On the way back from Magherafelt we called in to see granny - nice way to end the evening.
Monday, August 22, 2011
Holiday Day 3 - Monday
Had a nice lie in this morning - its nice not to have to get up.
We went to pay for the rockery plants this afternoon but there was no one there. We did something I wanted to try for a long time and walked from the barmouth road towards castlerock which was really nice.
This evening I strimmed up the side of the grass. The new strimmer is a super job.
Sunday, August 21, 2011
Holiday Day 2 - Sunday
Saturday, August 20, 2011
Holiday Day 1 - Saturday - Silage
Friday, August 19, 2011
Holiday Day 0 - Friday
Today is sort of the first day of my holidays. Well, holidays started at 4pm after work finished, but during the day 19 tonnes of stones had been delivered to the front of the house.
Tuesday, August 16, 2011
Benone Tuesday 16th August
Monday, August 08, 2011
Benone Monday 8th August
Friday, August 05, 2011
Benone Yesterday
Thursday, August 04, 2011
Kitesurfing Castlerock 4th August 2011
Tuesday, July 19, 2011
Benone Tuesday 19th July - Evening
Benone Tuesday 19th July - Lunchtime
Monday, July 18, 2011
Benone Monday 18th July
Thursday, July 07, 2011
7th July 2011 - Famara
The wind was surprisingly variable and sometimes the 12m bolt was underpowered. The waves varied too, from infrequent with lots of nice flat water in between, to all on top of each other, huge waves. The board was smaller than I was used to as well, but it seems ok.
As for the lesson I may as well not have bothered, there were three other beginners there who were trying to master the board start, and the instructor spent most time with them.
He did call me out of the water to show the correct kite motion for some jumps I was attempting, but it wasn't really anything I didn't already know. I just need practice. And a beach with shallow water full of learners isn't the place to do it.
Another surprise was being kitted out in a full length wetsuit - I was expecting a shorty and warm water. Not so, in fact I would say the whole thing felt colder than my normal session at home. I suppose it was overcast, maybe if the sun had been out it would have felt a lot warmer.
It was a worthwhile morning, didn't learn a lot, got to fly some new kites, got to see that other people have trouble learning too; good to see I wasn't the only one. It's always nice to spend time on the water.
Thursday, June 30, 2011
Benone Thursday 30th June
Saturday, June 25, 2011
Saturday 25th June 2011 Location 'X'
Wednesday, June 22, 2011
Benone / Castlerock 22 June 2011
Saturday, June 04, 2011
Benone Sat 4th June
Tuesday, May 31, 2011
Wednesday, May 18, 2011
Monday, May 16, 2011
Saturday, May 14, 2011
Castlerock - 14th May 2011
Today was planned to be a busy day, but also a good wind day, so I decided to make an early start and headed off to the beach around 7.
Tuesday, May 03, 2011
What are the cameras for?
Sunday, May 01, 2011
Benone Kitesurfing - Sun 1st May
Saturday, April 30, 2011
Benone Kitesurfing - Sat 30 April
Saturday, April 16, 2011
Kate's first public performance
Tonight Kate played at the Spring Concert for the Causeway School of Music. When she was asked to play we didn't think an awful lot about it, we'd never been before and it was probably something like a school concert.
Saturday, April 02, 2011
Dooey, Sat 2nd April
The wind has been from steady S/SW direction all week, although some times very strong and others weak, but the forecast was showing reasonably good for Dooey for today.
Thursday, March 03, 2011
Visual C# error - Unable to copy file .. because it is being used by another process
Unable to copy file "obj\Debug\MyProjectXXX.dll" to "bin\Debug\MyProjectXXX.dll". The process cannot access the file 'bin\Debug\MyProjectXXX.dll' because it is being used by another process.
Sunday, February 27, 2011
Benone Sunday 27th Feb
Saturday, January 01, 2011
Benone, 1st Jan 2011
After standing for a while I decided to give it a try, so got all geared up and headed out. It was well worth it, although very straight on the waves were such that riding over them wasn't really a problem.
Spent only about an hour out, and then the wind dropped, so I came in for a rest. Wasn't cold apart from the tips of my fingers, which were freezing!! I should have worn my gloves to get set up.
I was going to go out again, but I felt a little cold and chickened out. Still, nice to get out after a long break.