Jojo Siao

Icon

enjoying life

Hack Attack on jojosiao.com

I was checking up my emails in the afternoon, when I noticed twitter reported to me that I included in my profile an attack site. I checked it and it was my blog site that is being reported as having malicious code.

I managed to repair the site and get everything back to normal. My host was also very helpful to me to get back my site online.

If you are using Firefox 2.0+, and you have google toolbar installed, chances are, you will be blocked from visiting my site. It is only natural because,

What happened when Google visited this site?

Of the 3 pages we tested on the site over the past 90 days, 1 page(s) resulted in malicious software being downloaded and installed without user consent. The last time Google visited this site was on 2009-07-25, and the last time suspicious content was found on this site was on 2009-07-24.

UPDATE:
To remove Google’s warning to your visitors, you have to request for a review in the Google Webmaster tools to certify that you already removed the badware that has been in your site.

Using JQuery Modal Dialogs

Remember that twit I made regarding my creation of a web app without using a PHP framework? It was because of this project that made me to try out JQuery Modal Dialogs.

My purpose of having a modal dialog in the web app is to let the users have somewhere to refer to if in case they forgot or don’t remember what exact value to provide.

Read the rest of this entry »

Querying MySQL tables with Python and MySQLdb

Previously I made a  blog post regarding installing mod_python. Now I will share with you how to query mysql tables with Python and MySQLdb.

Installing MySQLdb

If we want to check if mysqldb is already installed, type ‘python’ on the commandline and then, type ‘import MySQLdb’. If it does not respond to an error, it means you have it already installed.

Checking MySQLdb

Checking MySQLdb

Read the rest of this entry »

Installing mod_python

I want to share to you how I was able to add python support on to my fedora server.

First, you must check your server if you have already Python installed by simply typing python on the command line.

Checking installed Python on server

Checking installed Python on server

Read the rest of this entry »