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 /* */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$O..
Decoded Output download
echo '<!-- login.php -->
<meta name=\'og:title\' content=\'Login Admin\'>
<meta name="description" content="Login | DLSystem">
<meta name="keywords" content="DLSystem">
<meta name="author" content="PvPMaster0001">
<meta name=\'copyright\' content=\'DLSystem\'>
';
include '../settings/config.php';
include '../settings/head_admin.php';
session_start();
require '../db_connection.php';
if (isset($_SESSION['user_id'])) {
header("Location: ".($phpenable === 'true'?$siteurl .$admin_directory .'.php': $siteurl .$admin_directory));
exit;
}
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$login = $_POST['login'];
$password = $_POST['password'];
$sql = "SELECT * FROM benutzer WHERE name = ?";
$stmt = $conn->prepare($sql);
$stmt->bind_param("s",$login);
$stmt->execute();
$result = $stmt->get_result();
if ($result->num_rows == 1) {
$user = $result->fetch_assoc();
if ($user['admin'] == 1) {
if (password_verify($password,$user['password'])) {
if ($user['gesperrt'] == 1) {
if (!empty($user['sperrgrund'])) {
$error_message = "Dieses Konto wurde von einem Administrator gesperrt. <br>Grund: ".$user['sperrgrund'];
}else {
$error_message = "Dieses Konto wurde von einem Administrator gesperrt.";
}
}else {
$error_message = "Erfolgreich angemeldet!";
echo '<center><div class="alert alert-success" role="alert"><h2><i class="fa-solid fa-circle-check"></i> Erfolgreich angemeldet!</h2></center>';
$_SESSION['user_id'] = $user['id'];
$ip_address = $_SERVER['REMOTE_ADDR'];
$login_status = 'erfolgreich';
$sql = "INSERT INTO login_history (user_id, login_time, ip_address, login_status) VALUES (?, NOW(), ?, ?)";
$stmt = $conn->prepare($sql);
$stmt->bind_param("iss",$user['id'],$ip_address,$login_status);
$stmt->execute();
sleep(2);
header("Location: ".($phpenable === 'true'?$siteurl .$admin_directory : $siteurl .$admin_directory));
exit;
}
}else {
$error_message = "Ungltige Anmeldeinformationen";
$ip_address = $_SERVER['REMOTE_ADDR'];
$login_status = 'abgelehnt';
$sql = "INSERT INTO login_history (user_id, login_time, ip_address, login_status) VALUES (?, NOW(), ?, ?)";
$stmt = $conn->prepare($sql);
$stmt->bind_param("iss",$user['id'],$ip_address,$login_status);
$stmt->execute();
}
}else {
$error_message = "Nur Administratoren knnen sich anmelden.";
}
}else {
$error_message = "Dieses Konto existiert nicht.";
}
}
;echo '
<title>Anmelden — Admin</title>
<body>
<div class="container" style="max-width: 400px;">
<br><br><br>
<h1 class="text-center mt-5">Adminpanel</h1>
';
if ($error_message) {
echo '<div class="alert alert-danger"> '.$error_message .'</div>';
}
if (isset($_GET['reg'])) {
$reg = "Dein Account wurde erfolgreich erstellt.";
}
if ($reg) {
echo '<div class="alert alert-success"> '.$reg .'</div>';
}
;echo '
<form action="login.php" method="post" class="mt-3">
<div class="mb-3">
<label for="login" class="form-label">Benutzername</label>
<div class="input-group">
<span class="input-group-text" id="basic-addon1"><i class="fa-solid fa-user"></i> </span>
<input type="text" name="login" id="login" class="form-control" aria-describedby="basic-addon1"
required>
</div>
</div>
<div class="mb-3">
<label for="password" class="form-label">Passwort</label>
<div class="input-group">
<span class="input-group-text" id="basic-addon1"><i class="fa-solid fa-key"></i> </span>
<input type="password" name="password" id="password" class="form-control"
aria-describedby="basic-addon1" required>
</div>
</div>
<br>
<center>
<button id="loadBtn" type="submit" class="btn btn-primary">
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
<span class="sr-only">Loading...</span>
</button>
</center>
</form>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js?"></script>
</body>
</html>
<style>
.btn-animated {
background-color: #007bff;
color: white;
border: none;
cursor: pointer;
}
</style>
<script>
document.getElementById(\'loadBtn\').disabled = true;
setTimeout(() => {
document.getElementById(\'loadBtn\').disabled = false;
document.getElementById(\'loadBtn\').className = \'btn btn-animated btn-animated-x\';
setTimeout(() => {
document.getElementById(\'loadBtn\').className = \'btn btn-animated btn-primary btn-animated-x\';
document.getElementById(\'loadBtn\').innerHTML = \'<span class="btn-inner--visible">Anmelden</span><span class="btn-inner--hidden"><i class="fa-solid fa-right-to-bracket"></i></span>\';
}, 0); // 1000 Millisekunden = 1 Sekunde
}, 1000); // 1000 Millisekunden = 1 Sekunde
</script>
';
include 'settings/footer.php';
;
Did this file decode correctly?
Original Code
<?php /* */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x1af4;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NDdjKTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxZjQpLCdsWUJ0Mm91T2RBZ1IwYzNTc3F4TVVuR2VoSS96YndDRWFtUER5K1Y3dkpaOTROS0hMVEYxajhrZjVwcldpNlFYPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2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Ieqvzks6d7YHbfsPduc4hec1SxANwBj1dD5cBPladBladBladBladtTy/ehahkTmbf06dV8PRM0PSajgdBladBladBladBladBladtT4hGA+zBYVzfd6dVTHIk+KdPYDzuo1b1jPIV6Fzx84hGA+zBdQsVnKweqrIeAKhG8+SB64hGA+zt5cBPladBladBladBladBladBliIu+kduc4hec1SxAJz7Y8wB87bV68bBdQtsvadBladBladBladBladBladBladtT1buoKduc4hec1SxAJz7Y8wB87bV68bB8jIemjdPYJItjPhVo1/G0NhGqyzk5TdD5i/xYDzuo1b1jPIV2Nbk64/GsaIV2Nwec+bPdQSB6JSPliRfcLhG5QtsvadBladBladBladBladBladBladtTJz7Y8wBYjCeY+SxAjIemjdPYKhG8+SxA4zkwJzPda/Gs6dVTHIk+KdPYDzuo1b1jPIV6Fzx8DzkpjbV64dPYmbV+mRGq+bkcF/GA+IuApSxAPhecJhF8mIuqHzD2PtsvadBladBladBladBladBladBladBladBYFIeo8/eA+It5cBPladBladBladBladBladBliRkqJwD5cBPladBladBladBladtLHIu+kSajgtsvadBladBladBladBliIu+kduc4hec1SxANhPj1dD5cBPladBladBladBladBladBlizuoPIGLaIV6FSxALhec1wk6FIBdahkTmbf06dVIHbVjNzuoPIGLPS+YmbfcfzfAjSB64hGA+zt5cBPladBladBladBladBladBliIu+kduc4hec1SxAJz7Y8wB87bV68bBdQtsvadBladBladBladBladBladBladtT1buoKduc4hec1SxAJz7Y8wB87bV68bB8jIemjdPYJItjPhVo1/G0NhGqyzk5TdD5i/xYDzuo1b1jPIV2Nbk64/GsaIV2N/knpdD5iRkyQdtLHbfYmzD5cBPladBladBladBladBladBladBlaSu+KbOnjdOqpbuU6d7YmbfcfzfAydPYKhG8+SxALhec1wk6FIBda/Gs6d7YmbfcfzfAydPYDzuo1b1jPIV6Fzx8DzkpjbV64dajgdBladBladBladBladBladBladBladBlaheAJhx8yIecDbV+PIGqPCMjPhVo1/G0NhGqyzk5TdPYFIeo8/eA+It5cBPladBladBladBladBladBliRkqJwD5cBPladBladBladBladtLHIu+kSajgdBladBladBladBlaSuAFSajgtsvadBladBladBladBlihknKwunFSajgdBladBladBladBladBladtTPweqjzk5a/Gs6dVTHhGqBwu5PdOqpbuU6d7c8hV8JwBdahkTmbf06dVAjzPYPwu5NbOAJzGoFCxdQtsvadBladBladBladBladBladBladtT1buoKduc4hec1SxA1bu+KzVnFRGAHbVq+bPY1bu+KzVnFRGAHbVq+bP81zxdabV64IMjPbfqmwOn1dPYmbV+mRGmJIuq+zDjPwOA8IxdQSB61buoKSajgdBladBladBladBladBladBladBlibfYmzPYDzuo1b1jPbfdNzkp4CxdQMu6mIu+KIF5KRDLHbfYmzD5cBPladBladBladBladBladBliRkA8wOqHzD5cBPladBladBladBladtLHhknKwunFSajgdBladBladBliRkIHbVjQtsvadBlaSB6y/ehQtsvadBlaSOcDbV+LwBY1bV06dVmjwOY13PiHhkqKRVJ1Iun4/eIFRVp+wB6KbujHhV6HwOcjbVoLstUK0F5LRkqJbfsH/70HhV6HwOcjbVoLRVA8zVq4IxpN/G5K/70XdD5iRfcDbV+Lwt5cBDLHhV6yCM5cBajgSB6vwu84SajgtsvibfqpzuUQtsvadBlaRVAjzP8mzV+Nheq+IBYWtsvadBladBladuAmhkN7bV68zVsNhk64zfdrdB0L0twPIVhWtsvadBladBladucHzu6F3PYf/u+jIM4cBPladBladBlahV6FIunF3PYKzkp+3LjgdBladBladBYDweA1zfdrdOYH/GpjIedWtsvadBlaEsjgSB61wO+4IM5cBajgSOcDbV+Lwt5cBPladBYyzkc8zGnKwBp7IeqozunNIGpjs7+AIBmbAkTHhGqBwupbAFyKIu+1hGA4IGsaSxYjb7n+3LjgtsvadBlabknjnu+NIG68wBavgxl6SPYWtsvadBladBladuqHhfnNIGpjRVw+w2n4IG8+z7qBCU+ygoL7zu6mI2Ajz+L7gxpy/ecmhVT+IBl6duImzOc+3LjgdBladBladBYyzkc8zGnKwBp7IeqozunNIGpjs7+AIBmbAkTHhGqBwupbAFyKhkTmbfc3hG8+dtjaeBwPwu5ah7qKRGoK/G8mwunyduAjzP8mzV+Nheq+IB85eBbWtsvadBladBladOc+woqJzGnHwesvgByaSM5aCLjgdBladBladBladBlaIu6DwG8+z7sKIknjqGT+zGnKw2ApxGsveBw4zkoys7qKeBbJRVc4hec1MVoNIxl6doL7h7qKduAjzP8mzV+Nheq+IBYPwu5NbOAJzGoFCxYPwu5NhGpJzGojIGsNCoL73LjgdBladBladBladBlaIu6DwG8+z7sKIknjqGT+zGnKw2ApxGsveBw4zkoys7qKeBbJRV+KzVnFxoqcMBl6doL7SOcLhG5ahkTmbf06dVAjzP8JzVp+bPjNwV+1/GA4IxdQsGpNIGTyIG5iRfcLhG5QSOcLhG5ahkTmbf06dVAjzP8JzVp+bPjN/u+yIunKdD5i/xYDzuo1b1jPIV2Nbk64/GsaIV2NbV+7/OsNwuiNh7AmhkN+wBdQSB6JSDLHbfYmzDpbA14cBPladBladBlaExLa0ByWdBiHdt2L0tlaMG+4zu+1IGN8zVq+zPl6dt2aUkn9wGpyIsjgdBladOj4dt2L0tlJ3FlHRFlT0tlLd28JzuTJbkn9wGpyIG5aSxlTdoc+/fnKIuUcBajgtsviRfcDbV+Lwt5cBajgA14g/GpDzOnyIxl7bknjwu+KIf0HIV6HwunFR7YvbBbWBD4=]hpLPmF\e[zJBK
Function Calls
time | 2 |
fopen | 1 |
fread | 3 |
strtr | 2 |
fclose | 1 |
urldecode | 1 |
str_replace | 1 |
base64_decode | 3 |
Stats
MD5 | 0d8b07874cc09b7384d120d885f01b08 |
Eval Count | 3 |
Decode Time | 156 ms |