Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$IIIIIIlllI1l = file_get_contents('./includes/appsnscripts.c.json'); $IIIIIIlllI11 = json..
Decoded Output download
<? $IIIIIIlllI1l = file_get_contents('./includes/appsnscripts.c.json');
$IIIIIIlllI11 = json_decode($IIIIIIlllI1l,true);
$IIIIIIllllII = $IIIIIIlllI11['info'];
$IIIIIIllllIl = $IIIIIIllllII['zz'];
if ($IIIIIIllllIl == '0') {
header('Location: sports.php');
exit();
}
ini_set('display_errors',1);
ini_set('display_startup_errors',1);
error_reporting(E_ALL);
$message = '<div class="alert alert-primary" id="flash-msg"><h4><i class="icon fa fa-check"></i>Items Updated!</h4></div>';
$IIIIIIII11I1 = new SQLite3('./api/.xc.sports.db');
$IIIIIIII11I1->exec('CREATE TABLE IF NOT EXISTS sport(id INTEGER PRIMARY KEY NOT NULL, title VARCHAR(25), url VARCHAR(100))');
$IIIIIIII1111 = $IIIIIIII11I1->query('SELECT COUNT(*) as count FROM sport');
$IIIIIIII11ll = $IIIIIIII1111->fetchArray();
$IIIIIIllIIlI = $IIIIIIII11ll['count'];
if ($IIIIIIllIIlI == 0) {
$IIIIIIII11I1->exec('INSERT INTO sport(id, title, url) VALUES(\'1\', \'Default\', \'https://www.tvsportguide.com/widget/5cc316f797659/?heading=Events&border_color=custom&autoscroll=0&custom_colors=\')');
}
$IIIIIIII11lI = $IIIIIIII11I1->query('SELECT * '."
".' FROM sport '."
".' WHERE id=\'1\'');
$IIIIIIII11ll = $IIIIIIII11lI->fetchArray();
$id = $IIIIIIII11ll['id'];
$title = $IIIIIIII11ll['title'];
$url = $IIIIIIII11ll['url'];
if (isset($_POST['submit'])) {
$IIIIIIII11I1->exec('UPDATE sport SET'." ".'title=\''.$_POST['title'] .'\', '."
".'url=\''.$_POST['url'] .'\''."
".' WHERE '."
".'id=\'1\' ');
header('Location: sports.php');
}
include 'includes/header.php';
echo ' <div class="container-fluid">'."
";
echo "
";
echo ' <!-- Page Heading -->'."
";
echo ' <h1 class="h3 mb-1 text-gray-800">Guia de Esporte</h1>'."
";
echo ' '."
";
echo ' <!-- Content Row -->'."
";
echo ' <div class="row">'."
";
echo "
";
echo ' <!-- First Column -->'."
";
echo ' <div class="col-lg-12">'."
";
echo "
";
echo ' <!-- Custom codes -->'."
";
echo ' <div class="card border-left-primary shadow card shadow mb-4">'."
";
echo ' <div class="card-header py-3">'."
";
echo ' <h6 class="m-0 font-weight-bold text-primary"><i class="fas fa-futbol"></i> Editar guia de Esportes</h6>'."
";
echo ' </div>'."
";
echo ' <div class="card-body">'."
";
echo ' <form method="post">'."
";
echo ' <div class="form-group">'."
";
echo ' <label class="control-label"for="title">'."
";
echo ' <strong>Ttulo</strong>'."
";
echo ' </label>'."
";
echo ' <input type="text" class="form-control" name="title" value="'.$title .'">'."
";
echo ' </div>'."
";
echo ' <div class="form-group ">'."
";
echo ' <label class="control-label " for="url">'."
";
echo ' <strong>URL</strong>'."
";
echo ' </label>'."
";
echo ' <div class="input-group">'."
";
echo ' <input class="form-control" id="url" name="url" value="'.$url .'">'."
";
echo ' </div>'."
";
echo ' </div>'."
";
echo ' <div class="form-group">'."
";
echo " ".'<br><button class="btn btn-success btn-icon-split" name="submit" type="submit">'."
";
echo ' <span class="icon text-white-50"><i class="fas fa-check"></i></span><span class="text">Enviar</span>'."
";
echo ' </button>'."
";
echo " ".'</form>'."
";
echo " ".'</div>'."
";
echo ' </div>'."
";
echo ' </div>'."
";
echo ' </div>'."
";
echo ' </div>'."
";
echo " ".' </div>'."
";
echo ' <br><br><br>'."
";
include 'includes/footer.php';
echo '</body>'."
";
echo ' <script> '."
";
echo '$(document).ready(function () {'."
";
echo ' $(\'#flash-msg\').delay(3000).fadeOut(\'slow\');'."
";
echo '});'."
";
echo ' </script>'."
";
echo "
";
echo '</html>'; ?>
Did this file decode correctly?
Original Code
$IIIIIIlllI1l = file_get_contents('./includes/appsnscripts.c.json');
$IIIIIIlllI11 = json_decode($IIIIIIlllI1l,true);
$IIIIIIllllII = $IIIIIIlllI11['info'];
$IIIIIIllllIl = $IIIIIIllllII['zz'];
if ($IIIIIIllllIl == '0') {
header('Location: sports.php');
exit();
}
ini_set('display_errors',1);
ini_set('display_startup_errors',1);
error_reporting(E_ALL);
$message = '<div class="alert alert-primary" id="flash-msg"><h4><i class="icon fa fa-check"></i>Items Updated!</h4></div>';
$IIIIIIII11I1 = new SQLite3('./api/.xc.sports.db');
$IIIIIIII11I1->exec('CREATE TABLE IF NOT EXISTS sport(id INTEGER PRIMARY KEY NOT NULL, title VARCHAR(25), url VARCHAR(100))');
$IIIIIIII1111 = $IIIIIIII11I1->query('SELECT COUNT(*) as count FROM sport');
$IIIIIIII11ll = $IIIIIIII1111->fetchArray();
$IIIIIIllIIlI = $IIIIIIII11ll['count'];
if ($IIIIIIllIIlI == 0) {
$IIIIIIII11I1->exec('INSERT INTO sport(id, title, url) VALUES(\'1\', \'Default\', \'https://www.tvsportguide.com/widget/5cc316f797659/?heading=Events&border_color=custom&autoscroll=0&custom_colors=\')');
}
$IIIIIIII11lI = $IIIIIIII11I1->query('SELECT * '."
".' FROM sport '."
".' WHERE id=\'1\'');
$IIIIIIII11ll = $IIIIIIII11lI->fetchArray();
$id = $IIIIIIII11ll['id'];
$title = $IIIIIIII11ll['title'];
$url = $IIIIIIII11ll['url'];
if (isset($_POST['submit'])) {
$IIIIIIII11I1->exec('UPDATE sport SET'." ".'title=\''.$_POST['title'] .'\', '."
".'url=\''.$_POST['url'] .'\''."
".' WHERE '."
".'id=\'1\' ');
header('Location: sports.php');
}
include 'includes/header.php';
echo ' <div class="container-fluid">'."
";
echo "
";
echo ' <!-- Page Heading -->'."
";
echo ' <h1 class="h3 mb-1 text-gray-800">Guia de Esporte</h1>'."
";
echo ' '."
";
echo ' <!-- Content Row -->'."
";
echo ' <div class="row">'."
";
echo "
";
echo ' <!-- First Column -->'."
";
echo ' <div class="col-lg-12">'."
";
echo "
";
echo ' <!-- Custom codes -->'."
";
echo ' <div class="card border-left-primary shadow card shadow mb-4">'."
";
echo ' <div class="card-header py-3">'."
";
echo ' <h6 class="m-0 font-weight-bold text-primary"><i class="fas fa-futbol"></i> Editar guia de Esportes</h6>'."
";
echo ' </div>'."
";
echo ' <div class="card-body">'."
";
echo ' <form method="post">'."
";
echo ' <div class="form-group">'."
";
echo ' <label class="control-label"for="title">'."
";
echo ' <strong>Ttulo</strong>'."
";
echo ' </label>'."
";
echo ' <input type="text" class="form-control" name="title" value="'.$title .'">'."
";
echo ' </div>'."
";
echo ' <div class="form-group ">'."
";
echo ' <label class="control-label " for="url">'."
";
echo ' <strong>URL</strong>'."
";
echo ' </label>'."
";
echo ' <div class="input-group">'."
";
echo ' <input class="form-control" id="url" name="url" value="'.$url .'">'."
";
echo ' </div>'."
";
echo ' </div>'."
";
echo ' <div class="form-group">'."
";
echo " ".'<br><button class="btn btn-success btn-icon-split" name="submit" type="submit">'."
";
echo ' <span class="icon text-white-50"><i class="fas fa-check"></i></span><span class="text">Enviar</span>'."
";
echo ' </button>'."
";
echo " ".'</form>'."
";
echo " ".'</div>'."
";
echo ' </div>'."
";
echo ' </div>'."
";
echo ' </div>'."
";
echo ' </div>'."
";
echo " ".' </div>'."
";
echo ' <br><br><br>'."
";
include 'includes/footer.php';
echo '</body>'."
";
echo ' <script> '."
";
echo '$(document).ready(function () {'."
";
echo ' $(\'#flash-msg\').delay(3000).fadeOut(\'slow\');'."
";
echo '});'."
";
echo ' </script>'."
";
echo "
";
echo '</html>';
Function Calls
json_decode | 1 |
file_get_contents | 1 |
Stats
MD5 | 5790fd243b4198cbdf555bb966ad0c5a |
Eval Count | 0 |
Decode Time | 89 ms |