php IonCube v8 Loader By DoraemonPT PHP Decoder version Author Doraemo

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<?php
/**
*
* @ IonCube v8.3 Loader By DoraemonPT
* @ PHP 5.3
* @ Decoder version : 1.0.0.7
* @ Author : DoraemonPT
* @ Release on : 09.05.2014
* @ Website : http://EasyToYou.eu
*
**/
require( './configuration.php' );
include( './include.php' );
$task = dgefgbcbbc( $_POST['task'] );
if (empty( $task )) {
$task = dgefgbcbbc( $_GET['task'] );
}
switch ($task) {
case 'login': {
$email = dgefgbcbbc( $_POST['email'] );
$password = dgefgbcbbc( $_POST['password'] );
$return = dgefgbcbbc( $_POST['return'] );
$rememberme = dgefgbcbbc( $_POST['rememberme'] );
unset( $_SESSION[loginerror] );
bgfbaifjf( 'rememberme', $rememberme, cghchidcei( ) + 60 * 60 * 24 * 30 );
if (( !empty( $_SESSION['lockout'] ) && cghchidcei( ) - 60 * 5 < $_SESSION['lockout'] )) {
}
else {
if (( !empty( $email ) && !empty( $password ) )) {
$numrows = bjcahbdjfa( 'SELECT `clientid` FROM `client` WHERE `email` = \'' . $email . '\' && `password` = \'' . $password . '\' && ( `status` = \'Active\' || `status` = \'Inactive\' )' );
if ($numrows == 1) {
$rows = bfafjhdgci( 'SELECT `clientid`, `email`, `firstname`, `lastname` FROM `client` WHERE `email` = \'' . $email . '\' && `password` = \'' . $password . '\'' );
dicdcibccb( 'UPDATE `client` SET `lastlogin` = NOW(), `lastip` = \'' . $_SERVER['REMOTE_ADDR'] . '\', `lasthost` = \'' . befifffbba( $_SERVER['REMOTE_ADDR'] ) . '\' WHERE `clientid` = \'' . $rows['clientid'] . '\'' );
$_SESSION['clientid'] = $rows['clientid'];
$_SESSION['clientemail'] = $rows['email'];
$_SESSION['clientfirstname'] = $rows['firstname'];
$_SESSION['clientlastname'] = $rows['lastname'];
if ($rememberme == 'on') {
bgfbaifjf( 'clientemail', $rows['email'], cghchidcei( ) + 604800 );
}
else {
bgfbaifjf( 'clientemail', '', cghchidcei( ) + 60 * 60 * 24 * 1 );
}
unset( $_SESSION[loginattempt] );
unset( $_SESSION[lockout] );
if (!empty( $return )) {
cgbchdihic( 'Location:' . $return );
}
else {
cgbchdihic( 'Location: index.php' );
}
exit( );
}
}
}
$_SESSION['loginerror'] = TRUE;
$_SESSION += 'loginattempt' = 1;
if (4 < $_SESSION['loginattempt']) {
$_SESSION['lockout'] = cghchidcei( );
$_SESSION['loginattempt'] = 3;
}
if (( !empty( $return ) && !empty( $email ) )) {
cgbchdihic( 'Location: login.php?return=' . fhbfdeagh( $return ) . '&email=' . fhbfdeagh( $email ) );
}
else {
if (( empty( $return ) && !empty( $email ) )) {
cgbchdihic( 'Location: login.php?email=' . fhbfdeagh( $email ) );
}
else {
if (( !empty( $return ) && empty( $email ) )) {
cgbchdihic( 'Location: login.php?return=' . fhbfdeagh( $return ) );
}
else {
cgbchdihic( 'Location: login.php' );
}
}
}
exit( );
break;
}
case 'password': {
$email = dgefgbcbbc( $_POST['email'] );
unset( $_SESSION[success] );
if (( !empty( $_SESSION['lockout'] ) && cghchidcei( ) - 60 * 5 < $_SESSION['lockout'] )) {
}
else {
if (!empty( $email )) {
$numrows = bjcahbdjfa( 'SELECT `clientid` FROM `client` WHERE `email` = \'' . $email . '\'' );
if ($numrows == 1) {
$password = ecgiecigdb( 8 );
$rows = bfafjhdgci( 'SELECT `clientid`, `email`, `firstname`, `lastname` FROM `client` WHERE `email` = \'' . $email . '\'' );
dicdcibccb( 'UPDATE `client` SET `password` = \'' . $password . '\' WHERE `clientid` = \'' . $rows['clientid'] . '\'' );
$message = '' . 'Your password has been reset to: ' . $password . '
IP: ' . $_SERVER['REMOTE_ADDR'];
include_once( './includes/class.phpmailer.php' );
PHPMailer;
$mail = new ( );
$mail->IsMail( );
$mail->AddAddress( $rows['email'], $rows['firstname'] . ' ' . $rows['lastname'] );
$mail->From = $rows['email'];
$mail->FromName = SITENAME;
$mail->Subject = 'Reset Password';
$mail->Body = $message;
$mail->Send( );
unset( $_SESSION[loginattempt] );
unset( $_SESSION[lockout] );
$_SESSION['success'] = 'Yes';
cgbchdihic( 'Location: login.php?task=password' );
exit( );
}
}
}
$_SESSION['success'] = 'No';
$_SESSION += 'loginattempt' = 1;
if (4 < $_SESSION['loginattempt']) {
$_SESSION['lockout'] = cghchidcei( );
$_SESSION['loginattempt'] = 3;
}
cgbchdihic( 'Location: login.php?task=password' );
exit( );
break;
}
case 'logout': {
chiihcfije( );
cgbchdihic( 'Location: login.php' );
exit( );
break;
}
default: {
cgbchdihic( 'Location: index.php' );
exit( );
}
}
?>