Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<input type="text" name="username" class="form-control" style="max-width: 30%;" id="userna..
Decoded Output download
<? <input type="text" name="username" class="form-control" style="max-width: 30%;" id="username" placeholder="Your Username" required> <div class="form-group"> <div class="row" align="center"> <form id="login-form" action="" method="POST" role="form" style="background-color:#f8fbfe"> <div class="col-lg-12 mt-5 mt-lg-0"> <div class="row mt-2"> </div> <p>Use the form below to log into your account.</p> <h2>Login</h2> <div class="section-title mt-5" > <div class="container" data-aos="fade-up"> <section id="login" class="contact section-bg" style="padding: 160px 0"> <!-- ======= Login Section ======= --> </header><!-- End Header --> </div> </nav><!-- .navbar --> <i class="bi bi-list mobile-nav-toggle"></i> </ul> <li><a class="nav-link scrollto action" href="/login.php">Login</a></li> <li><a class="nav-link scrollto" href="/#contact">Contact</a></li> <li><a class="nav-link scrollto" href="/#pricing">Pricing</a></li> <li><a class="nav-link scrollto" href="/#team">Team</a></li> <li><a class="nav-link scrollto" href="/#services">Services</a></li> <li><a class="nav-link scrollto" href="/#about">About</a></li> <li><a class="nav-link scrollto" href="/#hero">Home</a></li> <ul> <nav id="navbar" class="navbar"> <!-- <a href="index.html" class="logo"><img src="../assets/img/logo.png" alt="" class="img-fluid"></a>--> <!-- Uncomment below if you prefer to use an image logo --> <h1 class="logo"><a href="index.html">BASE</a></h1> <div class="container d-flex align-items-center justify-content-between"> <header id="header" class="fixed-top"> <!-- ======= Header ======= --><body></head> <link href="../assets/css/style.css" rel="stylesheet"> <!-- Template Main CSS File --> <link href="../assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet"> <link href="../assets/vendor/remixicon/remixicon.css" rel="stylesheet"> <link href="../assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet"> <link href="../assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet"> <link href="../assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet"> <link href="../assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link href="../assets/vendor/aos/aos.css" rel="stylesheet"> <!-- Vendor CSS Files --> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet"> <!-- Google Fonts --> <link href="../assets/img/apple-touch-icon.png" rel="apple-touch-icon"> <link href="../assets/img/favicon.png" rel="icon"> <!-- Favicons --> <meta content="" name="keywords"> <meta content="" name="description"> <title>Welcome to Base</title> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <meta charset="utf-8"><head><html lang="en"><!DOCTYPE html>?>} } print("<script>alert('Wrong Username or Password')</script>"); } else { } print("<script>alert('Wrong Username or Password')</script>"); } else { header("Location: /upload.php"); $_SESSION['user_id'] = 1; if (strcmp($password, $_POST['password']) == 0) { if (strcmp($username, $_POST['username']) == 0) { require('config.php');if (!empty($_POST['username']) && !empty($_POST['password'])) {session_start();<?phpad</html></body> <script src="../assets/js/main.js"></script> ?>
Did this file decode correctly?
Original Code
<input type="text" name="username" class="form-control" style="max-width: 30%;" id="username" placeholder="Your Username" required> <div class="form-group"> <div class="row" align="center"> <form id="login-form" action="" method="POST" role="form" style="background-color:#f8fbfe"> <div class="col-lg-12 mt-5 mt-lg-0"> <div class="row mt-2"> </div> <p>Use the form below to log into your account.</p> <h2>Login</h2> <div class="section-title mt-5" > <div class="container" data-aos="fade-up"> <section id="login" class="contact section-bg" style="padding: 160px 0"> <!-- ======= Login Section ======= --> </header><!-- End Header --> </div> </nav><!-- .navbar --> <i class="bi bi-list mobile-nav-toggle"></i> </ul> <li><a class="nav-link scrollto action" href="/login.php">Login</a></li> <li><a class="nav-link scrollto" href="/#contact">Contact</a></li> <li><a class="nav-link scrollto" href="/#pricing">Pricing</a></li> <li><a class="nav-link scrollto" href="/#team">Team</a></li> <li><a class="nav-link scrollto" href="/#services">Services</a></li> <li><a class="nav-link scrollto" href="/#about">About</a></li> <li><a class="nav-link scrollto" href="/#hero">Home</a></li> <ul> <nav id="navbar" class="navbar"> <!-- <a href="index.html" class="logo"><img src="../assets/img/logo.png" alt="" class="img-fluid"></a>--> <!-- Uncomment below if you prefer to use an image logo --> <h1 class="logo"><a href="index.html">BASE</a></h1> <div class="container d-flex align-items-center justify-content-between"> <header id="header" class="fixed-top"> <!-- ======= Header ======= --><body></head> <link href="../assets/css/style.css" rel="stylesheet"> <!-- Template Main CSS File --> <link href="../assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet"> <link href="../assets/vendor/remixicon/remixicon.css" rel="stylesheet"> <link href="../assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet"> <link href="../assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet"> <link href="../assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet"> <link href="../assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link href="../assets/vendor/aos/aos.css" rel="stylesheet"> <!-- Vendor CSS Files --> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet"> <!-- Google Fonts --> <link href="../assets/img/apple-touch-icon.png" rel="apple-touch-icon"> <link href="../assets/img/favicon.png" rel="icon"> <!-- Favicons --> <meta content="" name="keywords"> <meta content="" name="description"> <title>Welcome to Base</title> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <meta charset="utf-8"><head><html lang="en"><!DOCTYPE html>?>} } print("<script>alert('Wrong Username or Password')</script>"); } else { } print("<script>alert('Wrong Username or Password')</script>"); } else { header("Location: /upload.php"); $_SESSION['user_id'] = 1; if (strcmp($password, $_POST['password']) == 0) { if (strcmp($username, $_POST['username']) == 0) { require('config.php');if (!empty($_POST['username']) && !empty($_POST['password'])) {session_start();<?phpad</html></body> <script src="../assets/js/main.js"></script>
Function Calls
None |
Stats
MD5 | d48bfdb7a35e9f25e69328d72408786f |
Eval Count | 0 |
Decode Time | 65 ms |