Tips and Tricks
Configurable ping.module in Drupal
Ping is one of the most a-must mechanism for interactive web community and blogging platform. Drupal comes with ping.module which periodically pings to pingomatic.com. However, sometimes you might want to specify a list of pinger URLs that pingomatic don"t support or pingomatic may be too busy for you. To satisfy this requiremnt, David Herron suggested to modify ping.module directly.
Fortunately, Richard Eriksson submitted a patch for configurable settings. That patch is for Drupal 4.6.x so I adapted that patch to work properly on Drupal 4.7.x. Download the patch from the drupal site or see below.
- sugree's blog
- Add new comment
- Read more
- 2994 reads
Since 3 days ago, My AdSense Status in Google Sidebar bundled with always shows "Invalid Username/Password" no matter what I tried. Fortunately, I have just got a popup said that AdSense Status has been updated! to version 1.1 for fixing this problem and added support for searchs and referals. Wow!
For more information, see Invalid Username/Password in support forum.
- sugree's blog
- Add new comment
- 2105 reads
A Visual Installation Guide on Sneak Preview SAP NetWeaver 04 SP11 Java Edition
I spent about one week to install Sneak Preview SAP NetWeaver 04 on my PC. I encountered a timezone problem during installation and login failure problem after installation. Finally, I found a perfect procedure to avoid all possible problems.
System Environment
- Windows Server 2003 Enterprise Edition SP1
- Physical Memory 1 GB
- Free Space in C: 50 GB
- This machine is just a part of workgroup. It is not a member of domain.
Installation Steps
- Make sure that you have installed main memory at least 512 MB. Otherwise, increase virtual memory to 1 GB
- sugree's blog
- Add new comment
- Read more
- 2896 reads
What to do if your computer is hacked
Today, I have just found that one of my machine has been hacked by unknown intruder. That machine is Rocks 4.1 which is an extension of CentOS 4.2 Final. Actually, I didn"t know that it was hacked before notification from NOC. My NOC received the notification from eBay. I am one of the team to investigate this problem. Below steps are what I do.
- My colleage found that there were many process named `(swapd)`. Unfortunately, the executable was removed.
- So I looked for login record using `last`. I found one weird login namely `ftpd`.
- As I remember, I have never started any ftp service on this machine! There was something wrong with user ftpd.
- So I opened /etc/passwd and /etc/shadow to find more information about user ftpd.
- Sadly, it was on the last line and enabled logging in. This must be some kind of backdoor.
- Then I tried to find out more using netstat and ps. Nothing found! This is so strange because I couldn’t use netstat -p. It seemed netstat were replaced by rootkits.
- So I didn’t believe anything I saw and started to verify common executable like netstat and ps using rpm -V.
- Well, they were replaced by rootkits like I thought. So I downloaded all necessary executables from another machine.
- Next step was to see what command user ftpd had done in .bash_history. Nothing.
- So I backed to verify history of user root. Bingo! The intruder forgot to remove history of root.
- In the history, I found commands for preparing eBay phishing in 4 steps!
- Create .eBay directory in /var/www/html
- Download http://www.pishat.com/ebay.tgz and extract it in .eBay
- Download http://www.pishat.com/neptune.tar and extract it somewhere
- Run install script
Once I had the ebay.tgz, I looked into the code and found that it was a kind of phishing against eBay! At the last step, the victim’s credit card information will be sent to . Are you hacked? Don’t worry too much. If you are already hacked, you are hacked. You can change nothing. For me, this machine is just for installation testing so I will just simply reinstall it again and again.
- sugree's blog
- Add new comment
- Read more
- 1466 reads
Apps on the Grid
ADTmag has published a long article regarding Apps on the Grid. Below are basic ideas of this article.
Technorati Tags: English, HPC, Grid Computing, Review
BREAKING THE GRIDLOCK
- sugree's blog
- Add new comment
- Read more
- 1017 reads
MS Outlook 2003: Interface not registered
Sadly, my friend"s machine running MS Outlook 2003 always shows error message "Interface not registered" whenever he tries to send a e-mail. After googling for a while, this error message is a well-known one. It usually occurs if "Use Microsoft Word to edit e-mail message" and "Use Microsoft Word to read Rich Text e-mail messages" both are turned on.
For the exact solution, I have to run below command.
Regsvr32.exe %windir%\System32\Ole32.dll
For more information, read KB870707.
- sugree's blog
- 5 comments
- Read more
- 8453 reads
Recent comments
3 years 4 weeks ago
3 years 9 weeks ago
3 years 9 weeks ago
3 years 10 weeks ago
3 years 10 weeks ago
3 years 12 weeks ago
3 years 12 weeks ago
3 years 12 weeks ago
3 years 12 weeks ago
3 years 13 weeks ago