[PHP] PHP Decoder
<?php
error_reporting(0);
//declare variable
$doc=$_SERVER['SCRIPT_NAME'];
$guide ='<br> #guide..<p>Masuukkinn yg ada di dalem kurung aja kk.. contohnya:</p><p>eval(gzinflate(base64_decode("<font color=red>HJ3HjuTMco</font>")));<p>hlaaa itu yg dimasukin yang merah aja ya kk.. <p>huhhhh :((<p><b>Note: kalo Resultnya kosong berarti formatnya salah kk.. ato mungkin scriptnya udah lelah kk :p</b>';
$enc0ded_string = $_POST['source'];
//filter sederhana, coz gw kagak tau cara filter string "<?php" heheheh :p
if(preg_match ("/eval/", $_POST['source'])){
echo "error!!!$guide<br><a href=$doc>Backk!!</a>";exit;
}
else
true;
//masih declare :o
$txtfilez='dec0de.txt';
$txtfile= ".$txtfilez";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>php dec[0]der</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body{
background:#000000;
font-size:11px;
font-family:Tahoma,Verdana,Arial;
color:#fff;
}
a:link {
color: #4C83AF;
text-decoration: none;
}
a:visited {
color: #4C83AF;
text-decoration: none;
}
a:hover, a:active {
color: red;
text-decoration: underline;
}
.footer{
text-align:right;
padding:0 16px;
font-size:10px;
letter-spacing:2px;
color:#999999;
}
.footer:hover{
text-align:right;
padding:0 16px;
font-size:10px;
letter-spacing:2px;
color:#999999;
text-decoration:underline;
}
#formz{
-moz-border-radius: 10px;
border-radius: 10px;
border:1px solid #4C83AF;
padding:4px 8px;
line-height:16px;
background:#111111;
color:#aaa;
margin:0 0 8px 0;
text-decoration:none;
}
.inputzbut{
font-size:11px;
background:#191919;
color:#4C83AF;
margin:0 4px;
border:1px solid #222222;
}
.mybox{
-moz-border-radius: 10px;
border-radius: 10px;
border:1px solid #4C83AF;
padding:14px 8px;
margin:4px 0 8px 0;
}
</style>
<link rel="shortcut icon" href="http://devilzc0de.org/forum/favicon.ico">
</head>
<body>
<h3><a href="?eksien=help">PHP Source dec0der</a></h3>
<table id="formz" align="center"><form action="" method="post" name="ratakan" target="_self">
<tr><td><span class="style2">
<label>enc0ded strings: <br>
<textarea name="source" cols="55" rows="20" class="mybox" required ></textarea>
</label>
</span></td>
</tr>
<tr><td>
<label>dec0de method:</label><br>
<select name="dec0de_type" class="inputzbut">
<option value="1">eval(gzinflate(base64_decode(enc0ded_string)))</option>
<option value="2">eval(gzinflate(str_rot13(base64_decode(enc0ded_string))))</option>
<option value="3">eval(zinflate(str_rot13(base64_decode(str_rot13(gzinflate(base64_decode(enc0ded_string)))))))</option>
</select>
</td>
</tr>
<tr><td><input name="_aso" type="submit" class="inputzbut" value="dec0de"></td></tr>
<?php
//show hide or guide
if(isset($_GET['eksien']) && ($_GET['eksien'] == 'help')){
echo "$guide<br><a href=$doc>Hide</a>";
}
?>
<?php
//masih declaree lageeeee
$devilz=gzinflate(base64_decode($enc0ded_string));
$co=gzinflate(str_rot13(base64_decode($enc0ded_string)));
$de=gzinflate(str_rot13(base64_decode(str_rot13(gzinflate(base64_decode($enc0ded_string))))));
$hasil=fopen($txtfile, 'w');
$result='<a href=".dec0de.txt" id="formz" target="_blank">Result</a>';
//option value = 3 begin
if($_POST['_aso'] == "dec0de"){
if($_POST['dec0de_type'] == "3"){
fputs($hasil, $de);
fclose($hasil);
echo $result;
}
//option value = 1 beginn
elseif($_POST['dec0de_type'] == "1"){
fputs($hasil, $devilz);
fclose($hasil);
echo $result;
}
//option value = 2 begin
elseif($_POST['dec0de_type'] == "2"){
fputs($hasil, $co);
fclose($hasil);
echo $result;
}
}
?>
</form> </table></div>
<p class="footer">EndLess - devilzc0de © <?php echo date('Y'); ?></p>
</body>
</html>
[PHP] PHP Decoder
Reviewed by Nguyen Nam Hong
on
10:52 AM
Rating:
