enrii.blog

A passionate programmer’s findings in the world of internet.

Check If Your Blog Has Been XSS Hacked

June 17th, 2008

Matt Cutts mentioned about an easy check to know if your blog or website has been hacked using cross site-scripting (XSS). Since this blog got hacked not long ago, I did the check.

All you have to do is to google for: "<your domain> <spam keyword>"

Alternatively, you could try: "site:<your domain> <spam keyword>"

I guess everybody knows what keywords that most spammers would use. A very obvious example would be "porn". So, I search in Google for "enrii.com porn". In the search result, I found one of my page links to a porn site. As I opened the page, I can't see the word.

Using Ctrl-F on Firefox, it seems to be able to find the word, though it is not visible. Then, I looked in the source file (right-click > View Page Source), and I found a long list of links after blog content. The spammer hide the links with the following CSS:

position:absolute;overflow:hidden;height:1px;width:1px;

Obviously, it is done for the search engines, not for my visitors. I have removed it. You should do the same for your blog. You should also try on different keywords.

Though it's interesting that this trick actually helps you to removed unwanted spam on your blog, I wonder why it would work as the page could have been removed from Google's search results if it contains spams.

Apple iPhone (3G) is not coming to Malaysia?

June 12th, 2008

TelecomTV wrote:

Apple named just Singapore, Japan, Hong Kong & Macau, India and the Philippines as Asian markets earmarked for the new device this year. China, Indonesia, Thailand, Malaysia and Taiwan were among notable omissions from the list although the likes of Equatorial Guinea, Nicaragua and Botswana made the cut!

Not much choice left for us. We can only get illegal hacked version from other countries. Not to mentioned about the 3G version, even the older version is not here yet!

How legal or illegal is it, to own a hacked version from Singapore?

Apple iPhone 3G is Out!

June 10th, 2008

I have been eyeing for an iPhone quite some time. It's not coming to Malaysia yet. I have asked some dealers in Low Yat, who brought iPhones from other countries. It costs around RM1700 for 8GB version. Some are selling it for RM1850!

Now, the new iPhone 3G will be out on July 11, with HALF THE PRICE. It costs only USD199 for the 8GB version and USD299 for 16GB version. I wonder how much it would cost to get one now. Hopefully Apple will bring it to Malaysia soon.

The best part of the iPhone 3G is of course the 3G functionality, and it comes with GPS as well. It could replace my Dopod D810 any time!

Note: I hope to upload some pictures but I'm not able to upload any using the WordPress' flash image uploader when I'm in the office, although it works fine from home. Probably it doesn't work well through a lousy proxy server.

Google AdSense Apology Email

May 14th, 2008

Google's email asking me to accept new terms is a mistake. I receive this email today:

We sent you a message earlier this week reminding you to accept
our updated AdSense Terms and Conditions. However, the message was
sent in error, as our records show that you have already accepted
the new Terms and Conditions.

We sincerely apologize for the miscommunication and any confusion
caused. Please be assured that no further action is required on
your part, and you may continue to access to your account as
normal.

Google AdSense Terms Update

May 13th, 2008

I received a email notification from Google AdSense, telling me that there are some changes to the terms and I should log in to accept the changes.

As you may know, we recently updated our AdSense Terms and
Conditions to reflect upcoming product changes and ensure that
they're consistent with policies across Google.

We noticed that you haven't yet accepted the new Terms and
Conditions. To review them and indicate your acceptance, please
log in at http://www.google.com/adsense and follow the
instructions
. Please be aware that all publishers must accept the
new Terms and Conditions in order to continue their participation
in the AdSense program.

You can find more information about some of the changes in the new
program terms by reviewing
https://www.google.com/adsense/support/bin/answer.py?answer=81794
. Unfortunately, we're not able to further interpret the meaning
of the Terms and Conditions for you. If you have additional
questions, you may wish to contact an attorney.

We appreciate your understanding.

I was asked to follow the instructions after I log in but I don't get any instruction at all. Is anyone experiencing the same thing?

P.S. I'm glad I my blog is finally up again. It has been down for almost a week!