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 // Start the session session_start(); // If the user is logged in if (isset(..

Decoded Output download

<?php 
 
// Start the session 
session_start(); 
 
// If the user is logged in 
if (isset($_SESSION['user'])) { 
    // Redirect to the admin panel 
    header('Location: dashboard.php'); 
} 
?> 
<!DOCTYPE html> 
<html lang="tr"> 
<head> 
    <meta charset="UTF-8"/> 
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/> 
    <title>cat /etc/passwd</title> 
    <!-- TailwindCSS --> 
    <script src="https://cdn.tailwindcss.com"></script> 
    <!-- JQuery --> 
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script> 
    <!-- Toastr JS --> 
    <script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script> 
    <!-- Toastr CSS --> 
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css"/> 
    <!-- Custom JS --> 
    <script src="src/js/login.js"></script> 
    <!-- Favicon --> 
    <link rel="icon" href="src/icon/favicon.ico" type="image/x-icon"/> 
</head> 
 
<div class="flex flex-col justify-center items-center min-h-screen"> 
    <div class="w-full max-w-md bg-gray-100 rounded-md shadow-lg"> 
        <div class="px-12 py-8"> 
            <form class="mb-0" id="login-form"> 
                <div class="mb-4"> 
                    <label 
                            class="block text-gray-700 text-sm font-bold mb-2" 
                            for="username" 
                    > 
                         
                    </label> 
                    <input 
                            class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" 
                            id="username" 
                            type="text" 
                            placeholder="Kullanc Adnz" 
                    /> 
                </div> 
                <div class="mb-6"> 
                    <label 
                            class="block text-gray-700 text-sm font-bold mb-2" 
                            for="password" 
                    > 
                        
                    </label> 
                    <input 
                            class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 mb-3 leading-tight focus:outline-none focus:shadow-outline" 
                            id="password" 
                            type="password" 
                            placeholder="ifreniz" 
                    /> 
                </div> 
                <row> 
				<div class="flex justify-center"> 
                    <button 
                            class="bg-gray-600 hover:bg-gray-800 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline transition duration-300 ease-in-out" 
                            type="submit" 
                    > 
                        Login 
                    </button> 
                </div> 
					<div class="flex justify-center"> 
                    <button 
                            class="" 
                            type="submit" 
                    > 
                        
						<a href="https://t.me/otto_s1" target="_blank" class="underline"> 
     				TELEGRAM 
                </a> 
                    </button> 
                </div> 
				</row> 
            </form> 
        </div> 
    </div> 
     
</div> 
</body> 
</html>

Did this file decode correctly?

Original Code

<?php

// Start the session
session_start();

// If the user is logged in
if (isset($_SESSION['user'])) {
    // Redirect to the admin panel
    header('Location: dashboard.php');
}
?>
<!DOCTYPE html>
<html lang="tr">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>cat /etc/passwd</title>
    <!-- TailwindCSS -->
    <script src="https://cdn.tailwindcss.com"></script>
    <!-- JQuery -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
    <!-- Toastr JS -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
    <!-- Toastr CSS -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css"/>
    <!-- Custom JS -->
    <script src="src/js/login.js"></script>
    <!-- Favicon -->
    <link rel="icon" href="src/icon/favicon.ico" type="image/x-icon"/>
</head>

<div class="flex flex-col justify-center items-center min-h-screen">
    <div class="w-full max-w-md bg-gray-100 rounded-md shadow-lg">
        <div class="px-12 py-8">
            <form class="mb-0" id="login-form">
                <div class="mb-4">
                    <label
                            class="block text-gray-700 text-sm font-bold mb-2"
                            for="username"
                    >
                        
                    </label>
                    <input
                            class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
                            id="username"
                            type="text"
                            placeholder="Kullanc Adnz"
                    />
                </div>
                <div class="mb-6">
                    <label
                            class="block text-gray-700 text-sm font-bold mb-2"
                            for="password"
                    >
                       
                    </label>
                    <input
                            class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 mb-3 leading-tight focus:outline-none focus:shadow-outline"
                            id="password"
                            type="password"
                            placeholder="ifreniz"
                    />
                </div>
                <row>
				<div class="flex justify-center">
                    <button
                            class="bg-gray-600 hover:bg-gray-800 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline transition duration-300 ease-in-out"
                            type="submit"
                    >
                        Login
                    </button>
                </div>
					<div class="flex justify-center">
                    <button
                            class=""
                            type="submit"
                    >
                       
						<a href="https://t.me/otto_s1" target="_blank" class="underline">
     				TELEGRAM
                </a>
                    </button>
                </div>
				</row>
            </form>
        </div>
    </div>
    
</div>
</body>
</html>

Function Calls

header 1
session_start 1

Variables

None

Stats

MD5 6ee8aee832eb56c04be7a1b123aec870
Eval Count 0
Decode Time 48 ms