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 if (isset($_GET['src'])) { highlight_file('index.php'); die()..

Decoded Output download

<?php 
    if (isset($_GET['src'])) { 
        highlight_file('index.php'); 
        die(); 
    } 
 
    if ($_GET['get_param'] === "Hello world!") { 
        echo file_get_contents("/flag.txt"); 
        die(); 
    } 
?>

Did this file decode correctly?

Original Code

<?php
    if (isset($_GET['src'])) {
        highlight_file('index.php');
        die();
    }

    if ($_GET['get_param'] === "Hello world!") {
        echo file_get_contents("/flag.txt");
        die();
    }
?>

Function Calls

highlight_file 1

Variables

None

Stats

MD5 829ded7e59ef5b7ffbcb8c9e08b60d19
Eval Count 0
Decode Time 94 ms