HackThisSite.org Basic Web Level 4

In this level our background information is:

This time Sam hardcoded the password into the script. However, the password is long and complex, and Sam is often forgetful. So he wrote a script that would email his password to him automatically in case he forgot. Here is the script:

In this level Sam has made several changes to his login script. As you can see from the background he now hardcoded the password in. But this time he created a script to email him the password because it is a long complex password. How are you going to exploit this script to get to the next level?

Hint: How can you change the email address in the script to your email address. You can do this several ways which will you find.

I began programming in C++ when I was in college. Odd for a business major, but hey I am a Dork. After college I got a job as System Administrator. As a System Administrator I was in charge of web administration. My journey as a PHP web developer had begun. Since that time I have gained an in depth knowledge of CSS, Javascript, XML and MySQL. With changes and advances to technology I have also began learning AJAX. I started Blue Fire Development to do freelance work in my spare time.