!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/var/www/html/site/ipanel/view/   drwxr-xr-x
Free 9.41 GB of 93.48 GB (10.06%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     frameSenha.php (4.97 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 *  iPanel Control Admin 3.0
 *  index.php
 *  Arquivo de Mostra de dados do Sistema
 *
 *  Pertencente ao pacote admin.view
 *
 *  Copyright (C) 2011  iMAXIS Soluções Digitais Ltda
 *  Autor: Cledson Lodi
 *
 *  Criado em 06/09/2011
 */


ini_set('display_errors',1);
ini_set('display_startup_erros',1);
error_reporting(E_ALL);
   
session_start();
   require_once(
"../app/core/config.php");
   require_once(
APP_PATH."/cms/restritoIPanel.php");
   require_once(
APP_PATH."/system/Password.php");
   require_once(
APP_PATH."/controller/GenericCtrl.php");
  
  
   
$msg '<span class=sptl>Informe a senha atual e a nova senha, clique em confirmar.</span>';
   
   if(
$_POST['action'] == "Senha"){
       
$usuarioCtrl = new GenericCtrl("Usuario");
       
$usuario $usuarioCtrl->getObject($_SESSION['userId']);
        
$password = new Password();
       if(
$password->deCript($usuario['senha']) == $_POST['senhaAtual']){
           
$usuario->senha $password->cript($_POST['novaSenha']);
           
$usuario->save();
           
$msg '<span style="color:green">Senha alterada com sucesso!</span>';
       }else{
           
$msg '<span style="color:red"><strong>Atenção !</strong> Senha atual não confere.</span>';
       }
   }
   
 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="css/style.css" rel="stylesheet" type="text/css" />

<style>
    body{
        background-color: #FFFFFF !important;
        background-image: none !important;
        background-repeat: repeat-y repeat-x !important;
}

label.error {
    width:300px !important;
    color:red;
    margin-left:5px !important;
    text-align:left !important;
}

</style>
</head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>CMS - Setor Administrativo iPanel 3.0</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script src="../js/ipanel.js"    type="text/javascript" language="javascript"></script>
<script src="../js/validator.js" type="text/javascript" language="javascript"></script>
<script type="text/javascript" language="javascript"> 
    $(document).ready( function() {
        $("#formsenha").validate({ 
            rules:{   
                senhaAtual:{    required: true},
                novaSenha:{    required: true},
                confSenha:{    required: true, equals: "novaSenha"}
            }
        });
    });
</script>
<body>
<div class="lt" style="padding:10px!important; padding-top:5px !important">
    <div class="lt_topo">
        <img class="left" style="padding-bottom:0px !important" src="img/ico_infor.png"/>
        <div class="lt_menu_topo" style="min-height: 67px !important">
            <h1>Alteraçao de Senha</h1>
            <ul>Formulário de alteraçao de senha de acesso.</ul>
        </div>
         <div class="clear"></div>
    </div>
</div>
<div class="stage_formulario" style="padding-left:15px; padding-right:15px">

        <form action="frameSenha.php" enctype="multipart/form-data" method="post" name="formsenha" id="formsenha">
            <input type="hidden" name="action" value="Senha" />

            <div class="box_forms">
                <div class="inputs_form" style="padding:0px !important">

                    <div class="title_forms" style="border-bottom:0px !important; padding: 0 0 15px !important">
                        <?=  $msg ?>
                    </div>

                    <div class="sptl_fieldname">
                        <strong>Senha Atual:</strong>
                    </div>
                    <div class="input_field">
                        <input type="password" id="senhaAtual" class="fields_form_medium" size="11"  name="senhaAtual"/>
                    </div>
                    <div class="sptl_fieldname">
                        <strong>Nova Senha:</strong>
                    </div>
                    <div class="input_field">
                        <input type="password" id="novaSenha" class="fields_form_medium" size="11"  name="novaSenha"/>
                    </div>
                    <div class="sptl_fieldname">
                        <strong>Redigite a Nova Senha:</strong>
                    </div>
                    <div class="input_field">
                        <input type="password" id="confSenha" class="fields_form_medium" size="11"  name="confSenha"/>
                    </div>
                    
                    
                    
                </div>
            
            <div class="clear"></div

            <div class="clear">
                <p class="left"><input name="Submit" type="Submit" class="bt_input" value="Confirmar"/></p>
                <div class="clear"></div>
            </div>
    </div>
</form>
</div>
</body>
</html>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.004 ]--