Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** *-- copyright : https://www.toolfk.com */ ..
Decoded Output download
<?php
/**
*-- copyright : https://www.toolfk.com
*/
namespace App\Finanzas;error_reporting(E_ALL^E_NOTICE);define('O0', 'O');;$_SERVER[O0] = explode('|||', gzinflate(substr(' ]RN0G346x]F48 1%i;n^HB pl
5Qb{Sj"Xs
QBdu?7y36sVtR6{U4zd0=X <ZIQ" Tce]L4-QVD[Ts{;I]r W^nTc4n
\Lv/vZmGl6Ae@4M-
7@OOrK\'}R\kP4ctLjouGOA|o\;qI ',0x0a, -8)));;
use Models\GetModel;
use Models\PutModel;
use Controllers\PostController;
use Controllers\GetController;
use Controllers\PutController;
use Controllers\Helper;
use App\Resource;
class Caja {
public $codigo = null;
public $idsuc = null;
public $minimo = 0;
public $maximo = 0;
protected $saldo = 0;
protected $cajero = null;
protected $estado = 0;
public function __construct(String $OO = null, Array $O00, $O0O = [], $OO0 = null) {
if($OO0 !== null) {
$OOO = GetModel::{$_SERVER{O0}[0]}($_SERVER{O0}{0x001}, $_SERVER{O0}[0x0002], $OO0);
if(empty($OOO)) Helper::{$_SERVER{O0}{0x00003}}([$_SERVER{O0}[0x000004] => $_SERVER{O0}{0x05}.$OO0]);
$this->codigo = $OOO[0]->codigo;
;
$this->estado = $OOO[0]->estado;
;
$this->idsuc = $OOO[0]->idsuc;
$this->minimo = $OOO[0]->minimo;
$this->maximo = $OOO[0]->maximo;
;
$this->saldo = $OOO[0]->saldo;
;
$this->cajero = $O0O->data->id;
;
if($_SERVER{O0}[0x006]($O00[$_SERVER{O0}{0x0007}]?? null) !== $this->idsuc) Helper::{$_SERVER{O0}{0x00003}}([$_SERVER{O0}[0x000004] => $_SERVER{O0}[0x00008]]);
if($OO !== $_SERVER{O0}{0x000009}) Helper::{$_SERVER{O0}[0x0a]}($_SERVER{O0}{0x00b}($OOO[0]->cajeros), $O0O->data->id,
$_SERVER{O0}[0x000c].$OO0);
$O000 = GetModel::{$_SERVER{O0}[0]}($_SERVER{O0}{0x0000d}, $_SERVER{O0}[0x00000e], $O00[$_SERVER{O0}{0x0007}], null)[0];
;
$O00O = GetModel::{$_SERVER{O0}[0]}($_SERVER{O0}{0x0f}, $_SERVER{O0}[0x00000e], $O000->idse, null);
;
if(empty($O00O)) Helper::{$_SERVER{O0}{0x00003}}([$_SERVER{O0}[0x000004] =>
$_SERVER{O0}[0x0010].$O000->path.$_SERVER{O0}{0x00011}]);
}
if($OO !== null){
switch ($OO) {
case $_SERVER{O0}[0x000012]: $this-> {$_SERVER{O0}{0x0000013}}($O00); break;
case $_SERVER{O0}{0x000009} : $this-> {$_SERVER{O0}[0x014]} ($O00); break;
case $_SERVER{O0}{0x0015} : $this-> {$_SERVER{O0}[0x00016]} ($O00); break;
case $_SERVER{O0}{0x000017} : $this-> {$_SERVER{O0}[0x0000018]} ($O00); break;
case $_SERVER{O0}{0x019} : $this-> {$_SERVER{O0}[0x001a]} ($O0O); break;
default: break;
}
}
}
private function inaugurarCaja ($O0O0) {
Helper::{$_SERVER{O0}{0x0001b}}($O0O0, [$_SERVER{O0}[0x00001c]]);
$O0O0[$_SERVER{O0}[0x0002]] = $_SERVER{O0}{0x000001d}(0x0a, 0x0000063) * 0x03e8 + $_SERVER{O0}{0x000001d}(0x0a, 0x0000063);
$O0O0[$_SERVER{O0}[0x01e]] = 0;
PostController::{$_SERVER{O0}{0x001f}}($_SERVER{O0}{0x001}, $O0O0); exit;
}
private function ActualizarCaja($O0OO) {
$O0OO = Helper::{$_SERVER{O0}[0x00020]}($O0OO, [$_SERVER{O0}[0x0002],$_SERVER{O0}{0x0007}]);
PutController::{$_SERVER{O0}{0x000021}}($_SERVER{O0}{0x001}, $O0OO, $_SERVER{O0}[0x0002], $_SERVER{O0}[0x006]($this->codigo)); exit;
}
private function AsignarCajero ($OO00) {
$OO00 = array($_SERVER{O0}[0x0000022] => $OO00[$_SERVER{O0}[0x0000022]]);
PutController::{$_SERVER{O0}{0x000021}}($_SERVER{O0}{0x001}, $OO00, $_SERVER{O0}[0x0002], $_SERVER{O0}[0x006]($this->codigo)); exit;
}
private function InstalarCaja ($OO0O) {
Helper::{$_SERVER{O0}{0x0001b}}($OO0O, [$_SERVER{O0}{0x0007}]);
$OO0O = array($_SERVER{O0}{0x0007} => $OO0O[$_SERVER{O0}{0x0007}]);
PutController::{$_SERVER{O0}{0x000021}}($_SERVER{O0}{0x001}, $OO0O, $_SERVER{O0}[0x0002], $_SERVER{O0}[0x006]($this->codigo)); exit;
}
protected function AbrirCaja ($OOO0) {
if($this->estado == 0x001) Helper::{$_SERVER{O0}{0x00003}}([$_SERVER{O0}[0x000004] => $_SERVER{O0}{0x023}]);
PutModel::{$_SERVER{O0}[0x0024]}($_SERVER{O0}{0x001},
[$_SERVER{O0}[0x01e] => $OOO0, $_SERVER{O0}{0x00025}=> 0x001], $_SERVER{O0}[0x0002], $_SERVER{O0}[0x006]($this->codigo));
}
protected function CerrarCaja ($OOOO) {
if($this->estado == 0) Helper::{$_SERVER{O0}{0x00003}}([$_SERVER{O0}[0x000004] => $_SERVER{O0}[0x000026]]);
PutModel::{$_SERVER{O0}[0x0024]}($_SERVER{O0}{0x001},
[$_SERVER{O0}[0x01e] => $OOOO, $_SERVER{O0}{0x00025}=> 0], $_SERVER{O0}[0x0002], $_SERVER{O0}[0x006]($this->codigo));
}
protected function Saldar ($O0000) {
PutModel::{$_SERVER{O0}[0x0024]}($_SERVER{O0}{0x001},
[$_SERVER{O0}[0x01e] => $O0000], $_SERVER{O0}[0x0002], $_SERVER{O0}[0x006]($this->codigo));
}
protected function MisCajas ($O000O) {
$O00O0 = GetController::{$_SERVER{O0}{0x0000027}}($_SERVER{O0}{0x001}, $_SERVER{O0}[0x0000022], [$_SERVER{O0}[0x006]($O000O->data->id)]);
$O00OO = $_SERVER{O0}{0x00b}($O00O0)->result;
Helper::{$_SERVER{O0}{0x00003}}([$_SERVER{O0}[0x000004] => Resource::{$_SERVER{O0}[0x028]}((array) $O00OO)], 0x0c8);
}
} ?>
Did this file decode correctly?
Original Code
<?php
/**
*-- copyright : https://www.toolfk.com
*/
namespace App\Finanzas;error_reporting(E_ALL^E_NOTICE);define('O0', 'O');;$_SERVER[O0] = explode('|||', gzinflate(substr(' ]RN0G346x]F48 1%i;n^HB pl
5Qb{Sj"Xs
QBdu?7y36sVtR6{U4zd0=X <ZIQ" Tce]L4-QVD[Ts{;I]r W^nTc4n
\\Lv/vZmGl6Ae@4M-
7@OOrK\'}R\\kP4ctLjouGOA|o\\;qI ',0x0a, -8)));;
use Models\GetModel;
use Models\PutModel;
use Controllers\PostController;
use Controllers\GetController;
use Controllers\PutController;
use Controllers\Helper;
use App\Resource;
class Caja {
public $codigo = null;
public $idsuc = null;
public $minimo = 0;
public $maximo = 0;
protected $saldo = 0;
protected $cajero = null;
protected $estado = 0;
public function __construct(String $OO = null, Array $O00, $O0O = [], $OO0 = null) {
if($OO0 !== null) {
$OOO = GetModel::{$_SERVER{O0}[0]}($_SERVER{O0}{0x001}, $_SERVER{O0}[0x0002], $OO0);
if(empty($OOO)) Helper::{$_SERVER{O0}{0x00003}}([$_SERVER{O0}[0x000004] => $_SERVER{O0}{0x05}.$OO0]);
$this->codigo = $OOO[0]->codigo;
;
$this->estado = $OOO[0]->estado;
;
$this->idsuc = $OOO[0]->idsuc;
$this->minimo = $OOO[0]->minimo;
$this->maximo = $OOO[0]->maximo;
;
$this->saldo = $OOO[0]->saldo;
;
$this->cajero = $O0O->data->id;
;
if($_SERVER{O0}[0x006]($O00[$_SERVER{O0}{0x0007}]?? null) !== $this->idsuc) Helper::{$_SERVER{O0}{0x00003}}([$_SERVER{O0}[0x000004] => $_SERVER{O0}[0x00008]]);
if($OO !== $_SERVER{O0}{0x000009}) Helper::{$_SERVER{O0}[0x0a]}($_SERVER{O0}{0x00b}($OOO[0]->cajeros), $O0O->data->id,
$_SERVER{O0}[0x000c].$OO0);
$O000 = GetModel::{$_SERVER{O0}[0]}($_SERVER{O0}{0x0000d}, $_SERVER{O0}[0x00000e], $O00[$_SERVER{O0}{0x0007}], null)[0];
;
$O00O = GetModel::{$_SERVER{O0}[0]}($_SERVER{O0}{0x0f}, $_SERVER{O0}[0x00000e], $O000->idse, null);
;
if(empty($O00O)) Helper::{$_SERVER{O0}{0x00003}}([$_SERVER{O0}[0x000004] =>
$_SERVER{O0}[0x0010].$O000->path.$_SERVER{O0}{0x00011}]);
}
if($OO !== null){
switch ($OO) {
case $_SERVER{O0}[0x000012]: $this-> {$_SERVER{O0}{0x0000013}}($O00); break;
case $_SERVER{O0}{0x000009} : $this-> {$_SERVER{O0}[0x014]} ($O00); break;
case $_SERVER{O0}{0x0015} : $this-> {$_SERVER{O0}[0x00016]} ($O00); break;
case $_SERVER{O0}{0x000017} : $this-> {$_SERVER{O0}[0x0000018]} ($O00); break;
case $_SERVER{O0}{0x019} : $this-> {$_SERVER{O0}[0x001a]} ($O0O); break;
default: break;
}
}
}
private function inaugurarCaja ($O0O0) {
Helper::{$_SERVER{O0}{0x0001b}}($O0O0, [$_SERVER{O0}[0x00001c]]);
$O0O0[$_SERVER{O0}[0x0002]] = $_SERVER{O0}{0x000001d}(0x0a, 0x0000063) * 0x03e8 + $_SERVER{O0}{0x000001d}(0x0a, 0x0000063);
$O0O0[$_SERVER{O0}[0x01e]] = 0;
PostController::{$_SERVER{O0}{0x001f}}($_SERVER{O0}{0x001}, $O0O0); exit;
}
private function ActualizarCaja($O0OO) {
$O0OO = Helper::{$_SERVER{O0}[0x00020]}($O0OO, [$_SERVER{O0}[0x0002],$_SERVER{O0}{0x0007}]);
PutController::{$_SERVER{O0}{0x000021}}($_SERVER{O0}{0x001}, $O0OO, $_SERVER{O0}[0x0002], $_SERVER{O0}[0x006]($this->codigo)); exit;
}
private function AsignarCajero ($OO00) {
$OO00 = array($_SERVER{O0}[0x0000022] => $OO00[$_SERVER{O0}[0x0000022]]);
PutController::{$_SERVER{O0}{0x000021}}($_SERVER{O0}{0x001}, $OO00, $_SERVER{O0}[0x0002], $_SERVER{O0}[0x006]($this->codigo)); exit;
}
private function InstalarCaja ($OO0O) {
Helper::{$_SERVER{O0}{0x0001b}}($OO0O, [$_SERVER{O0}{0x0007}]);
$OO0O = array($_SERVER{O0}{0x0007} => $OO0O[$_SERVER{O0}{0x0007}]);
PutController::{$_SERVER{O0}{0x000021}}($_SERVER{O0}{0x001}, $OO0O, $_SERVER{O0}[0x0002], $_SERVER{O0}[0x006]($this->codigo)); exit;
}
protected function AbrirCaja ($OOO0) {
if($this->estado == 0x001) Helper::{$_SERVER{O0}{0x00003}}([$_SERVER{O0}[0x000004] => $_SERVER{O0}{0x023}]);
PutModel::{$_SERVER{O0}[0x0024]}($_SERVER{O0}{0x001},
[$_SERVER{O0}[0x01e] => $OOO0, $_SERVER{O0}{0x00025}=> 0x001], $_SERVER{O0}[0x0002], $_SERVER{O0}[0x006]($this->codigo));
}
protected function CerrarCaja ($OOOO) {
if($this->estado == 0) Helper::{$_SERVER{O0}{0x00003}}([$_SERVER{O0}[0x000004] => $_SERVER{O0}[0x000026]]);
PutModel::{$_SERVER{O0}[0x0024]}($_SERVER{O0}{0x001},
[$_SERVER{O0}[0x01e] => $OOOO, $_SERVER{O0}{0x00025}=> 0], $_SERVER{O0}[0x0002], $_SERVER{O0}[0x006]($this->codigo));
}
protected function Saldar ($O0000) {
PutModel::{$_SERVER{O0}[0x0024]}($_SERVER{O0}{0x001},
[$_SERVER{O0}[0x01e] => $O0000], $_SERVER{O0}[0x0002], $_SERVER{O0}[0x006]($this->codigo));
}
protected function MisCajas ($O000O) {
$O00O0 = GetController::{$_SERVER{O0}{0x0000027}}($_SERVER{O0}{0x001}, $_SERVER{O0}[0x0000022], [$_SERVER{O0}[0x006]($O000O->data->id)]);
$O00OO = $_SERVER{O0}{0x00b}($O00O0)->result;
Helper::{$_SERVER{O0}{0x00003}}([$_SERVER{O0}[0x000004] => Resource::{$_SERVER{O0}[0x028]}((array) $O00OO)], 0x0c8);
}
}
Function Calls
None |
Stats
MD5 | d01caa146d123207bc1fa69548b4fce4 |
Eval Count | 0 |
Decode Time | 56 ms |