Web form SMTP authentication with PHPmailer

Information collection is important especially when you need some info from user through the web. Most common interaction is a “Contact” form through website. If you subscribe to a webhosting service, normally webhosting provider will equip you with capabilities to send mail through form. However, you most likely have to authenticate as a valid email user to ensure you able to send mail through a form (this is to prevent spammers utilizing mail service to sending out mail without authentication). PHPmailer is very useful script for that purpose. What you need is:  Download PHP mailer and ensure your webhost provider allow you to send mail through a form (Some of them will not allow you…

My Top 3 F.U.T – (Frequent Used Tools).

It seems like most Malaysian observing 3 days holiday again. This year most of the public holiday fall on sunday, which mean replacement on Monday!! haha. Anyways, long time haven’t blogging. My heart says “Write something…”. I wish to share my frequent tools use everyday for completing my task/job.   1. KeepasX It’s a password management Software. Most of my password are complicated and seems be impossible for human to memorize it. 2.  Terminator Sounds like a movie title huh? But it’s not. It’s a tools for splitting my terminal. So, I can ssh to multiple server in one windows.   3. Zim Desktop Wiki. I Use this to take my notes, work log and…

Joomla!! Vulnerability Scanning with Joomscan

WARNING!!! This should be use for academical purpose only. It is Sunday, suddenly I feel sooo boring (even tough a lot of thing I can do eg: Sleep ). I would like to share how to check for possible vulnerabalities for your Joomla!! based website, using one of tools that listed in OWASP project. The project for this Joomla!! Scanner is funded by YGN Ethical Hacker Group, Myanmar In this post, I use my backtrack Virtual Machine (You can just download and execute them but you need to have perl installed on your machine). To scan, Issue following command inside the “joomscan” directory : [root@alifazman joomscan] perl joomscan.pl -u yourtarget.com Then just wait and it will…

Drupal – Broken Image after migrate to new server : Solved

Few days back, I’ve done some account migration for my clients. One of the server is going to take down. However, once transferred I noticed that the image on the page can’t be loaded. Symlink seems not working correctly. Drupal community post suggested it could be from Apache mod_rewrite that wasn’t enabled. Unfortunately, it’s enabled.I also recompile few modules, library and hack Apache configuration, clear drupal Cache. The solution that I did to make the page view the Image correctly is not that tough (I accidentally play around and it seems fixed them). I just install drupal on my local machine and compared with the client drupal. Nothing much differences in term of “.htaccess” file,…

Bug (Fixed) : Network Manager can’t start Fedora15

I’ve upgraded my Laptop to fedora15 from FC14. The current release name was LoveLock. I upgraded them last saturday. However, yesterday I faced an error which network manager can’t start. it has something error “The system network services are not compatible with this version”. However I still manage to connect to network via CLI. Digging for few hours lead me to the solution. Just Update your package with following updates from fedora : http://koji.fedoraproject.org/koji/taskinfo?taskID=3100999 Happy LoveLocking!!!

Cloud Linux – A new beginning

Cloud Linux is a an Operating System which base on Red Hat Family OS. It’s claimed designed intentionally to keep web server performance. Let say if there is one process spiking the process of a webserver, it would not take down the whole server performance. This is a cool OS for a hosting industries. I do notice there is a hosting company in Malaysia out there using Cloud Linux for their Share server operation. I decided to test-drive this OS by installing CentOS to my Machine and test them. It’s not really a professional standard test. Just enough to make me believe whether if there is a user in particular server utilizing CPU process, not…

Installing Wi-Fi driver for Realtek-RTL 8188CE

Last december, My notebook was sick and I sent it to be repair since it is still under warranty. While waiting for it to be repair, it took about a month to be repaired. 3 weeks is long enough for me. I can’t work without my beloved notebook, so I deciced to buy a inspiron netbook from  dell . I purchased online with MYR1000 (Additional fee for Red Colour). While windows 7 is pre-installed since I purchased it, It runs slow and I’ve no budget yet to upgrade the memory. I installed a Ubuntu Netbook Version yesterday. However, the driver  for wifi is not detected. So, uncle Google show me how to do it.  …

Web Owner, Security and ….

Recently all over Malaysia, there are hundreds attacked web page reported. Especially after Malaysia vs Indonesia in a footbal match (I forgot what’s the match name). In my experience (which not yet well experienced) . SQL injection and template hacking is the most common way that attacker “Hack” the website. Most of user will have misconception about their server has been hack and their webpage has been defaced or hacked. For most of Open Source CMS (Content Management System) user, they are most being attack due the opennes of the code and the vulnerable compenent that installed with their CMS. However, for well known CMS, it shouldn’t be need to worried case if the user knows…

I love you as you are

Pict Source : http://www.zazzle.com/i_love_linux_tshirt-235654672909676929

Advanced Intrusion Detection Environment – AIDE

Recently, I tried to install Open Source version of tripwire. Tested successfully on several fresh install OS – CentOS and Fedora. However, during deployment many things happen, it failed to initialize database, utilized mountain scale of CPU load and etc. I think to search something else than tripwire, and found AIDE. A tripwire replacement. I tested them on several virtual machine, actual machine and deployed for one server on my organization(Hopefully it works on all of them). Take quite long time and here is my summary. Installing : Yum install aide Configuration and etc: • File : /etc/aide.conf [Configuration File for AIDE] Database Initialization $ Checking 1.aide -init or: /usr/sbin/aide –init 2.mv /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz 3….

Switch to our mobile site