Mozilla Firefox Plugin – DontPhishMe

I was discovered this article from CypherHackz.Net that MyCERT do have Mozilla Firefox plugin to protect users from Malaysia to get phishing by the Malaysian known Internet Banking page.

The plugin named DontPhishMe. As a result, if you installed these plugin from Mozilla Firefox, you will be protecting by alert you some error message if it is a phishing site instead of the official Internet Banking page.

Download it here.
Mozilla Firefox Plugin, here.
Google Chrome Plugin, here.

Understand ASP.Net custom error

It is very normal when you design your script in ASP.Net and getting some runtime error as attached below when you are designing your script from your local PC and uploaded to the web server.

With the above error, some programmer not even know what to do :S .

Today, MGe will guide you on what is the custom Error type and how to make it work when you are hosted to the web server that do not have the administrator privilege.

Basically custom error used to hide the real error from the script from the visitor, where it might be the sensitive information from your website such as connection string.

The ASP.Net <customErrors /> do have 3 types, such as On, Off and RemoteOnly. In short, may refer to the table as below.

Off Show everyone the detailed error message.  This is rarely a good idea.
On Don’t show anyone the detailed error message.
RemoteOnly Only show the detailed error message if you are testing from the local server where the site resides.

To set it, just open your web.config file and set it from the <system.web>.

Eg.

<customErrors mode="RemoteOnly" />

Windows Error Codes Lookup Tool

With Windows Operating System, you might sometimes get some Windows Error codes that you might not know what is that error stand for.

You may now get the Windows Error Codes Lookup Tool(WELT) to understand what is that error stand for.

WELT will work with regular error code with Windows and analyze the error message from Windows. All you need is copy the error code and paste to the Error text box and it will generate the error of yours.

Download the WELT here.

cPanel License Checklist

If you using cPanel as your server control panel and you might found out the license expired error message for sometimes.

First of all, you should check if your server hostname is Fully Qualified Domain Name (FQDN). To do this, log into your SSH, type hostname.
$ hostname

Your hostname should appear like server.mickgenie.com instead of mickgenie only.

Next, you may check from cPanel verify site as URL below if your license have expired.
http://verify.cpanel.net/

Then you should check if your primary IP of the server match to the registered license IP. Log into your SSH again and type,
$ curl http://www1.cpanel.net/showip.cgi

If the IP not match, contact cPanel on that.

Lastly, verify or update your license as script below from SSH.

How to repair your MySQL databases

If you are using MySQL databases as your database engine, you surely ever get the error message as below if your database grown day by day.

Table “table” is marked as crashed and should be repaired.

To understand MySQL database table with MyISAM type, you will have .frm, .MYI and .MYD type, so the data stored from MyISAM type is storing to .MYI file extension.

To repair the database, open your SSH Console, type the following command.

myisamchk -o /path_to_mysql/database_name/table_name.MYI

where the table_name is the table name.

If you got tmp drive too low, you may add the following command from the my.ini or my.cnf.

[mysqldump]
tmpdir = /home/mysql/tmp

assume you assign the path to /home/mysql/tmp/.

Your website shall working without any issue now.

Lowest Numbered MX Record Points to localhost

If you are using cPanel server and you might get this error from your exim_mainlog very often whenever sending and receiving email.

temporarily rejected RCPT <[email protected]>: lowest numbered MX record points to localhost

The reason of this error message is the domain.com is missing from either the /etc/localdomains file or /etc/remotedomains file. The difference between two of these file is that, they decide whether the email has to be delivered locally or through a remote server by the exim email services.

To get it fix, add your domain.com to /etc/localdomains file to last line(new line each domain).

You need to install the LWP perl module (libwww-perl) and then install csf

You might got error with “You need to install the LWP perl module (libwww-perl) and then install csf” when you installing your CSF firewall. Below is the error message got.

[[email protected] csf]# sh install.sh

Configuring for OS

Checking for perl modulesfailed
You need to install the LWP perl module (libwww-perl) and then install csf
[[email protected] csf]#

To overcome the problem, you may yum install the required module named perl-libwww-perl.

yum install perl-libwww-perl