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 goto W3iTa; gGJze: if (isset($_POST["\145\x6e\166\151\x61\x72"]) and $_POST["\145\..

Decoded Output download

<?php 
 goto W3iTa; gGJze: if (isset($_POST["enviar"]) and $_POST["enviar"] == "si") { require_once "../../../models/Usuario.php"; $usuario = new Usuario(); $usuario->loginus(); } goto q48_X; RE7mV: require_once "../../../config/conexion.php"; goto gGJze; XYeI3: require_once "../html/head.php"; goto ghkh8; W3iTa: if (isset($_SESSION["usu_id"])) { header("Location: ../menu/index.php"); die; } goto RE7mV; ghkh8: ?> 
</head><body><div class="main-content-boxed"id="page-container"><main id="main-container"><div class="bg-body-dark"><div class="content content-full hero-static px-1"><div class="justify-content-center mx-0 row"><div class="col-lg-8 col-xl-6"><div class="text-center py-4"><a class="fw-bold link-fx"href="index.html"><i class="fa fa-calendar"></i> <span class="fs-4 text-body-color">LB</span><span class="fs-4">Horarios</span></a><h1 class="fw-bold h3 mb-1 mt-4">Bienvenido de nuevo Usuario</h1><h2 class="mb-0 fs-5 fw-normal lh-base text-muted">Hoy es un Gran da!</h2></div><form action=""class=""method="POST"><?php  goto CMehk; ZGU5N: ?> 
<div class="text-center block block-fx-shadow block-rounded block-themed"><div class="bg-gd-dusk block-header"><h3 class="block-title">Por favor Inicie Sesin</h3></div><div class="block-content"><div class="mb-4 form-floating"><input name="usu_correo"class="form-control"id="usu_correo"placeholder="Ingrese su Correo"> <label class="form-label"for="usu_correo">Correo</label></div><div class="mb-4 form-floating"><input name="usu_pass"class="form-control"id="usu_pass"placeholder="Ingrese su contrasea"type="password"> <label class="form-label"for="usu_pass">Contrasea</label></div><div class="row"><div class="justify-content-center"><input name="enviar"type="hidden"value="si"> <button class="btn btn-alt-primary btn-lg fw-medium"type="submit">Ingresar</button></div></div></div><div class="mb-4 bg-body-light block-content block-content-full"></div></div></form></div></div></div></div></main></div><?php  goto oxtO2; oxtO2: require_once "../html/js.php"; goto bawjb; CMehk: if (isset($_GET["m"])) { switch ($_GET["m"]) { case "1": ?> 
<div class="alert alert-danger alert-dismissible"role="alert"><p class="mb-0"><i class="fa fa-fw me-2 fa-ban"></i> Usuario no activo. <button class="btn-close"type="button"aria-label="Close"data-bs-dismiss="alert"></button></p></div><?php  break; case "2": ?> 
<div class="alert alert-danger alert-dismissible"role="alert"><p class="mb-0"><i class="fa fa-fw me-2 fa-exclamation-triangle"></i> Correo o contrasea incorrectos. <button class="btn-close"type="button"aria-label="Close"data-bs-dismiss="alert"></button></p></div><?php  break; case "3": ?> 
<div class="alert alert-danger alert-dismissible"role="alert"><p class="mb-0"><i class="fa fa-fw me-2 fa-exclamation-triangle"></i> Correo no registrado. <button class="btn-close"type="button"aria-label="Close"data-bs-dismiss="alert"></button></p></div><?php  break; case "4": ?> 
<div class="alert alert-danger alert-dismissible"role="alert"><p class="mb-0"><i class="fa fa-fw me-2 fa-ban"></i> El periodo de acceso ha expirado o an no ha comenzado. <button class="btn-close"type="button"aria-label="Close"data-bs-dismiss="alert"></button></p></div><?php  break; } } goto ZGU5N; q48_X: ?> 
<!doctypehtml><html lang="en"><head><title>HOME | LOGIN</title><?php  goto XYeI3; bawjb: ?> 
</body></html>

Did this file decode correctly?

Original Code

<?php
 goto W3iTa; gGJze: if (isset($_POST["\145\x6e\166\151\x61\x72"]) and $_POST["\145\x6e\166\151\x61\162"] == "\x73\151") { require_once "\56\x2e\57\x2e\56\x2f\56\56\57\x6d\157\144\x65\154\x73\57\125\163\165\141\x72\151\157\56\x70\x68\x70"; $usuario = new Usuario(); $usuario->loginus(); } goto q48_X; RE7mV: require_once "\x2e\x2e\57\56\56\x2f\x2e\x2e\57\x63\157\156\146\x69\147\57\x63\x6f\x6e\145\170\151\x6f\156\56\x70\150\x70"; goto gGJze; XYeI3: require_once "\56\x2e\x2f\150\164\155\x6c\57\x68\145\141\x64\x2e\x70\x68\x70"; goto ghkh8; W3iTa: if (isset($_SESSION["\x75\x73\x75\137\x69\x64"])) { header("\x4c\x6f\143\x61\x74\151\x6f\156\72\40\56\x2e\x2f\155\x65\x6e\x75\x2f\x69\x6e\144\145\170\56\x70\150\160"); die; } goto RE7mV; ghkh8: ?>
</head><body><div class="main-content-boxed"id="page-container"><main id="main-container"><div class="bg-body-dark"><div class="content content-full hero-static px-1"><div class="justify-content-center mx-0 row"><div class="col-lg-8 col-xl-6"><div class="text-center py-4"><a class="fw-bold link-fx"href="index.html"><i class="fa fa-calendar"></i> <span class="fs-4 text-body-color">LB</span><span class="fs-4">Horarios</span></a><h1 class="fw-bold h3 mb-1 mt-4">Bienvenido de nuevo Usuario</h1><h2 class="mb-0 fs-5 fw-normal lh-base text-muted">Hoy es un Gran da!</h2></div><form action=""class=""method="POST"><?php  goto CMehk; ZGU5N: ?>
<div class="text-center block block-fx-shadow block-rounded block-themed"><div class="bg-gd-dusk block-header"><h3 class="block-title">Por favor Inicie Sesin</h3></div><div class="block-content"><div class="mb-4 form-floating"><input name="usu_correo"class="form-control"id="usu_correo"placeholder="Ingrese su Correo"> <label class="form-label"for="usu_correo">Correo</label></div><div class="mb-4 form-floating"><input name="usu_pass"class="form-control"id="usu_pass"placeholder="Ingrese su contrasea"type="password"> <label class="form-label"for="usu_pass">Contrasea</label></div><div class="row"><div class="justify-content-center"><input name="enviar"type="hidden"value="si"> <button class="btn btn-alt-primary btn-lg fw-medium"type="submit">Ingresar</button></div></div></div><div class="mb-4 bg-body-light block-content block-content-full"></div></div></form></div></div></div></div></main></div><?php  goto oxtO2; oxtO2: require_once "\56\x2e\57\x68\164\155\154\57\x6a\x73\x2e\x70\x68\160"; goto bawjb; CMehk: if (isset($_GET["\155"])) { switch ($_GET["\155"]) { case "\61": ?>
<div class="alert alert-danger alert-dismissible"role="alert"><p class="mb-0"><i class="fa fa-fw me-2 fa-ban"></i> Usuario no activo. <button class="btn-close"type="button"aria-label="Close"data-bs-dismiss="alert"></button></p></div><?php  break; case "\62": ?>
<div class="alert alert-danger alert-dismissible"role="alert"><p class="mb-0"><i class="fa fa-fw me-2 fa-exclamation-triangle"></i> Correo o contrasea incorrectos. <button class="btn-close"type="button"aria-label="Close"data-bs-dismiss="alert"></button></p></div><?php  break; case "\x33": ?>
<div class="alert alert-danger alert-dismissible"role="alert"><p class="mb-0"><i class="fa fa-fw me-2 fa-exclamation-triangle"></i> Correo no registrado. <button class="btn-close"type="button"aria-label="Close"data-bs-dismiss="alert"></button></p></div><?php  break; case "\64": ?>
<div class="alert alert-danger alert-dismissible"role="alert"><p class="mb-0"><i class="fa fa-fw me-2 fa-ban"></i> El periodo de acceso ha expirado o an no ha comenzado. <button class="btn-close"type="button"aria-label="Close"data-bs-dismiss="alert"></button></p></div><?php  break; } } goto ZGU5N; q48_X: ?>
<!doctypehtml><html lang="en"><head><title>HOME | LOGIN</title><?php  goto XYeI3; bawjb: ?>
</body></html>

Function Calls

None

Variables

None

Stats

MD5 8b4be2d987a60512583a6e71af8bef3e
Eval Count 0
Decode Time 46 ms