X3ND1 GANTENG
Server IP : 108.163.255.210  /  Your IP : 3.146.255.135
Web Server : Apache
System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
User :  ( 1172)
PHP Version : 7.2.34
Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/unilinki/www/Development/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ BERANDA ]     

Current File : /home/unilinki/www/Development/forgot.php
<?php 
include "includes/new_header2.php";


if((isset($_SESSION['profileid'])) && (isset($_SESSION['userid'])))
{
header("location:profile.php");
echo "<script>window.location='profile.php'</script>";
}


if(isset($_REQUEST['forgot']))
{
$profileid=addslashes($_REQUEST['profilemail']);
$lsql="select * from mlm_register where user_email='$profileid' and user_status='0'";
$lcount=mysql_num_rows(mysql_query($lsql));
	 
if($lcount=='1'){
//echo "test"; 
$lfetch=mysql_fetch_array(mysql_query($lsql));
$password=$lfetch['user_password'];
$prof_id=$lfetch['user_profileid'];
$prof_email=$lfetch['user_email'];
$subject="Login Details";

$msg="<table cellpadding='0' cellspacing='0' border='0' bgcolor='#006699' style='border:solid 10px #D64B14; width:550px;'>
		<tr bgcolor='#D64B14' height='25'>
			<td><img src=".$logourl." border='0' width='200' height='60' /></td>
		</tr>
						<tr bgcolor='#FFFFFF'><td>&nbsp;</td></tr>
						<tr bgcolor='#FFFFFF' height='30'>
						<td valign='top' style='font-family:Arial; font-size:12px; line-height:18px; text-decoration:none; color:#000000; padding-left:20px;'><b> Login Details for ".$website_name." </b></td>
						</tr>

							
							<tr bgcolor='#FFFFFF' height='35'>
						<td style='padding-left:20px; font-family:Arial; font-size:11px; line-height:18px; text-decoration:none; color:#000000;'>Profile ID : $prof_id</td>
						</tr>
						
						<tr bgcolor='#FFFFFF' height='35'>
						<td style='padding-left:20px; font-family:Arial; font-size:11px; line-height:18px; text-decoration:none; color:#000000;'>Password : $password</td>
						</tr>
					
				
							<tr bgcolor='#FFFFFF'>
		 	<td align='left' style='padding-left:20px; font-family:Arial; font-size:11px; line-height:18px; text-decoration:none; color:#000000; padding-left:20px;'> Regards,<br>
				".$website_name."<br>
			</td>
		
		</tr>
						<tr bgcolor='#FFFFFF'><td>&nbsp;</td></tr>
						<tr height='40'>
		
<td align='right' style='font-family: Arial, Helvetica, sans-serif;font-size: 10px;background-color:#D64B14;
color: #FFFFFF;'>&copy; Copyright " .date("Y")."&nbsp;"."<a href='$website_url/login.php' style='font-family:Arial; font-size:11px; font-weight:bold; text-decoration:none; color:#FFFFFF;'>".$website_name."</a>."."
</td>
</tr>
</table>"; 

$headers  = 'MIME-Version: 1.0' . "\r\n";

$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

$headers .= 'From:'.$website_name.'<'.$website_admin.'>' . "\r\n";

$to=$prof_email;
 
 	ini_set("SMTP","mail.inetmassmail.com");
 	mail($to,$subject,$msg,$headers);
	 
	header("location:forgot.php?succ");
	echo "<script> window.location:forgot.php?succ; <script>";
	}
	else
	{
		header("location:forgot.php?err");
		echo "<script> window.location=forgot.php?err;<script>";
	}
}


?>
		<div class="pages-title section-padding">
			<div class="container">
				<div class="row">
					<div class="col-xs-12 text-center">
						<div class="pages-title-text">
							<h3>Forgot Password</h3>
							<ul>
								<li><a href="index.php">Home</a></li>
								<li><span>/</span>Forgot Password</li>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- pages-title-end -->
		<!-- login content section start -->
		<section class="pages login-page section-padding-top">
			<div class="container">
				<div class="row">
					<div class="col-sm-6 col-sm-offset-3">
						<div class="login-text">
							<div class="log-title">
								<h3><strong>Forgot Password</strong></h3>
								<hr />
							</div>
							<div class="custom-input">
								
								<?php if(isset($_REQUEST['err'])){ ?>
								<span style="color:#FF0000;">Account Doesn't Exists, Please enter valid E-mail / Profile id.</span><br>
								<?php }else if(isset($_REQUEST['succ'])){ ?>
								<span style="color:#00CC00;">Password sent to your E-mail, Please check it.</span><br>
								<?php }else{?>
								<p>If you need any help please contact us via <a href="contact.php">ticket system</a> in your dashboard.</p>
								<?php }?>

								<form class="signin-form" action="" method="post">
									<input class="input-block-level" type="text" placeholder="Enter your E-mail" name="profilemail" id="inputEmail" required/>
									<input type="submit" class="btn btn-primary" name="forgot" id="forgot" value="Submit"/>
									<center><a href="login.php">Sign in your account?</a></center><br>
									<center><a href="register.php">Don't registered yet?</a></center>
								</form>
								
							</div>
						</div>
					</div>
					<!--<div class="col-sm-6">
						<div class="login-text new-customer">
							<div class="log-title">
								<h3><strong>new users</strong></h3>
								<hr />
							</div>
							<div class="custom-input">
								<form action="#" method="post">
									<input type="text" name="name" placeholder="Name" />
									<input type="text" name="email" placeholder="Email Address" />
									<input type="text" name="number" placeholder="Phone Number" />
									<div class="custom-select">
										<select class="form-control">
											<option> Country</option>
											<option> Bangladesh </option>
											<option> United States </option>
											<option> United Kingdom </option>
											<option> Canada </option>
											<option> Malaysia </option>
											<option> United Arab Emirates </option>
										</select>
									</div>
									<div class="custom-select">
										<select class="form-control">
											<option> Town / City</option>
											<option> Aberdeen </option>
											<option> Bedfordshire </option>
											<option> Caerphilly </option>
											<option> Denbighshire </option>
											<option> East Ayrshire </option>
											<option> Falkirk </option>
										</select>
									</div>
									<input type="text" name="address" placeholder="Address" />
									<input type="text" name="address" placeholder="Password" />
									<input type="password" name="password" placeholder="Confirm Password" />
									<label>
									<img src="img/capcha.jpg">
									</label> 
									
									<div class="submit-text coupon">
										<a href="index.html">Register</a>
									</div>
								</form>
							</div>
						</div>
					</div>-->
				</div>
			</div>
		</section>
	<hr/>	
		
<?php include "includes/new_footer.php";?>		

Anon7 - 2022
SCDN GOK