Hide php extension for social engineering purpose

First thoughts when see these url :

this site use perl


this site use cfm




then you might think about ordinary htm/html file

is it true?

read more »

Testing mail() function with agrosoft mail server 2

In my last post I have introduce about Agrosoft mail server (AMS) . Since this day isn’t end yet, I’ll start by word “Lets continue today lesson” :-)

I start by opening MS-Frontpage then make simple form mail which generate HTML code for me and I save it as contact.htm

Code in send_mail.php :


mail(“alamster@localhost”,”Form Mail”,”$message”,”From: tes@localhost”);

echo “Got your message ! Thank You very much “;


Save both file in htdocs or www directory.

Call it from browser :


read more »

Testing mail() function with agrosoft mail server …

Soon or later every people who learn php will meet PHP lovely function for sending email mail()

Unfortunately many beginner who install only PHP, MYSQL and Apache in windows don’t know how to test their email script like contact form, mailing list etc.

Today, I’ll show how to install mail server software available in internet called Argosoft Mail Server.

Pre requirement :

– Working WAMP application ( I use XAMPP Lite Portable)

Ok, now go to Argosoft website and download Mail Server ( Choose Freeware)

Important Argosoft Mail Server ( AMS ) feature that we need:

1. POP3 server

POP3 server responsible for retrieving email from server

2. Built-in web server with webmail

We need to check our script result

Step by step :

Install exe file by double click

Click setup

Click Install tab to begin installation process

Start running your mail server

Just double click AMS icon in desktop to start this application

New instance of AMS will start and reside on tray

To make sure no service conflict , click the AMS icon on the tray to find out

As you see there is error message “address already in use”, by default web server will use port 80

We do have apache running in that port , click CTRL + O to configure new port for AMS web server. (choose PORTS tab)

Change Web Interface port from 80 to anything you want , I already have port 8080 for Oracle port so I choose 8083

Exit from AMS and start again

Now web server run on port 8083

Try open from browser :


If You see this page it means your job is finish, You have working mail server plus webmail .

Next time I’ll continue on adding new user and testing script for mail() function.

See You

Update : part II is compelete, also with video.

OpenBSD 4.0 is Out

I just realized that today is November 1 and a few big thing release :

My Freebsd 6.1 need upgrade and so my openbsd box ( 3.7)

I still new in CI , CI attract me for its active development and huge support of supportive fan.

I decide to move PCT to version 2.0 with CI as framework now still in learning phase , setup coding guideline for teamwork etc.

Need to sleep now

It’s wget time :-)

Add fancy alias for your localhost or

A few student in my class ask me how to change default address for testing php script from http://localhost or into some real name like derick.com or google.com while they offline at home and no internet connection availabe at home .

After googling for /etc/hosts equivalent finaly I got the answer, still related name :


Just doing this :

Find file named : HOSTS


C:WINDOWSsystem32driversetcjust put name you like :

I type alamster.com for

here my HOST file looks like       localhost       alamster.com

save the file

restart my computer and next time after my computer up I can use http://alamster.com as alternative of http://localhost or